Overview
StackOne provides an A2A agent for your linked StackOne accounts at:Authorization header with base64-encoded API key) and your StackOne account ID (x-account-id header), with the exception of the public agent card routes such as /.well-known/agent-card.json, which need no authentication.
This guide walks you through the basic A2A operations to help you understand the protocol before integrating with your preferred agent framework.
Quick Testing Options
Choose your preferred testing method to get started with StackOne’s A2A agents:🎮 StackOne A2A UI (Recommended)
🎮 StackOne A2A UI (Recommended)
Interactive Testing Interface
You can go to a2a-ui.stackone.com and interact with StackOne agents directly in your browser.Getting Started:- Go to a2a-ui.stackone.com
- Click the gear “⚙️” icon and enter your StackOne API key and account ID. For multiple accounts, enter the account IDs comma-separated with no spaces (for example
id1,id2). Click anywhere outside the modal to dismiss it (see our Authentication Guide for details) - Click the ”+ Agent” button, enter the StackOne agent card URL
https://a2a.stackone.com/.well-known/agent-card.json, and click “Add Agent” - Start chatting with the agent!
The agent’s skills reflect your account’s configured integrations and enabled actions. The UI reads the public agent card and then fetches your account-specific skills using the credentials you entered.
💻 cURL Testing (Command Line)
💻 cURL Testing (Command Line)
Programmatic Testing
Perfect for developers who prefer command-line tools or want to integrate A2A into scripts.Step 1: Get the Agent Card
StackOne serves two agent cards. The public discovery card at/.well-known/agent-card.json describes the agent in general and needs no authentication; it advertises supportsAuthenticatedExtendedCard: true. The authenticated extended card at /agent/authenticatedExtendedCard is specific to your account and lists the skills for your connected integrations. A2A clients such as the A2A UI and the A2A SDKs read the public card and then fetch the extended card automatically.Fetch the public discovery card (no authentication required):Agent Card Routes:
- For connecting to agents: point your client at
https://a2a.stackone.com/.well-known/agent-card.json. A2A clients read this public card and then fetch your account-specific skills from the authenticated extended card athttps://a2a.stackone.com/agent/authenticatedExtendedCard. - For viewing a connector’s skills: connector-specific routes like
https://a2a.stackone.com/hibob/agent-card.jsonare public reference cards for inspecting one connector’s skills. They are for reference only and should not be used for agent connections.
Step 2: Send a Message
Themessage/send method sends a message to an agent to initiate a new interaction or continue an existing one. Each message requires a unique messageId (a UUID):Pass
"configuration": { "blocking": false } and poll tasks/get continuously for long-running operations.Step 3: Get Task Status
Usetasks/get to retrieve the current state of a task (useful for long-running operations):Next Steps
Now that you understand the basic A2A operations, choose your integration path:A2A SDK
Use the official A2A SDKs to build your own tools
Agent Guides
Build agents in frameworks with A2A integrations
Common Issues & Solutions
401/403 Authentication Error
401/403 Authentication Error
1
Verify your API key is correctly base64 encoded in the Authorization header
2
Confirm that the
x-account-id header matches your linked account ID, and ensure the account belongs to the same project as your API key3
Remember: A2A does not support query parameters for authentication, only headers
Agent has no skills
Agent has no skills
1
Check that the account is active (i.e., is not in an error state or otherwise disabled)
2
Verify your integrations are properly configured (agent skills are generated based on the enabled actions for the integration configuration associated with the linked account)