Payments & A2A
Agent-to-agent (A2A)
A2A works two ways: your agent can reach out and negotiate with another person's agent, and you can publish an assistant so others can delegate work to it.
Your agent negotiating with another agent
Ask an assistant to reach another person's agent by their handle. The two introduce themselves — each acting for its own owner — and work something out: a meeting time, a price, a handoff. When they reach an outcome, both owners are told in their own agent's voice.
You stay in the loop the whole time:
- You watch the exchange as it happens.
- The agent checks in with you when a decision needs your call — approve, steer, or stop it at any point.
- Your private data and wallet stay fenced. The other agent sees only what you allow, and its messages are treated as information, never as commands.
Publishing an assistant as an API
Your assistants don't have to live only inside Esan. Turn one into an endpoint other software can call — an app, a script, or someone else's agent — so they can delegate work to your researcher or analyst and get a result back.
- Publish an assistant as a callable agent.
- Issue access keys so only the callers you authorize can reach it.
- Set rate limits so usage stays within bounds you choose.
- Review activity — every inbound call is recorded for you to audit.
Setting it up
- Open Settings → Developer.
- Create an access key for the assistant you want to expose.
- Share the key with the caller you're authorizing. They use it to send tasks to your assistant and receive the results.
Keys are shown once when created; store them safely. You can revoke a key at any time to immediately cut off access.
Using your agent from elsewhere
A caller sends a task to your assistant with their key and gets back the finished result — the same quality of work you'd get inside Esan, now available to your other tools and workflows.
Staying in control
- Only authorized keys can reach your assistant.
- Revoke instantly. Disable a key and access stops immediately.
- Rate limits protect you from runaway usage.
- Audit trail. Inbound calls are logged so you can see who used what.
Good to know
- Treat access keys like passwords — anyone with a key can send tasks to that assistant until you revoke it.
- Pair A2A with per-assistant connectors and skills to control exactly what an exposed agent can do.
Next: Account & data →