Component ยท Shared or other
console-agent
What it is
The console agent is the chat assistant in the Choreo Cloud console. It is one multi-tenant service on cloud-cp that answers every organization. It calls the platforms' MCP servers on behalf of the signed-in user, among them the Agent Platform servers agent-platform and agent-observability, so a user can ask for things in plain language and approve the changes.
It is a personal assistant with a company card that works only as far as your own spending limit, and who asks you before signing anything.
Why it exists
People can manage the platform by chatting instead of searching through console pages. Running as the user keeps the assistant inside the user's own permissions.
How it works
- The console's gateway signs the chat panel in on the resource urn:wso2:cloud. The agent checks the token (signature, issuer, audience, ouId, its own client) and uses the token's ouId as the tenant.
- For each platform it needs, the agent exchanges the user's token (RFC 8693 token exchange) for one on that platform's resource. The agent's own client credentials token is the actor.
- ThunderID keeps only the scopes the user holds. If none are left, that platform is skipped.
- In the default permission mode (ask-all) every platform call asks the user first, reads included. A destructive tool asks in every mode until the user allows it for that conversation.
- Conversations are stored in Postgres, and the language model is reached through the AI gateway.
Identity and access
The agent has its own client (WSO2_CLOUD_CONSOLE_AGENT) and acts as an actor in each token exchange. The tokens it presents to platforms name both the user and the agent.
Key facts
- Runs on
- cloud-cp, project console-agent
- Stack
- Hono and AI SDK server
- Tenant
- The ouId of the token
- Platform tokens
- RFC 8693 exchange, agent as actor
- Edition
- Choreo Cloud (SaaS)
- Namespace
- cloud-cp
Talks to (1)
- calls AMS MCP server (/mcp) Chat agent manages Agent ManagerMCP streamable HTTP