Skip to main content
The github.com/beeos-ai/sdk-go module is the canonical Go client for the public BeeOS OpenAPI contract served by openapi-gateway at openapi.beeos.ai. It is generated from the same backend/openapi/beeos-platform-v1.yaml that powers this site’s API Reference tab.
The SDK targets the Platform API only. The A2A protocol (a2a.beeos.ai) and MCP protocol (mcp.beeos.ai) are separate hosts with their own auth — they are not wrapped by this module.

Install

Current published version: v0.6.1 (see SDK Changelog for wire deltas). Version 0.6.0 adds Client, a hand-maintained facade for the common agent-task lifecycle. Its API remains stable when the generated OpenAPI surface is regenerated.
The facade also provides CreateTask, GetTask, CancelTask, and TaskEvents. The complete generated client remains available as client.API or through NewAPIClient.

Full generated client

For local development, set the server URL to http://localhost:8095.

Catalog

Instance lifecycle

ListInstances supports pagination + status filter:

Agents

Invoke (blocking)

See Calling agents for the full contract.

Invoke with idempotency + attachments (0.4.0)

IdempotencyKey makes the call safe to retry within the TTL window (see ADR 0021).

Streaming invoke (SSE)

The SDK does not abstract SSE — use net/http directly. See Streaming for frame shapes.

Tasks (async invocation)

Webhook registration (HMAC-signed deliveries):
Delivery history + replay (new in 0.4.0 — see Webhooks):

Conversations

Files

Use the file_id in Attachments on InvokeAgentRequest or CreateTaskRequest.

Error handling

Non-2xx responses return a *GenericOpenAPIError that wraps the BeeOS error envelope:
See Error reference for the full code list.

Source and generation

Generated from the same OpenAPI spec as the TypeScript SDK (sdks/openapi-sdk/generate.sh). Wire-level changes: SDK Changelog. Version migration: SDK Migration.