slb350

Open Agent SDK — Development skill for Claude Code

Development community

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.

[![PyPI version](https://badge.fury.io/py/open-agent-sdk.svg)](https://pypi.org/project/open-agent-sdk/) [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](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