Separate Responsibility & Multi-Agent Pattern for Spec Generation #6
vCode Admin
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Multi-Agent Spec Generation
Refactor Phase 2 (spec generation) from a single
spec_agentinto specialized agentsrunning in parallel, each responsible for one evaluator type. This reduces per-agent
context, improves focus, and enables independent retry on failure.
Proposed agents
dataset_agentlist[DatasetCase]inputs+expected+raisescases. Straightforward mapping — minimal LLM reasoning.assertion_agentlist[AssertionCase]output >= 0,len(output) == len(input),all(isinstance(x, int) for x in output), etc. Only assertions, no dataset.type_agentlist[IsInstanceCase]strict_typedecisions, per-case type overrides. Uses real type observations from exploration.composer_agentEvalsSource(final YAML)Execution flow
Benefits over single-agent
duration_agent,pattern_agent) without touching the othersDesign considerations
composer_agentdoesvalidate_and_fix_spec()as final stepcomposer_agentshould still produce a valid (partial) specBeta Was this translation helpful? Give feedback.
All reactions