An agent that only reads documents does little more than a search engine. It becomes useful when it acts, by looking up an order, opening a ticket or moving a delivery date. To do that it has to reach the systems of the company, which makes it an integration problem before it is an AI one.
Three ways to give an agent access
| Approach | What the agent holds | Drawback |
|---|---|---|
| Direct credentials | A database or ERP account | The agent can do everything that account can do |
| A tool written for the agent | A function in the agent's code | The rules live in each agent and nobody sees them as a whole |
| A governed API | A short-lived token for specific APIs | It needs a platform to issue, check and trace tokens |
Only the third option is likely to get past a security review for production use, and it happens to be what an integration platform already does for ordinary applications.
What the platform has to provide
An identity for the agent
The agent is registered as a client in its own right. Its tokens list the APIs it may call, so a token issued for the orders API is refused by the billing API.
POST https://auth.example.com/api/oidc/token -> a token for the audience of the orders API
GET https://orders.example.com/orders/42
Authorization: Bearer <token> -> 200, traced end to end Limits for when it loops
An agent that misreads an answer may retry indefinitely. With a rate limit and a timeout on the gateway, such a loop ends in a few refused calls rather than an overloaded ERP.
A record of what it did
When an agent changes a delivery date, someone will eventually ask why. The answer is a trace that runs from the gateway to the system it changed and is tied to the identity of the agent.
What is available today
Camel X already provides client identities with audiences, policies on the gateway and end-to-end traces. It does not yet publish integrations as tools through an agent protocol, nor does it filter field by field what an agent may read. We are working on both, and would rather say so plainly than describe features that do not exist yet.