We respect your privacy
We use cookies to keep you logged in and understand how you use Pocodot. You can customize your preferences or accept all. Cookie Policy
Extend the platform with custom agents, integrate via API, and distribute through the marketplace - all with token-based, pay-as-you-go billing.
We're building the SDK and API. Join the waitlist to get early access.
Pay only for what your agents consume. No seat fees, no minimums.
Real-time streamed responses via Server-Sent Events. Sub-second first tokens.
List your agent in the marketplace and reach thousands of teams instantly.
Install the SDK, authenticate, and run your first agent in under 10 lines of code.
npm install @pocodot/sdkimport { Pocodot } from "@pocodot/sdk";
const client = new Pocodot({
apiKey: process.env.POCODOT_API_KEY,
});const stream = await client.agents.run("inbox-triage", {
context: "Summarise my unread emails",
});
for await (const chunk of stream) {
process.stdout.write(chunk.content);
}const res = await fetch(
"https://staging-api.pocodot.ai/api/poco/edge/run-agent",
{
method: "POST",
headers: {
Authorization: "Bearer YOUR_JWT",
"Content-Type": "application/json",
},
body: JSON.stringify({
agentId: "inbox-triage",
config: { context: "..." },
}),
}
);
const reader = res.body.getReader();
const decoder = new TextDecoder();
let buffer = "";
while (true) {
const { done, value } = await reader.read();
if (done) break;
buffer += decoder.decode(value, { stream: true });
let idx;
while ((idx = buffer.indexOf("\n")) !== -1) {
const line = buffer.slice(0, idx).trim();
buffer = buffer.slice(idx + 1);
if (!line.startsWith("data: ")) continue;
const payload = line.slice(6);
if (payload === "[DONE]") break;
const json = JSON.parse(payload);
process.stdout.write(
json.choices?.[0]?.delta?.content ?? ""
);
}
}All endpoints accept JSON and return JSON (or SSE for streaming). Authenticate with a Bearer JWT.
/api/poco/edge/submit-agentSubmit an agent for marketplace review.
{
"name": "My Agent",
"tagline": "Does amazing things",
"description": "Detailed description…",
"category": "productivity",
"complexity": "beginner",
"setup_time": "5 min",
"connections": ["Slack", "Gmail"],
"tags": ["automation", "ai"],
"example_input": "Sample input",
"example_output": "Expected output",
"author_name": "Jane Doe",
"author_email": "jane@example.com"
}{ "success": true, "submissionId": "uuid-here" }/api/poco/edge/run-agentExecute an agent and stream the response via SSE.
{
"agentId": "inbox-triage",
"config": { "context": "Your input data here" }
}data: {"choices":[{"delta":{"content":"Hello"}}]}
data: {"choices":[{"delta":{"content":" world"}}]}
data: [DONE]/api/poco/edge/execute-actionTrigger a post-run action (Slack, webhook, email).
{
"actionType": "webhook-trigger",
"payload": {
"webhookUrl": "https://your-api.com/hook",
"agentName": "inbox-triage",
"output": "Agent result text…"
}
}{ "success": true, "result": { … } }Get notified when agent runs complete, errors occur, or submissions change status.
Stand up an HTTPS endpoint on your server that accepts POST requests with a JSON body.
Go to your developer settings and paste your endpoint URL. Choose which events to subscribe to.
Parse the incoming JSON. Each event includes the agent ID, run ID, output, and a timestamp.
Validate the X-Pocodot-Signature header using HMAC-SHA256 with your webhook secret.
{
"event": "agent.run.completed",
"agent_id": "inbox-triage",
"run_id": "run_abc123",
"output": "Here are the key takeaways…",
"timestamp": "2026-03-04T12:00:00Z",
"signature": "sha256=…"
}Be the first to build with the Pocodot SDK and API. We'll send you a single email when it's ready.
No spam. Unsubscribe anytime.
You can already submit agents to the marketplace while the SDK is in development.