Loading your key…
Copy key
Show key
Keep this private, like a password. Store it in your agent settings, never on a website.
Lost your key or think someone else has it?
Make a new key
Turn off my key
Making a new key turns off the old one right away. You will need to paste the new key into your agent.
Step 2
Add A2EA to your agent
Pick the language your agent is written in. Copy the two snippets: one installs A2EA, the other wraps your agent so each task it runs is measured.
Python
JavaScript / TypeScript
a Install (run once in your terminal) pip install a2ea-py
b Wrap your agent import os
from a2ea import A2EAClient
client = A2EAClient(api_key=os.environ["A2EA_API_KEY"])
@client.track_agent(task_type="invoice_review")
def run_agent(task):
return my_agent(task)
a Install (run once in your terminal) npm install a2ea-sdk
b Wrap your agent import { A2EAClient } from 'a2ea-sdk';
const a2ea = new A2EAClient({ apiKey: process.env.A2EA_API_KEY });
const runAgent = a2ea.wrap(myAgent, { taskType: 'invoice_review' });
await runAgent(task);
Set A2EA_API_KEY to the key from step 1. Change invoice_review to a short name for the job your agent does. Using LangChain, CrewAI or OpenAI Agents? See the ready-made connectors .
Run your agent the way you normally do. A few seconds after it finishes a task, the result shows up on your Overview page.
Workspace Checking…
Key name --
Use it on Your server or computer
Last used --
Tasks received --