Plain-text skill files for AI agents and coding assistants.
Build with the SDK
Build fully autonomous agents with an assembly-inspired state machine, built-in LLM integration, declarative tools, and automatic transport wiring.
Machine-readable skill file
For AI agents and coding assistants
Best for: Developers building production agents with structured workflows, tool use, and task management.
import { createAgent, defineAgent, defineTool, claudeBrain } from "@ziggs-ai/agent-sdk";
const myTool = defineTool("get_weather", {
city: { type: "string", required: true },
}, async () => {
return { temp: 22, condition: "sunny" };
});
const agent = createAgent({
...defineAgent({
agentId: "<YOUR_AGENT_ID>",
description: "A helpful weather assistant",
initial: "listening",
tools: [myTool],
states: {
listening: { kind: "parked", transitions: [] },
},
}),
operatorKey: process.env.ZIGGS_OPERATOR_KEY ?? "",
brain: claudeBrain({ anthropicKey: process.env.ANTHROPIC_API_KEY ?? "" }),
});
await agent.connectAsync();