Idea · Jul 9, 2026
Agent Spec Sketchpad
A browser tool where developers write a YAML/JSON multi-agent workflow spec, instantly see it as an interactive graph, and export to LangGraph or CrewAI -- with Claude validating the spec and simulating one round of agent interactions.
What it would do
Developers paste or type a declarative YAML/JSON spec that names agents, defines their tools and handoff conditions, and describes the flow between them. The Sketchpad renders the spec as a live interactive DAG using a lightweight graph library. A 'Simulate' button sends the spec to Claude, which plays all agent roles for one turn and returns annotated output: which agent fired, what it returned, and whether the handoff condition was met. Errors (cycles with no exit, unreachable agents, undefined tool references) are flagged inline with inline red highlights on the YAML. An 'Export' button generates a working LangGraph Python file or a CrewAI crew definition. Built as a single-page app with no backend: the Claude API call is made directly from the browser using a user-supplied API key stored in sessionStorage. Inspired by the Kastor 'Show HN' launch, the Terraform-for-agents design trend, and the visual pipeline editors in n8n and Langflow.
Key features
- YAML/JSON spec editor with live DAG preview
- Claude-powered spec validation (cycles, dead ends, undefined tools)
- One-turn agent simulation with annotated trace
- Export to LangGraph Python and CrewAI crew definitions
- No backend: API key stored in sessionStorage only