feat(commands): let try-agent run any quickstart agent framework #69
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.52) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #69"
general
weight: 0.35
sicoyle
Why
The docs ship a quickstart per agent framework, and each one is a page of setup: clone, find the right folder, apply the agent under the name that sample uses, wire the connection, install, run, crash it, read the run back. Today the plugin shortcuts exactly one of them. Every other framework is still a manual walkthrough, even though eight of the eleven samples are structurally identical to langgraph and the rest differ only in build tool and port.
This change makes
/catalyst-ai:try-agentthe way to run any of them./catalyst-ai:try-agent crewaiis the whole instruction — the per-sample facts the prompt used to state are read out of the sample itself.That matters most for the docs. A quickstart page no longer needs to carry its own prompt with its own agent name, port and request body baked in; it needs one line naming the framework. Eleven long prompts that drift independently of the samples they describe collapse into one short one that reads the current truth from the clone. When a sample renames its agent or moves a port, the prompt keeps working and no doc page goes stale.
It also removes the class of bug that motivated deriving over tabulating: a prompt that confidently applies
schedule-plannerfor a crewai run produces a wrongcatalyst_applyand a console link to a workflow that does not exist. One of the two new evals exists specifically to hold that line.What
/catalyst-ai:try-agentwas pinned toagents/langgraph. Name any framework from catalyst-quickstarts/agents and it uses that one; name none and it still defaults tolanggraph, which needs no API key.How
Rather than embed a table of per-framework facts that rots when the quickstarts repo renames an agent or adds a framework, the prompt derives them from the clone it already makes in step 3:
dev-.yaml→appID,appPort, start commandtest.http→ the shape of the crash requestThat second one earns its place: spring-ai's body takes
reference, notprompt, so a hardcoded body would have failed there.Other changes to the prompt:
<agent>and<port>, settled in step 3 the way<project>is settled in step 2. The console-link template no longer hardcodesschedule-plannerabove step 1.langgraphas a fallback.uvwas the only path.langgraphjs,langchaingo,microsoft-dotnet,dapr-agents) are named, so the model declines in one sentence instead of improvising a demo that cannot crash.Deriving rather than tabulating also brings in
mastra(npm),spring-ai(Maven, port 8080) andmicrosoft-dotnet(dotnet, port 5050) with no special case beyond their folder and config filenames. The ports are the useful proof: three different ones, none stated in the prompt.Coverage
Eleven frameworks, of which
langgraph,spring-aiandmicrosoft-dotnetrun offline with no key:| framework | agent | key |
|---|---|---|
|
langgraph|schedule-planner| none ||
spring-ai|spring-ai-crash-recovery| none ||
microsoft-dotnet(MAF) |event-planner| none ||
adk|entertainment-planner|OPENAI_API_KEY||
crewai|venue-scout|OPENAI_API_KEY||
deepagents|transportation-planner|OPENAI_API_KEY||
openai-agents|catering-coordinator|OPENAI_API_KEY||
pydantic-ai|decoration-planner|OPENAI_API_KEY||
strands|budget-planner|OPENAI_API_KEY||
mastra|sre-agent|OPENAI_API_KEYor Ollama ||
claude-agents|photography-planner|ANTHROPIC_API_KEY|Downstream
README.md, the eval's verbatim copy of the prompt inevals/starter-agent-loads-a-skill/prompt.md, and the generatedweb/install/{install.json,data.js}all follow the command text.Verification
python scripts/build_install_data.py --check— up to datepython scripts/lint_skills.py— passespython scripts/check_mcp_surface.py— passespython scripts/check_coordinates.py— passespython -m unittest discover -s scripts— 19 tests passscripts/check_install.pywas not run: it shells out tonpx, which is not on PATH in my shell. It reads skills, none of which this PR touches.Evals
The starter eval asserts only that a
catalyst-skill fires, so it passes unchanged whether or not any of the above works. Deriving the agent name rather than stating it is this PR's whole bet, and nothing tested it. Two evals now pin it:try-agent-reads-the-agent-namenamescrewai(agentvenue-scout) and grades that the response does not settle on a name it has not read —schedule-plannerabove all, which the old prompt stated, which the old generated install data carried, and which the model has every reason to reach for. One LLM grader on the claim, with a carve-out for naming it only to say it is langgraph's, plus anot_containsonworkflows/schedule-plannerin the console link.try-agent-declines-a-framework-without-a-samplenameslanggraphjs— one letter from the default — and grades that the response says there is no crash-test sample instead of improvising, or quietly runninglanggraphin its place.Both run with the usual
[Read, Glob, Grep, Skill], so they grade what the model commits to before reading, not an actual clone. That is a weaker assertion than I would like, but it catches the confident-wrong-name failure, which is the one that produces a badcatalyst_applyand a console link to a workflow that does not exist.New gate:
variant_eval_driftEach variant prompt is the command's body plus the line a user would add — a second copy with nothing holding it in place.
check_mcp_surface.pyalready enforces thatevals/starter-<x>-loads-a-skillcopiescommands/try-<x>.mdverbatim; it now also enforces that anevals/try-<x>-*prompt opens with that body. Tests ship with it in the shape the file already uses: a passing control, a drifted body, a near-miss paraphrase, a variant naming no command, and a starter eval that must not be mistaken for one.Version bump
0.7.1→0.8.0. The first commit touchedcommands/, whichcheck_version_bump.pycovers, and I had not bumped it — this PR would have failed CI as originally opened.feattakes a minor bump here, matching the history.🤖 Generated with Claude Code