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
- Go to Webex Developer Portal
- Create a new app or use an existing one
- Generate a bot token with appropriate permissions
- 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