Refactor runtime to use pluggable agent harnesses#2
Open
andrewhampton wants to merge 1 commit intokimjune01:masterfrom
Open
Refactor runtime to use pluggable agent harnesses#2andrewhampton wants to merge 1 commit intokimjune01:masterfrom
andrewhampton wants to merge 1 commit intokimjune01:masterfrom
Conversation
Add Claude and Amp harness implementations, route engine launches through the harness API, and add CLI backend selection with auto-detection and tests.
ericlewis
reviewed
Feb 22, 2026
| mcp_config = generate_mcp_config(request.db_path, request.node_id, proj) | ||
| write_json_file(mcp_path, mcp_config["mcpServers"]) | ||
| settings = self._load_base_settings() | ||
| settings.pop("amp.tools.disable", None) |
There was a problem hiding this comment.
Can we preserve user disables? This kills them globally.
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.
Thanks for open sourcing this! It seems like a better implementation of a similar idea I've been trying with OpenCode agents. Feel free to close if you're not interested in this, but my team uses Amp instead of Claude Code, so I wanted to experiment with this tool using Amp instead of Claude code. This branch is vibe coded, but works for me. The main idea is:
I don't think I'll continue using it because it quickly spun up 50+ tasks for a medium sized prompt I gave it, each of those started at $0.15 each. This is probably addressable if tried to limit what context is seeded into amp when it starts, but I'm not sure. The amp harness doesn't support the cost limit flag.