In short.
OpenServ Agent SDK is an instruction pack with TypeScript code examples for developers and AI coding assistants building services on the OpenServ platform. It relies on platform services whose running costs are unknown. Its instructions and examples cover custom tools, platform-managed text generation, structured outputs, task logs, workspace files and deployment. Optional features include paid service calls and blockchain agent identity. The companion client skill and SDK implementations are outside this folder. Nothing was executed, so package compatibility, deployment behavior and output quality remain untested.
Researched and written by an AI model and checked by a second AI model. How it works
The scope is vendored/openserv/openserv-agent-sdk at commit 462bf30efaea73c8af4ed9d6e9970d4495224ad2: SKILL.md, reference.md, troubleshooting.md, eight TypeScript examples, examples/env.example and the folder LICENSE. Related notices are the repository LICENSE, NOTICE.md and vendored/LICENSE-genlayer-skills; the GenLayer notice does not establish OpenServ licensing. The upstream source is identified as openserv-labs/skills. Other vendored skills, the companion openserv-client skill, npm runtime implementations and platform services are outside this scope. No installation, code execution, API call, deployment, payment, blockchain registration or benchmark was performed.
The overview
Resource identity
This is an assistant instruction pack named openserv-agent-sdk, rather than the SDK implementation itself. It teaches an assistant how to build services using @openserv-labs/sdk and @openserv-labs/client. The folder contains the main skill, reference material, troubleshooting guidance and examples.
The source is an Internet Court redistribution of material attributed to OpenServ, with the authoritative upstream identified as [https://github.com/openserv-labs/skills]. The captured folder is pinned at [https://github.com/internet-court/internet-court-skill/tree/462bf30efaea73c8af4ed9d6e9970d4495224ad2/vendored/openserv/openserv-agent-sdk].
Practical assessment
The skill offers a concrete starting point for an agent intended to operate on OpenServ. It connects capability definitions, account provisioning, credentials, workflow triggers and service startup, which helps explain how an agent becomes reachable by the platform.
Its convenience comes with platform dependence. Platform-managed generation removes the need for a separate model-provider key, while still requiring OpenServ authentication and workspace usage accounting. The examples establish intended integration patterns; successful operation, production reliability and deployment compatibility are not established.
Who it suits
The clearest audience is developers who want to expose TypeScript capabilities as OpenServ agents, including text-processing services, API wrappers and agents participating in larger workflows. An agent can perform ordinary programmed operations without using a language model.
Beginners can follow the greeting and haiku examples to understand the basic structure. Implementation still requires familiarity with npm packages, asynchronous TypeScript, environment variables and authentication. Experienced developers get more specific guidance on action types, credential separation, structured generation, task context and hosting.
Documented capabilities
The skill describes two capability types. Runless capabilities provide descriptions and optional schemas, leaving AI generation to the platform. Runnable capabilities provide custom handlers with Zod-validated inputs and can call generate() for platform-managed text or structured output. At the capability level, the reference prohibits combining a run handler with outputSchema; a handler can instead request structured output through generate().
Additional examples cover registering multiple capabilities, logging progress, changing task status, creating subtasks, listing workspace files, uploading results and deleting files. Workflow triggers include webhooks, schedules, manual invocation and paid x402 calls. The reference also describes sequential multi-agent provisioning and optional ERC-8004 agent identity.
Using it
Requirements and dependencies
The documented setup uses @openserv-labs/sdk, @openserv-labs/client and zod. The fuller template adds dotenv, TypeScript, tsx and Node.js type definitions, with type set to module in package.json. No minimum Node.js version or complete, pinned dependency set is supplied. Comments associate direct credential binding with v2.1+, without establishing a complete compatibility matrix.
An OpenServ account is needed; provision() can create a wallet-backed account automatically. The skill explicitly calls for the companion openserv-client skill, which is outside this folder. Local tunneling needs network access to the platform proxy. Managed-cloud deployment additionally requires OPENSERV_USER_API_KEY. A separate model-provider key is needed only when using a direct provider integration.
How it works
The developer creates an Agent with a system prompt and adds named capabilities. provision() registers the agent and workflow, creates or reuses wallet credentials and can bind agent credentials directly through agent.instance. run(agent) starts the service. For local development, the documented runtime opens a WebSocket tunnel so platform requests can reach the local agent.
Runless capabilities remove the custom handler; the documented agent service still starts with run(agent). Inside runnable capabilities, generate() passes AI work to the platform and uses action context to identify the workspace or task for billing. Task-specific methods require narrowing action.type to do-task before accessing task fields.
Agent credentials and management credentials have different roles. OPENSERV_API_KEY belongs to the agent integration, while PlatformClient management calls use wallet authentication or OPENSERV_USER_API_KEY. The skill assigns task completion to the runtime and discourages custom completion calls and doTask overrides.
Setup and deployment
The documented sequence is to install the packages, configure an ESM TypeScript project, define the agent and its capabilities, call provision() with agent.instance, then call run(agent). Provisioning persists credentials, with the instructions referring to both .env and .openserv.json. A workflow needs a name and a descriptive goal.
The managed-cloud path uses npx @openserv-labs/client deploy . after provisioning has run and a dashboard user API key has been configured. The self-hosted path supplies a public endpointUrl and sets DISABLE_TUNNEL=true so the service uses its HTTP server directly. The reference documents port 7378 with automatic fallback and a public /health endpoint.
Representative examples
basic-agent.ts defines a greet capability whose input schema requires a name. Its handler constructs a personalized greeting, and provisioning creates a webhook-triggered workflow named Welcome Wizard before starting the agent. This illustrates the complete intended registration and startup sequence without requiring AI generation. No webhook response was observed.
capability-with-agent-methods.ts demonstrates an AI-backed report service. In a task context it records a progress log, calls generate(), uploads the report under a reports/ path and records completion. Outside that context, it attempts generation without task logging or upload. error-handling.ts separately shows error logging, marking a task as errored and rethrowing the failure. These are code examples, not recorded execution results.
Assessment & evidence
Limitations and inconsistencies
The main skill recommends explicit timeouts of at least 600 seconds for webhook and x402 triggers, but basic-agent.ts and haiku-poet-agent.ts omit timeout values. Effective defaults and whether those examples meet the stated guidance are unknown.
The folder contains integration guidance rather than SDK runtime implementations or a dependency lockfile. API compatibility, authentication enforcement, reconnection behavior, deployment success, latency, throughput and generated-output quality were not tested. Model selection, data retention and platform data-handling terms are not specified.
Some features introduce additional state to manage. On-chain identity registration needs a funded wallet and refreshed environment variables after provisioning; the documentation advises catching registration failures so startup can continue. Losing or clearing wallet state can change the identity created by subsequent registration.
Why the design may fit
The skill's practical value is the connection between small TypeScript functions and platform-managed workflows. A developer can start with a deterministic handler, add platform-managed generation where needed and attach outputs to the same task system. The examples make these transitions concrete.
That design is most useful when OpenServ is already the intended execution environment. Provisioning, task context, billing context and deployment all depend on its services. Developers seeking control over model-provider access can use their own provider, although that adds provider credentials and separate billing.
Documented alternatives
Within this design, runless capabilities suit generation tasks that need little custom code. Runnable capabilities suit API calls, transformations and other programmed operations, with generate() available for AI steps. The skill also permits bringing a separate model provider or building a capability that uses no language model.
Hosting choices include the development tunnel, OpenServ managed cloud and a self-hosted public HTTP endpoint. The companion openserv-client skill covers broader platform management and workflow APIs. No comparative evidence about external agent frameworks, performance or total cost is present.
Evidence and its limits
The captured folder contains SKILL.md, reference.md, troubleshooting.md, eight TypeScript examples, an environment template and the folder licence notice. The examples cover greeting, capability definitions, agent methods, errors, files, paid haiku generation, multiple capabilities and task management.
These files support descriptions of intended APIs and implementation patterns. They contain no observed execution receipts, deployment results, benchmark measurements or model-quality evaluations. The upstream attribution is documented, while the companion client skill, npm package implementations and hosted platform behavior are outside the captured folder.
Access & freshness
Costs and billing
Actual operating costs are unknown. generate() records usage against a workspace, so the absence of a separate model-provider key does not establish free inference. The reference labels webhook triggers as free, without establishing free hosting or generation. Platform subscriptions, model rates, credit conversion, cloud hosting and payment fees are not specified.
The haiku example configures an x402 price of 0.01 and labels it $0.01 per haiku in its code. This is an illustrative service charge, not platform pricing. Likewise, the reference's $10 USDC credit top-up is an example amount, not a documented minimum.
Optional ERC-8004 registration uses Base mainnet and requires ETH for transaction gas. The provisioned wallet starts unfunded. Neither the required funding amount nor transaction costs are established.
Licensing and attribution
The folder LICENSE records MIT licensing and Copyright (c) 2026 OpenServ, identifying openserv-labs/skills as the authoritative upstream. The package NOTICE independently lists openserv-agent-sdk under MIT. The folder notice is an attribution statement pointing upstream; it does not contain the full upstream MIT grant.
The package-root MIT licence explicitly excludes vendored material. The separate GenLayer MIT notice names GenLayer Labs and does not establish rights for OpenServ's files. Preserve the OpenServ attribution and applicable notices when copying the skill, and consult the authoritative upstream terms for redistribution. These notices do not establish the terms of the separately downloaded npm packages or hosted platform.
Source version and freshness
The source snapshot is pinned to repository commit 462bf30efaea73c8af4ed9d6e9970d4495224ad2 and was captured at 2026-11-16T19:22:02.746Z. That timestamp identifies the snapshot; it does not establish when OpenServ last changed the upstream skill or released the npm packages.
The skill warns that platform features and APIs can change. Its installation commands leave package versions unpinned, and v2.1+ appears in comments about credential binding rather than a complete dependency specification. Compatibility between this snapshot and current package releases is unknown.
Before adopting
Confirm compatible SDK and client versions, obtain the companion openserv-client documentation and establish platform inference, credit and hosting costs. The greeting example provides a small first integration target for checking provisioning, credential binding and webhook delivery before adding AI generation or paid calls.
Set explicit webhook and x402 timeouts consistent with the documented guidance. Keep .env and .openserv.json private because they contain credential state, and distinguish agent credentials from user management credentials. For a port conflict, the documented PORT setting avoids the troubleshooting command that force-kills the process occupying port 7378.
If adding on-chain identity, establish gas costs separately, preserve wallet state, reload environment variables after provisioning and handle registration failure without preventing agent startup. For self-hosting, configure the public endpoint and disable the development tunnel.
