Open Agent SDK — Development skill for Claude Code
Agent SDK API for local/self-hosted LLMs via OpenAI-compatible endpoints.
How to install Open Agent SDK
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open slb350/open-agent-sdk and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Open Agent SDK does
Agent SDK API for local/self-hosted LLMs via OpenAI-compatible endpoints.
Alternatives in Development
- Microsandbox — Open-source self-hosted MicroVM sandboxes with sub-200ms startup, hardware-level isolation via libkrun 5k ★
- Harnessrouter — HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnes 618 ★
- Dario — A local OpenAI- and Anthropic-compatible proxy that brings your Claude Pro/Max subscription to Cursor, Cline 485 ★
README
Open Agent SDK
Build production-ready AI agents in minutes using your own hardware
**What you can build:**
- Copy editors that analyze manuscripts and track writing patterns
- Git commit generators that write meaningful commit messages
- Market analyzers that research competitors and summarize findings
- Code reviewers, data analysts, research assistants, and more
**Why local?**
- No API costs - use your hardware, not OpenAI's
- Privacy - your data never leaves your machine
- Control - pick your model (Qwen, Llama, Mistral, etc.)
**How fast?** From zero to working agent in under 5 minutes. Familiar patterns (inspired by Claude SDK), batteries-included features (streaming, tools, hooks, auto-execution), and production-ready quality.
[](https://pypi.org/project/open-agent-sdk/) [](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT)
Overview
Open Agent SDK provides a clean, streaming API for working with OpenAI-compatible local model servers. Drop-in similar patterns to popular SDKs, working with LM Studio, Ollama, llama.cpp, and any OpenAI-compatible endpoint—complete with streaming, tool call aggregation, hooks, and automatic tool execution.
Supported Providers
✅ Supported (OpenAI-Compatible Endpoints)
- LM Studio -
http://localhost:1234/v1 - Ollama -
http://localhost:11434/v1 - llama.cpp server - OpenAI-compatible mode
- vLLM - OpenAI-compatible API
- Text Generation WebUI - OpenAI extension
- Any OpenAI-compatible local endpoint
- Local gateways proxying cloud models - e.g., Ollama or custom gateways that route to cloud providers
❌ Not Supported (Use Official SDKs)
- Claude/OpenAI direct - Use their official SDKs, unless you proxy through a local
Related Skills
OpenAgentCore
Open-source, self-hosted implementation of the OpenAI Agents API with multiple native harnesses.
CLIProxyAPI Rust
Your Claude, ChatGPT and Gemini subscriptions as one fast API. A single Rust binary with OpenAI, Anthropic and
Q Agent
Self-hosted llama.cpp stack for Qwen + MTP (multi-token prediction): a 125B MoE read from ≥ 80 GB of RAM, or a
Openapis
Free Claude API + free OpenAI API in one unified proxy. Drop-in compatible with Anthropic SDK, OpenAI SDK, Cla
BOB Gemini Free
High-performance local 3-in-1 gateway unlocking Google Gemini as standard OpenAI, Anthropic (Claude Code), and
Picc
a local proxy/router works with claude code and Pi coding agent and sets up a local router with both openai ap
Related Agents
Lmstudio Local
A locally-hosted model served through LM Studio's OpenAI-compatible API,
AI Recon
Delegates to this agent when the user wants to map the AI attack surface of an authorized web application befo
Provider Debugger
Diagnose live-provider compatibility failures for Kimi, GLM, and other OpenAI-compatible endpoints