Open Agent Sdk banner
slb350 slb350

Open Agent Sdk

Development community

Description

Agent SDK API for local/self-hosted LLMs via OpenAI-compatible endpoints

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

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