From 9ccd8ed684c8f27c086752c7745c1bb4846583b1 Mon Sep 17 00:00:00 2001 From: Andrew Kuttig Date: Mon, 6 Apr 2026 07:13:44 -0600 Subject: [PATCH] Switch Amp ACP adapter to SuperagenticAI/acp-amp Replace tao12345666333/amp-acp with SuperagenticAI/acp-amp as the recommended Amp adapter. The previous adapter stripped the process environment (passing only TERM=dumb to execute()), preventing Amp from discovering user skills and configuration. The new adapter inherits the full process environment by default. The primary command is now 'acp-amp' with 'amp-acp' kept as an alias for backwards compatibility. Amp-Thread-ID: https://ampcode.com/threads/T-019d4e6c-6235-76b4-aaf3-63baf10304d0 Co-authored-by: Amp --- crates/sprout-acp/README.md | 8 ++++---- crates/sprout-acp/src/config.rs | 4 ++-- desktop/src-tauri/src/managed_agents/discovery.rs | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/crates/sprout-acp/README.md b/crates/sprout-acp/README.md index 842df50d9..55d143e92 100644 --- a/crates/sprout-acp/README.md +++ b/crates/sprout-acp/README.md @@ -9,7 +9,7 @@ Sprout Relay ──WS──→ sprout-acp ──stdio──→ Your Agent (send_message, etc.) ``` -Supports any agent that speaks [ACP](https://agentclientprotocol.com/) over stdio: **goose**, **codex** (via [codex-acp](https://github.com/zed-industries/codex-acp)), **claude code** (via [claude-agent-acp](https://github.com/agentclientprotocol/claude-agent-acp)), and **amp** (via [amp-acp](https://github.com/tao12345666333/amp-acp)). +Supports any agent that speaks [ACP](https://agentclientprotocol.com/) over stdio: **goose**, **codex** (via [codex-acp](https://github.com/zed-industries/codex-acp)), **claude code** (via [claude-agent-acp](https://github.com/agentclientprotocol/claude-agent-acp)), and **amp** (via [acp-amp](https://github.com/SuperagenticAI/acp-amp)). ## Prerequisites @@ -94,15 +94,15 @@ treats both Claude ACP command names as the same zero-arg runtime. ## Running with Amp -[amp-acp](https://github.com/tao12345666333/amp-acp) wraps Sourcegraph's Amp coding agent in an ACP interface. +[acp-amp](https://github.com/SuperagenticAI/acp-amp) wraps Sourcegraph's Amp coding agent in an ACP interface. ```bash # Install the adapter -npm install -g amp-acp +npm install -g @superagenticai/acp-amp # Run export AMP_API_KEY="..." # your Amp API key -export SPROUT_ACP_AGENT_COMMAND="amp-acp" +export SPROUT_ACP_AGENT_COMMAND="acp-amp" sprout-acp ``` diff --git a/crates/sprout-acp/src/config.rs b/crates/sprout-acp/src/config.rs index df822d423..7caa39ebe 100644 --- a/crates/sprout-acp/src/config.rs +++ b/crates/sprout-acp/src/config.rs @@ -151,7 +151,7 @@ impl std::fmt::Display for PermissionMode { about = "Query available models from the configured agent" )] pub struct ModelsArgs { - /// Agent binary to spawn (e.g. "goose", "claude-agent-acp", "codex-acp", "amp-acp"). + /// Agent binary to spawn (e.g. "goose", "claude-agent-acp", "codex-acp", "acp-amp"). #[arg(long, env = "SPROUT_ACP_AGENT_COMMAND", default_value = "goose")] pub agent_command: String, @@ -439,7 +439,7 @@ fn default_agent_args(command: &str) -> Option> { match normalize_agent_command_identity(command).as_str() { "goose" => Some(vec!["acp".to_string()]), "codex" | "codex-acp" | "claude-agent-acp" | "claude-code-acp" | "claude-code" - | "claudecode" | "amp-acp" => Some(Vec::new()), + | "claudecode" | "acp-amp" | "amp-acp" => Some(Vec::new()), _ => None, } } diff --git a/desktop/src-tauri/src/managed_agents/discovery.rs b/desktop/src-tauri/src/managed_agents/discovery.rs index efe02f2b0..de93b3c62 100644 --- a/desktop/src-tauri/src/managed_agents/discovery.rs +++ b/desktop/src-tauri/src/managed_agents/discovery.rs @@ -59,8 +59,8 @@ const KNOWN_ACP_PROVIDERS: &[KnownAcpProvider] = &[ KnownAcpProvider { id: "amp", label: "Amp", - commands: &["amp-acp"], - aliases: &[], + commands: &["acp-amp"], + aliases: &["amp-acp"], avatar_url: AMP_AVATAR_URL, }, ]; @@ -129,7 +129,7 @@ fn default_agent_args(command: &str) -> Option> { match normalize_command_identity(command).as_str() { "goose" => Some(vec!["acp".to_string()]), "codex" | "codex-acp" | "claude-agent-acp" | "claude-code-acp" | "claude-code" - | "claudecode" | "amp-acp" => Some(Vec::new()), + | "claudecode" | "acp-amp" | "amp-acp" => Some(Vec::new()), _ => None, } }