Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Andes AppNew to Visual Studio Code? Get it now.
Andes App

Andes App

Latam Airlines

|
2 installs
| (0) | Free
Andes - AI-powered development assistant for LATAM infrastructure
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Andes - A2A Chat Extension

AI-powered development assistant extension for Visual Studio Code, Cursor, and Antigravity that provides a chat interface for interacting with A2A (Agent-to-Agent) agents with real-time streaming feedback.

Tested and verified on:

  • Visual Studio Code 1.98.0+
  • Cursor 1.98.0+
  • Antigravity 1.98.0+

Features

  • Real-time streaming of agent responses (TaskStatusUpdateEvent, TaskArtifactUpdateEvent)
  • Chat interface with message history (user/assistant messages)
  • Progress updates during orchestration
  • Direct connection to A2A agent via Python HTTP server
  • Server-Sent Events (SSE) for true streaming
  • Support for both remote and local agents
  • Automatic server lifecycle management

Prerequisites

Before installing this extension, ensure you have the following installed and configured:

1. Required Software

  • Visual Studio Code (version 1.98.0 or higher) OR Cursor (version 1.98.0 or higher) OR Antigravity (version 1.98.0 or higher)
  • Python 3.8 or higher installed and accessible in your system PATH
  • Node.js 16 or higher (only required for building from source)
  • pip (Python package manager)

Note: This extension has been tested and verified to work on Visual Studio Code, Cursor, and Antigravity editors.

2. Google Cloud Authentication

You must have Google Cloud authentication configured:

# Install Google Cloud SDK if not already installed
# Visit: https://cloud.google.com/sdk/docs/install

# Authenticate with Application Default Credentials
gcloud auth application-default login

Important: This authentication is required for the extension to connect to your A2A agents.

3. Required Python Packages

The extension will automatically install Python dependencies when first used, but you can also install them manually:

pip install -r requirements.txt

The required packages include:

  • fastapi>=0.104.0
  • uvicorn[standard]>=0.24.0
  • python-dotenv>=1.0.0
  • google-adk
  • google-cloud-aiplatform
  • a2a-sdk>=0.3.4
  • httpx>=0.27.0
  • google-auth>=2.23.0

4. A2A Agent Access

You need:

  • Access to a deployed A2A agent (reasoning engine) in Google Cloud Platform
  • The full resource name of your agent in the format:
    projects/YOUR_PROJECT_ID/locations/REGION/reasoningEngines/ENGINE_ID
    
  • Appropriate GCP project permissions to access the agent

Installation

Install the extension from the VS Code Marketplace:

For Visual Studio Code:

  1. Open Visual Studio Code
  2. Click on the Extensions icon in the sidebar (or press Ctrl+Shift+X / Cmd+Shift+X)
  3. In the search box, type: Andes or LatamAirlines.andes-a2a-chat
  4. Click the Install button on the "Andes" extension
  5. Wait for the installation to complete
  6. You may be prompted to reload VS Code - click Reload if prompted

For Cursor:

  1. Open Cursor
  2. Click on the Extensions icon in the sidebar (or press Ctrl+Shift+X / Cmd+Shift+X)
  3. In the search box, type: Andes or LatamAirlines.andes-a2a-chat
  4. If the extension appears, click Install
  5. Note: If the extension doesn't appear in Cursor's marketplace search, try searching using the full extension ID: LatamAirlines.andes-a2a-chat

For Antigravity:

  1. Open Antigravity
  2. Click on the Extensions icon in the sidebar (or press Ctrl+Shift+X / Cmd+Shift+X)
  3. In the search box, type: Andes or LatamAirlines.andes-a2a-chat
  4. Click the Install button on the "Andes" extension
  5. Wait for the installation to complete
  6. You may be prompted to reload Antigravity - click Reload if prompted

Configuration

After installation, you must configure the extension with your A2A agent details.

