domains / families / agent-tooling / openserv-agent-sdk
openserv-agent-sdk
separate
Build and deploy autonomous AI agents using the OpenServ SDK (@openserv-labs/sdk). IMPORTANT - Always read the companion skill openserv-client alongside this skill, as both packages are required to build and run agents. openserv-client covers the full Platform API for multi-agent workflows and ERC-8004 on-chain identity. Read reference.md for the full API reference.
When to use
- Build custom AI agents
- Deploy agents to OpenServ platform
- Define runless capabilities
- Define runnable capabilities
- Use generate() for LLM calls
- Register agents with provision()
- Start agents with run()
- Handle task context and logs
When not to use
- **`this.process()`** inside capabilities — Legacy method requiring an OpenAI API key. Use `this.generate()` instead (platform-delegated, no key needed), or use runless capabilities
- **`doTask` override** — The SDK handles task execution automatically
- **`this.completeTask()`** — Task completion is handled by the Runtime API
Skill page
Source