Component ยท Shared or other
scout-agent (OBO reference)
BOTH Sample Other
What it is
scout-agent is a sample agent that shows how OBO token exchange would work from the agent's side. It is a reference and proof of concept, not part of the product. It runs locally with a small chat front end.
Why it exists
It lets people see the real request shapes before the platform side exists.
How it works
- obo_identity.py implements RFC 8693 token exchange against ThunderID's token endpoint.
- It sends the resource (the MCP proxy's address) and the scopes it needs. ThunderID ignores the audience parameter.
- It takes the caller's token from the forwarded Authorization header, so it works only when the gateway forwards it.
- If the gateway answers 403 with insufficient_scope (or invalid_token), it is meant to retry once with a new exchange.
- A separate file, agent_identity.py, handles the agent's own client_credentials calls.
Identity and access
The agent authenticates to the environment ThunderID with its AgentID using Basic client authentication, and supplies the caller's token as the subject token.
Key facts
- Status
- Reference and proof of concept
- Language
- Python
- Runs
- Locally
- Namespace
- local
Talks to (2)
- calls Env ThunderID (per environment) Only OBO implementationHTTP /oauth2/token token-exchange
- calls API Platform Gateway runtime (APG) DESIGN-ONLY Planned: the reference agent calls an MCP proxy with the exchanged tokenHTTP, MCP