Step 1: Open Settings

  1. Press Ctrl+, (Windows/Linux) or Cmd+, (macOS) to open Settings
  2. Alternatively:
    • VS Code: Go to File → Preferences → Settings (Windows/Linux) or Code → Preferences → Settings (macOS)
    • Cursor: Go to Cursor → Preferences → Settings (macOS) or File → Preferences → Settings (Windows/Linux)
    • Antigravity: Go to File → Preferences → Settings (Windows/Linux) or Antigravity → Preferences → Settings (macOS)

Step 2: Configure Extension Settings

Search for "Andes" or "a2aAgent" in the settings search box, or manually add the following configuration:

{
  "a2aAgent.resourceName": "projects/YOUR_PROJECT_ID/locations/us-central1/reasoningEngines/YOUR_ENGINE_ID",
  "a2aAgent.projectId": "your-gcp-project-id",
  "a2aAgent.location": "us-central1",
  "a2aAgent.serverPort": 8765,
  "a2aAgent.useRemote": true
}

Step 3: Configuration Parameters Explained

Parameter Type Required Description Example
a2aAgent.resourceName string Yes (if useRemote=true) Full resource name of your A2A agent projects/my-project/locations/us-central1/reasoningEngines/123456789
a2aAgent.projectId string Yes Your GCP project ID my-gcp-project-id
a2aAgent.location string No GCP region where your agent is deployed us-central1 (default)
a2aAgent.serverPort number No Local HTTP server port 8765 (default)
a2aAgent.useRemote boolean No Use remote agent (true) or local agent (false) true (default)

Step 4: Alternative Configuration via Environment Variables

You can also configure the extension using environment variables. Create a .env file in your workspace root or set system environment variables:

REMOTE_AGENT_RESOURCE_NAME=projects/YOUR_PROJECT_ID/locations/us-central1/reasoningEngines/YOUR_ENGINE_ID
PROJECT_ID=your-gcp-project-id
GOOGLE_CLOUD_REGION=us-central1
USE_REMOTE=true
A2A_SERVER_PORT=8765

Note: Settings in VS Code/Cursor configuration take precedence over environment variables.

Step 5: Verify Configuration

  1. Open the Output panel: View → Output (or Ctrl+Shift+U / Cmd+Shift+U)
  2. Select "A2A Agent Chat" from the dropdown
  3. Look for configuration logs that show your settings were loaded correctly

Usage

Opening the Chat Interface

  1. Open the Command Palette:

    • Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS)
    • Or go to View → Command Palette
  2. Type: Open Andes or Andes: Open Chat

  3. Select the command from the dropdown

  4. The chat panel will open in a new editor tab

  5. First-time setup: The Python server will start automatically (this may take a few seconds)

Using the Chat Interface

  1. Type your message in the input field at the bottom of the chat panel

  2. Press Enter or click the send button to submit your query

  3. Watch real-time responses: The agent's response will stream in real-time as it processes your request

  4. View message history: Previous messages are displayed in the chat history

  5. Close the panel: Click the X button on the tab or press Ctrl+W / Cmd+W

Understanding the Interface

  • Chat Messages: User messages appear on the right, agent responses on the left
  • Streaming Indicators: You'll see progress updates as the agent processes your request
  • Status Updates: Real-time status messages appear during agent execution
  • Error Messages: Any errors will be displayed in red

Troubleshooting

Extension Not Installing

Problem: Extension fails to install from marketplace

Solutions:

  1. Verify you're using VS Code 1.98.0+, Cursor 1.98.0+, or Antigravity 1.98.0+
  2. Check your internet connection
  3. Ensure you have a stable internet connection and try again
  4. Check the editor's output panel for error messages

Python Server Not Starting

Problem: Error message: "Failed to start A2A agent server"

Solutions:

  1. Verify Python is installed:

    python3 --version
    # Should show Python 3.8 or higher
    
  2. Check Python is in PATH:

    which python3
    # Should show path to python3 executable
    
  3. Install Python dependencies:

    pip install -r requirements.txt
    

    Navigate to the extension directory first (usually in ~/.vscode/extensions/ or ~/.cursor/extensions/)

  4. Check extension logs:

    • Open Output panel → Select "A2A Agent Chat"
    • Look for error messages

