Launch sprout-agent from the desktop GUI#529
Merged
Merged
Conversation
Bundle sprout-agent and sprout-dev-mcp as sidecars alongside the existing sprout-acp, sprout-mcp-server, and git-credential-nostr. sprout-agent is ACP-native (no CLI args, config via env vars). sprout-dev-mcp provides its tools: shell, str_replace, rg, tree, sprout CLI, and git auth via multicall binary. Changes: - Register sprout-agent in KNOWN_ACP_PROVIDERS with mcp_command and mcp_hooks fields on KnownAcpProvider (single source of truth) - Surface mcp_command through AcpProviderInfo → Tauri IPC → TS types - Set MCP_HOOK_SERVERS=* for sprout-agent via known_acp_provider() lookup (handles paths, case, underscores, .exe normalization) - Bundle both binaries in tauri.conf.json, bundle-sidecars.sh, justfile - Add KNOWN_AGENT_BINARIES entries for orphan process detection - Mirror default_agent_args in sprout-acp/config.rs - Add regression tests for avatar, args, and mcp_hooks wiring
Collaborator
Author
This was referenced May 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
Sprout Agent can now be selected as an agent runtime in the desktop app, alongside Goose, Claude Code, and Codex.
Both
sprout-agentandsprout-dev-mcpare bundled as sidecars — no separate install required. When a user picks Sprout Agent, the harness automatically wires upsprout-dev-mcpas its MCP server (shell, file editing, ripgrep, tree, sprout CLI, git auth) and enables the_Stop/_PostCompacthook tools.Why
sprout-agent is our own ACP-native agent. Unlike the external runtimes (goose, claude, codex) which users install separately, sprout-agent ships with the app. It speaks ACP over stdio with zero CLI flags — config is entirely via environment variables — so the integration is minimal.
Bundling
sprout-dev-mcpalongside it gives the agent a complete developer toolchain including thesproutCLI for relay interaction, eliminating the need forsprout-mcp-server(which provides relay tools that overlap with what the CLI already covers).Design
All per-provider config lives in one place:
KNOWN_ACP_PROVIDERSindiscovery.rs. Two new fields on the registry —mcp_commandandmcp_hooks— flow through the existing Rust → Tauri IPC → TypeScript pipeline so the frontend reads the right MCP server directly from the provider object. No string-matching heuristics, no duplicated mappings across the language boundary.LLM credentials (
SPROUT_AGENT_PROVIDER,ANTHROPIC_API_KEY,ANTHROPIC_MODEL) flow through inherited environment — the user sets them in their shell before launching Sprout.