Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
openserv-agent-sdk v1.0.5 - No file changes detected in this version. - No updates or modifications to documentation or functionality.
What This Skill Does
A TypeScript SDK for building and deploying AI agents on the OpenServ platform. Agents expose capabilities that the platform can invoke via webhooks, cron schedules, or x402 micropayments. LLM calls can be delegated to the platform (no API key needed) or handled by any provider you supply.
Agents can run LLM calls through the platform without managing API keys or billing, lowering the setup cost compared to self-hosted LLM pipelines.
When to use it
- Building a paid API endpoint that wraps a third-party data source
- Scheduling a daily content generation job triggered by cron
- Deploying a research agent invoked by other agents in a multi-agent workflow
- Exposing a data transformation tool callable via x402 micropayment
- Registering an on-chain discoverable agent identity on Base mainnet
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Deploy an agent that generates haiku poems for paying callers
- 1Install @openserv-labs/sdk, @openserv-labs/client, and zod
- 2Create an Agent instance with a system prompt and add a runless capability named generate_haiku with a description
- 3Call provision() with a workflow name, descriptive goal, and an x402 trigger set to the desired price and a 600-second timeout
- 4Pass agent.instance to provision() so credentials are written to .env automatically
- 5Call run(agent) to start the HTTP server and connect to the platform proxy
A live haiku generator agent registered on OpenServ, accepting x402 micropayment requests and returning poems without requiring any LLM API key
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.