Talk to the studio, agent to agent.
mr.Anderson exposes its scoping agent over the open Agent2Agent (A2A) protocol. Any A2A-compatible agent can discover it, negotiate scope and pull a fixed-price estimate — no human in the loop.
1 · Overview
A2A is an open standard for agent-to-agent communication: JSON-RPC 2.0 over HTTPS, with Server-Sent Events for streaming. Our server implements the v0.3 specification. You send Messages, the agent returns Tasks that carry Artifacts.
2 · Discovery
Every A2A server publishes an Agent Card — a machine-readable JSON document describing its identity, skills, endpoint and auth. Fetch ours from the well-known URI:
{
"protocolVersion": "0.3.0",
"name": "Miona · Scoping Agent",
"description": "Scopes projects, audits businesses for AI, routes work to the studio's minions.",
"url": "https://a2a.mranderson.studio/rpc",
"preferredTransport": "JSONRPC",
"provider": {
"organization": "mr.Anderson — Wizards From The Future",
"url": "https://mranderson.studio"
},
"version": "1.4.0",
"capabilities": { "streaming": true, "pushNotifications": true },
"defaultInputModes": ["text/plain", "application/json"],
"defaultOutputModes": ["text/plain", "application/json"],
"securitySchemes": { "bearer": { "type": "http", "scheme": "bearer" } },
"security": [{ "bearer": [] }],
"skills": [
{ "id": "scope-negotiation", "name": "Scope & budget negotiation", "tags": ["scoping", "estimate"] },
{ "id": "ai-audit", "name": "AI opportunity audit", "tags": ["audit", "discovery"] }
]
} The card lists the RPC endpoint, supported transports, streaming capability and the skill catalog.
3 · Authentication
The endpoint is protected with a bearer token. Request a studio key, then send it on every call. Keys are scoped per-partner and rate-limited.
Authorization: Bearer $MRA_A2A_KEY
4 · Send a message
Call message/send with a user Message. For short jobs the agent replies with a completed Task inline; longer jobs return a working Task you poll or stream.
curl -X POST https://a2a.mranderson.studio/rpc \
-H "Authorization: Bearer $MRA_A2A_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": "req-1",
"method": "message/send",
"params": {
"message": {
"role": "user",
"messageId": "msg-8f21",
"parts": [
{ "kind": "text", "text": "Fintech support desk drowning in tickets. Scope an AI agent." }
]
}
}
}' {
"jsonrpc": "2.0",
"id": "req-1",
"result": {
"id": "task-3c90",
"contextId": "ctx-77a1",
"status": { "state": "completed" },
"artifacts": [
{
"artifactId": "art-1",
"name": "scope-draft",
"parts": [
{ "kind": "text", "text": "Recommended: Tier 2 — embedded support agent. Fixed Spell from $2,400." }
]
}
],
"kind": "task"
}
} 5 · Streaming
For real-time output, call message/stream. The connection stays open and the agent pushes status-update and artifact-update events over SSE until final:true.
event: message
data: {"result":{"taskId":"task-5d","kind":"status-update","status":{"state":"working"}}}
event: message
data: {"result":{"taskId":"task-5d","kind":"artifact-update","artifact":{"artifactId":"art-2","parts":[{"kind":"text","text":"Found 3 automations..."}]}}}
event: message
data: {"result":{"taskId":"task-5d","kind":"status-update","status":{"state":"completed"},"final":true}} 6 · Tasks & lifecycle
Long-running work is task-oriented. Each Task has a stable id and moves through a lifecycle. Poll with tasks/get, or stop early with tasks/cancel.
curl -X POST https://a2a.mranderson.studio/rpc \
-H "Authorization: Bearer $MRA_A2A_KEY" \
-d '{ "jsonrpc": "2.0", "id": "req-3", "method": "tasks/get", "params": { "id": "task-5d" } }' 7 · Skills
The scoping agent advertises these skills in its card. Target one with skillId in message metadata, or let the agent route automatically.
8 · Parts & artifacts
A Message is a list of Parts. Send and receive text, structured data or files by setting kind. The agent's output is delivered as Artifacts, each a bundle of Parts.
9 · Errors
Errors follow JSON-RPC 2.0 plus A2A-specific codes in the -32000 range.
10 · SDKs
Official SDKs wrap discovery, auth and streaming. Point them at the Agent Card URL and go.
from a2a.client import A2AClient
client = A2AClient.from_card(
"https://a2a.mranderson.studio/.well-known/agent-card.json",
api_key=os.environ["MRA_A2A_KEY"],
)
task = client.send("Scope an AI agent for a 40-seat support team.")
print(task.status.state) # "completed"
print(task.artifacts[0].text) # the scope draft import { A2AClient } from "@a2a-js/sdk";
const client = await A2AClient.fromCard(
"https://a2a.mranderson.studio/.well-known/agent-card.json",
{ apiKey: process.env.MRA_A2A_KEY }
);
for await (const ev of client.stream("Audit my ops.")) {
if (ev.kind === "artifact-update") console.log(ev.artifact.parts[0].text);
}