Built-in Mock Agent
Agent Explorer includes a simple built-in mock agent for quick testing without any setup.

Setup
Create a project with this URL:
http://localhost:3000/api/mock-agent
The mock agent provides:
- A valid AgentCard at
/api/mock-agent/.well-known/agent-card.json - Message sending with A2A 1.0
SendMessageand legacy 0.3message/send - Synthetic get/cancel task responses for quick client testing
- Compatibility with older sample callers: omitted message IDs are generated automatically, and
message/streamremains an alias that returns one JSON response (not an SSE stream)
AgentCard Capabilities
The built-in mock agent advertises:
- Streaming: Disabled
- Push Notifications: Disabled
Special Commands
Send these text commands to trigger specific behaviours:
| Command | Behaviour |
|---|---|
delay N | Add N seconds delay (max 10s). E.g., delay 3 |
status STATE | Set task state. E.g., status working |
simulate error | Return a simulated error response |
| Any other text | Return Echo: followed by the message text |
Supported Status States
status working, status completed, status failed, status input-required, status canceled, status submitted
Endpoints
| Endpoint | Method | Description |
|---|---|---|
/api/mock-agent | POST | Send a message |
/api/mock-agent/.well-known/agent-card.json | GET | Fetch AgentCard |
Limitations
The built-in mock agent is for quick testing only:
- No real AI processing
- No task storage; get/cancel responses simulate states without retrieving earlier messages
- No streaming or push notifications; unsupported methods return a method-not-found error
- Limited simulation scenarios
- Single shared agent for all users
For more advanced scenarios, use Custom Mock Agents which support visual flow logic, skill routing, LLM responses, and per-user configuration.