open-agent-sdk-typescript
Agent-SDK without CLI dependencies, as an alternative to claude-agent-sdk, completely open source
- 2.7k stars
- 937 forks
- 9 open issues
- Language: TypeScript
- License: MIT
- updated
Install
git clone https://github.com/codeany-ai/open-agent-sdk-typescript && cp open-agent-sdk-typescript/*.md ~/.claude/agents/- Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
- Start a new Claude Code session to load the agents.
- Delegate work to them with the Task/Agent tool or by name.
Editor's note
Open Agent SDK (TypeScript) is a Node.js library published as `@codeany/open-agent-sdk` that runs the full Claude agent loop directly in-process, replacing the official `claude-agent-sdk` without requiring any subprocess or CLI invocation. It connects to Claude through the Anthropic API, with the model name driving automatic backend detection, and also supports OpenAI-compatible endpoints such as OpenRouter, DeepSeek, Qwen, and Mistral through the same `createAgent` or `query` interface. Developers can define custom tools using either Zod schemas or a low-level `defineTool` helper, attach them inline or via an embedded MCP server created with `createSdkMcpServer`, and chain multi-turn conversations with persistent session state. Five built-in skills (simplify, commit, review, debug, test) act as reusable prompt templates, and a hook registry exposes 20 lifecycle events including `PreToolUse`, `SubagentStart`, and `PostCompact` for fine-grained control. The library targets backend engineers and DevOps teams deploying agents in cloud, serverless, Docker, or CI/CD environments without desktop tooling.
Subagents overview
What people ask about open-agent-sdk-typescript
What is codeany-ai/open-agent-sdk-typescript?
codeany-ai/open-agent-sdk-typescript is subagents for the Claude AI ecosystem. Agent-SDK without CLI dependencies, as an alternative to claude-agent-sdk, completely open source It has 2.7k GitHub stars and its last recorded update is dated 2026-07-26.
How do I install open-agent-sdk-typescript?
You can install open-agent-sdk-typescript by cloning the repository (https://github.com/codeany-ai/open-agent-sdk-typescript) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is codeany-ai/open-agent-sdk-typescript safe to use?
Our security agent has analyzed codeany-ai/open-agent-sdk-typescript and assigned a Trust Score of 92/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains codeany-ai/open-agent-sdk-typescript?
codeany-ai/open-agent-sdk-typescript is maintained by codeany-ai. The last recorded GitHub activity is dated 2026-07-26, with 9 open issues.
Are there alternatives to open-agent-sdk-typescript?
Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.