Agent SDK Core — AI skill for Claude Code
Shared TypeScript foundation for AI coding agent SDKs (Copilot, Claude Code, Codex).
How to install Agent SDK Core
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open DanWahlin/agent-sdk-core and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent SDK Core does
Shared TypeScript foundation for AI coding agent SDKs (Copilot, Claude Code, Codex).
Alternatives in AI
- Anthropic SDK TypeScript — Access to Anthropic's safety-first language model APIs in TypeScript 2.1k ★
- Ante — Ghost in your shell 1.9k ★
- CLI Continues — resume any AI coding session in another tool — Claude Code, Copilot, Gemini, Codex, Cursor 1.5k ★
README
Agent SDK Core
What is agent-sdk-core?
A shared TypeScript package that provides a unified interface for working with AI coding agent SDKs — GitHub Copilot, Claude Code, OpenAI Codex, OpenCode, Hermes Agent, OpenClaw, and Grok. Instead of writing separate integration code for each SDK in every project, this package gives you one consistent API for creating agent sessions, streaming events, and managing connections.
Why use it?
Each AI coding agent SDK has its own API patterns:
- Copilot uses event subscriptions with
session.on(callback)+sendAndWait() - Claude Code uses async generators with
for await (const msg of query(...)) - Codex uses threaded streams with
thread.runStreamed() - OpenCode uses an HTTP client/server model with REST sessions + SSE event streaming
- Hermes Agent uses the Agent Client Protocol over a spawned Hermes ACP process
- OpenClaw uses the Agent Client Protocol over
openclaw acp; the direct Gateway WebSocket provider remains available asOpenClawGatewayProvider - Grok uses the Agent Client Protocol over
grok agent --model stdio
This package normalizes all providers into a single `AgentProvider` / `AgentSession` interface with a unified `AgentEvent` stream. You write your event handling once, and it works with any agent.
It also provides optional utilities that most agent-powered apps need: WebSocket server/client helpers with heartbeat and reconnection, a progress aggregator for TTS-friendly summaries, and agent CLI detection.
Currently used by three projects: [copilot-kanban-agent](https://github.com/DanWahlin/copilot-kanban-board), agentmic, and zingit.
Features
- Unified Provider Interface — Single
AgentProvider/AgentSessionAPI that works across Copilot, Claude Code, Codex, OpenCode, Hermes, OpenClaw, and Grok - Rich Event Stream — 11 granular
AgentEventtypes (th
Related Skills
Awareness SDK
Local-first AI agent memory — one command, 13+ IDEs, works offline. Persistent memory for Claude Code, Cursor,
Sovereign AI SDK
Agent runtime for Sovereign AI. TypeScript on Bun. Claude-Code-core architecture with a Hermes-pattern learnin
Omniconductor
One workflow framework, every coding agent. Install your AI-coding discipline into Claude Code, Cursor, GitHub
Gald3r Core
Signed, single-binary CLI coding-agent platform: file-first task/bug tracking, multi-provider agent runtime, a
RelayBrain
Coordination and context layer for AI coding agents. Shared file locks, live patch sync, and portable project
Purchasely AI Plugin
AI coding assistant plugin for Purchasely SDK integration — works with Claude Code, Cursor, Copilot, Windsurf,
Related Agents
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode
Claude Code Slack Bot
This is a TypeScript-based Slack bot that integrates with the Claude Code SDK to provide AI-powered coding ass
SDK Architect
GAIA SDK architecture specialist. Use PROACTIVELY when designing SDK APIs, ensuring pattern consistency across