Use the narrowest credential
- Put an app key only in the service that creates runs.
- Put a worker key only in the process that executes private tools.
- Never use a console session or platform-admin token in application code.
- Use separate credentials for staging and production.
- Rotate app and worker keys independently.
--key in a shared environment.
Authorize inside every tool
Agent-generated arguments are untrusted. Validate every value before using it in a query, URL, or shell command. When a tool receivescontext, verify that
the requested object belongs to the authenticated tenant.
Grant capability in layers
- A worker registers a manifest.
- A project owner reviews and enables the tool.
- An agent version explicitly includes the tool.
- The tool enforces tenant and object authorization at execution time.

AIR makes the tool source, schema, timeout, and write capability visible before approval.

