🦀 ClawHub
OpenServ Agent Sdk
by @issa-me-sush
Build and deploy autonomous AI agents using the OpenServ SDK (@openserv-labs/sdk). IMPORTANT - Always read the companion skill openserv-client alongside this...
💡 Examples
Installation
npm install @openserv-labs/sdk @openserv-labs/client zod
> Note: openai is only needed if you use the process() method for direct OpenAI calls. Most agents don't need it—use runless capabilities or generate() instead.
Minimal Agent
See examples/basic-agent.ts for a complete runnable example.
The pattern is simple:
1. Create an Agent with a system prompt
2. Add capabilities with agent.addCapability()
3. Call provision() to register on the platform (pass agent.instance to bind credentials)
4. Call run(agent) to start
TERMINAL
clawhub install openserv-agent-sdk