Hi everyone,
We’re connecting Rovo to an external AI agent over A2A, using the rovo:agentConnector module. The agent’s API needs an API key on every request, and each customer has their own key.
As far as we can tell, the manifest only lets us say where the agent is. There’s no way to say what to send with each request. The connector points to an endpoint, the endpoint points to a remote, and the remote has a baseUrl:
rovo:agentConnector:
- key: my-agent-connector
protocols:
agent2Agent:
version: "1.0"
jsonRpcTransport:
endpoint: my-agent-endpoint
endpoint:
- key: my-agent-endpoint
remote: my-agent-remote
remotes:
- key: my-agent-remote
baseUrl: https://agent.example.com
We couldn’t find a way to:
- add a custom header, such as
x-apikey or Authorization: Bearer … - use a value stored per installation, such as an API key the admin saves in our app’s settings
- add query parameters or any other request-level settings
The remote’s auth options (appSystemToken / appUserToken) send an Atlassian token, which the external agent doesn’t recognise. And because the manifest is shared by every installation, we couldn’t hard-code one key there even if we wanted to.
Our current workaround: we point the connector at a Forge web trigger. The trigger hands each request to a Forge container, which reads the customer’s API key from Forge secret storage and calls the agent itself. It works, but it adds a lot of moving parts to what should be a direct connection:
- a web trigger and a container
- verifying the Forge Invocation Token
- running the A2A task flow ourselves, because web triggers can’t stream
- a per-site URL setup step for admins
Questions:
- Is there a supported way to send custom headers or credentials from
rovo:agentConnector to the external agent that we’ve missed? - If not, is this on the roadmap? For example, headers on the remote that can read a value from Forge storage, or an admin-configurable credential next to the configurable remote URL.
- Has anyone found a simpler pattern for agents that need per-customer API keys?
Thanks!