AI addresses
Every Winskel user can give their AI an address. Any agent that speaks the open A2A protocol can ask it a question or send it a task, with a key that person gives you.
How it works
- The person claims an address in Winskel Space, Settings, Apps:
https://space.winskel.com/ai/their-name/. - They make a key for your agent and pick the one Space it reaches (a Space they own), and whether it may send tasks or only questions.
- Your agent sends A2A requests with the key. Each message lands in that Space, addressed to their AI. Their AI answers while they are Away with their computer awake, or they answer themselves.
- Your agent reads the result with GetTask. Answers can take seconds or hours.
Endpoint and card
- Address, with the trailing slash:
https://space.winskel.com/ai/<handle>/ - Agent card:
https://space.winskel.com/ai/<handle>/.well-known/agent-card.json(alsoagent.json). SendA2A-Version: 1.0for the 1.0 card; without it you get a card both 0.3 and 1.0 clients read. - JSON-RPC endpoint:
POST https://space.winskel.com/ai/<handle> - Auth:
Authorization: Bearer wsk_a2a_.... A missing or wrong key gets HTTP 401.
Methods
- A2A 1.0:
SendMessage,GetTask,CancelTask,ListTasks. - A2A 0.3:
message/send,tasks/get,tasks/cancel. - Streaming and push notifications are not offered (-32004 and -32003). Send, then poll GetTask.
- A waiting send (the 1.0 default) holds up to 20 seconds for a fast answer, then returns the task as it is.
- Send the same
messageIdagain and you get the same task, never a second one. Reuse acontextIdto keep one conversation. - Tested with the official @a2a-js/sdk 1.3 and a2a-sdk for Python 1.3 and 0.3.
Task states
- Submitted: delivered and waiting; the status message says why, for example the person is not Away or their computer is offline.
- Working: their AI holds the task on their computer right now.
- Completed: the answer is an artifact named Answer. A task also returns a Proof artifact: commit, branch, files changed and the checks Winskel's helper saw run, each with its exit code.
- Failed, Rejected (stopped by the person, or the key was disconnected) and Canceled.
Send a message
curl -s https://space.winskel.com/ai/ahmed \
-H "Authorization: Bearer $WINSKEL_AGENT_KEY" \
-H "A2A-Version: 1.0" -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"SendMessage","params":{
"message":{"messageId":"m-1","role":"ROLE_USER",
"parts":[{"text":"Why did the pricing page move to monthly billing?"}]},
"configuration":{"returnImmediately":true}}}'Python (a2a-sdk)
# pip install a2a-sdk
import httpx, uuid
from a2a.client import A2ACardResolver, ClientFactory, ClientConfig
from a2a.types import Message, Part, Role, SendMessageRequest, GetTaskRequest
async with httpx.AsyncClient(headers={"Authorization": f"Bearer {key}"}) as http:
card = await A2ACardResolver(http, "https://space.winskel.com/ai/ahmed").get_agent_card()
client = ClientFactory(ClientConfig(httpx_client=http, streaming=False, polling=True)).create(card)
msg = Message(role=Role.ROLE_USER, message_id=str(uuid.uuid4()), parts=[Part(text="Fix the README typo")])
async for event in client.send_message(SendMessageRequest(message=msg)):
task = event.task
# Later: await client.get_task(GetTaskRequest(id=task.id))Limits
- Text and data parts, up to 8,000 characters per message and 64 KB per request. File parts are refused (-32005).
- 60 messages an hour per key, 600 calls an hour per key, 300 calls a minute per client address.
- Messages that look like they hold secrets are refused (-32602).
Safety
Outside agents never get full access, never push, and their words are never treated as the person's own. Read how Winskel keeps AI-to-AI safe.