0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/agent-sdks/acp
History 2026-10-28 13:15:52 +00:00
..
src fix(acp): reject prompts that stop with max_tokens, cancelled, max_turn_requests or refusal instead of hanging (#27927) 2026-10-20 16:27:55 -07:00
AGENTS.md chore: move agent-SDK packages to top-level agent-sdks folder (#17477) 2026-06-02 13:21:05 -05:00
CHANGELOG.md chore: version - exit prerelease mode 2026-10-28 13:15:52 +00:00
lint-staged.config.js refactor(lint): replace ESLint with type-aware oxlint (#27476) 2026-10-18 10:38:35 -07:00
package.json chore: version - exit prerelease mode 2026-10-28 13:15:52 +00:00
README.md chore(*): Update/unify/add READMEs (#22858) 2026-09-02 14:36:59 +02:00
tsconfig.build.json chore: move agent-SDK packages to top-level agent-sdks folder (#17477) 2026-06-02 13:21:05 -05:00
tsconfig.json chore: migrate package builds to tsdown (#19829) 2026-07-28 12:32:21 +02:00
tsdown.config.ts chore: migrate package builds to tsdown (#19829) 2026-07-28 12:32:21 +02:00
vitest.config.ts chore: move agent-SDK packages to top-level agent-sdks folder (#17477) 2026-06-02 13:21:05 -05:00

@mastra/acp

@mastra/acp connects Mastra to coding agents that implement the Agent Client Protocol (ACP). Use it to run an ACP-compatible agent from a Mastra tool or as a Mastra sub-agent.

Installation

npm install @mastra/acp

Usage

import { AcpAgent } from '@mastra/acp';

const codeAgent = new AcpAgent({
  id: 'code-agent',
  description: 'An ACP-compatible coding agent',
  command: 'claude',
  args: ['--acp'],
  model: 'claude-sonnet-4-6',
});

Documentation

Changelog

See the package changelog for version history and release notes.

Support

We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.