Overview
StackOne provides an A2A agent for each integration at:Authorization header with base64-encoded API key) and your StackOne account ID (x-account-id header).
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 Settings “⚙️” icon and enter your StackOne API key and account ID (see our Authentication Guide for details)
- Click the ”+ Agent” button, enter
https://a2a.stackone.com/.well-known/agent-card.json, and click “Add Agent” - Start chatting with the agent!
The response you get from
https://a2a.stackone.com/.well-known/agent-card.json will depend on the Authorization and x-account-id headers you use. The A2A agent is dynamically generated based on your account’s configured integrations and enabled actions.💻 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 an Agent Card
Before interacting with an agent, you can fetch its Agent Card to understand its capabilities, skills, and authentication requirements. Agent Cards are available at the standard.well-known URI path:The response you get from
https://a2a.stackone.com/.well-known/agent-card.json will depend on the Authorization and x-account-id headers you use. The A2A agent is dynamically generated based on your account’s configured integrations and enabled actions.Each StackOne Integration (aka Provider or Connector) has its own A2A agent and corresponding Agent Card with all skills available to view at a URL like
https://a2a.stackone.com/hibob/agent-card.json.Step 2: Send a Message
Themessage/send method sends a message to an agent to initiate a new interaction or continue an existing one: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:SDK Guides
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)