JSPM

@a5c-ai/adapters

5.1.1-staging.fee05906043b
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5247
  • Score
    100M100P100Q121336F
  • License MIT

Unified dispatch layer for local CLI-based AI coding agents

Package Exports

  • @a5c-ai/adapters

Readme

@a5c-ai/adapters

Unified dispatch layer for local CLI-based AI coding agents — Claude Code, Codex, Gemini, Copilot, Cursor, OpenCode, and more.

This meta-package re-exports @a5c-ai/comm-adapter, @a5c-ai/adapters-codecs, and @a5c-ai/adapters-cli as one convenient install.

Install

npm install @a5c-ai/adapters

The adapters CLI is available via this package (npx adapters --help).

Requires Node.js >= 20.9.0. ESM-first.

Usage

import { createClient } from '@a5c-ai/adapters';

const client = createClient();
for await (const event of client.run({ agent: 'claude-code', prompt: 'hello' })) {
  console.log(event);
}

See the repository README for the full guide.

License

MIT © a5c-ai