Configuration Errors

Problem: "Resource name is required" or "Invalid resourceName format"

Solutions:

  1. Verify a2aAgent.resourceName is set in settings
  2. Check the format matches: projects/PROJECT_ID/locations/REGION/reasoningEngines/ENGINE_ID
  3. Ensure there are no extra spaces or quotes in the configuration
  4. Verify a2aAgent.useRemote is set to true if using a remote agent

Authentication Errors

Problem: "Authentication failed" or "Permission denied"

Solutions:

  1. Re-authenticate with Google Cloud:

    gcloud auth application-default login
    
  2. Verify you have access to the GCP project:

    gcloud projects list
    
  3. Check your GCP project permissions:

    • Ensure you have at least "Viewer" role on the project
    • Verify you have access to the reasoning engine resource
  4. Verify project ID is correct:

    • Check a2aAgent.projectId matches your actual GCP project ID

Connection Errors

Problem: "Connection refused" or "Cannot connect to agent"

Solutions:

  1. Verify agent resource name is correct:

    • Check the full resource name in GCP Console
    • Ensure region matches (a2aAgent.location)
  2. Check network connectivity:

    # Test if you can reach Google Cloud APIs
    curl https://aiplatform.googleapis.com
    
  3. Verify agent is deployed and running:

    • Check GCP Console → Vertex AI → Reasoning Engines
    • Ensure the agent exists and is accessible
  4. Check firewall/proxy settings:

    • Ensure your network allows connections to Google Cloud APIs
    • Configure proxy if required

No Streaming / No Response

Problem: Chat interface opens but no response from agent

Solutions:

  1. Check server is running:

    • Look for "Python Server Started" message in Output panel
    • Check for any error messages
  2. Verify server port is available:

    • Default port is 8765
    • Change a2aAgent.serverPort if port is in use
  3. Check browser console:

    • Open Developer Tools: Help → Toggle Developer Tools
    • Look for errors in the Console tab
  4. Review server logs:

    • Check Output panel → "A2A Agent Chat"
    • Look for server startup messages and errors

Extension Not Activating

Problem: Extension installed but command not available

Solutions:

  1. Reload the editor:

    • Press Ctrl+Shift+P / Cmd+Shift+P
    • Type: Developer: Reload Window
    • Press Enter
  2. Check extension is enabled:

    • Go to Extensions panel
    • Find "Andes"
    • Ensure it's enabled (not disabled)
  3. Check activation events:

    • Extension activates on startup
    • Wait a few seconds after opening VS Code/Cursor/Antigravity

Architecture

Components

  1. VS Code/Cursor Extension (TypeScript)

    • Manages WebView panel for chat interface
    • Handles user interactions and commands
    • Manages Python server lifecycle
    • Communicates with Python server via HTTP
  2. Python HTTP Server (server.py)

    • FastAPI server with SSE (Server-Sent Events) support
    • A2A SDK client integration
    • Google Cloud authentication
    • Streams agent events to WebView in real-time
  3. WebView UI (chatPanel.ts)

    • Chat interface HTML/CSS/JavaScript
    • Message rendering and history
    • Real-time updates via SSE
    • User input handling

Data Flow

  1. User types message in WebView chat interface
  2. Extension sends HTTP POST request to Python server
  3. Python server queries A2A agent using A2A SDK
  4. Server streams events (TaskStatusUpdateEvent, TaskArtifactUpdateEvent) via SSE
  5. WebView receives events and updates UI in real-time
  6. User sees streaming response as agent processes the request

Support

For issues, questions, or contributions:

  1. Check the Troubleshooting section above
  2. Review extension logs in the Output panel
  3. Check server logs in the logs/ directory (if accessible)
  4. Contact your internal support team

License

Internal use only - LATAM Airlines

Version History

See the extension's version history in the VS Code Marketplace.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft