Skip to main content

Webex Agent

  • 🤖 Webex Agent is an LLM-powered agent built using the LangGraph ReAct Agent workflow and Webex MCP Server.
  • 🌐 Protocol Support: Compatible with A2A protocol for integration with external user clients.
  • 🛡️ Secure by Design: Enforces Webex API token-based RBAC and supports secondary external authentication for strong access control.
  • 🏭 MCP Server: The MCP server is generated by our first-party openapi-mcp-codegen utility, ensuring version/API compatibility and software supply chain integrity.
  • 🔌 MCP Tools: Uses langchain-mcp-adapters to glue the tools from Webex MCP server to LangGraph ReAct Agent Graph.

🏗️ Architecture

Detailed Sequence Diagram with Agentgateway

System Diagram

Sequence Diagram


⚙️ Local Development Setup

Use this setup to test the agent against Webex.

🔑 Get Webex API Token

  1. Go to Webex Developer Portal
  2. Create a new app or use an existing one
  3. Generate a bot token with appropriate permissions
  4. Save the token for your .env file

Add to your .env:

WEBEX_TOKEN=<your_token>
WEBEX_API_URL=https://webexapis.com/v1

Local Development

# Navigate to the Webex agent directory
cd ai_platform_engineering/agents/webex

# Run the MCP server in stdio mode
make run-a2a