How ucsb-ai/gea works
GEA is a research system for evolving groups of coding agents through shared experience. The main workflow starts at GEA_outer.py, which coordinates repeated self-improvement steps: agents are prompted to modify their coding behavior, evaluated on SWE-bench or Polyglot tasks, and their results inform subsequent evolution. The coding agents use language-model APIs and tools to work on repository issues; evaluation runs them in Docker-based benchmark environments and produces reports. The graph reflects documented capabilities and source-index references; several internal implementation details were not sampled, so some documented subsystem links use the README as evidence.
Main entry points: self_improve_step.py Self-Improvement Step · GEA_outer.py GEA Coordinator · harness.py Polyglot Harness · coding_agent.py SWE Coding Agent
Components 22
Evolution Loop
- GEA Coordinator
GEA_outer.py - Self-Improvement Step
self_improve_step.py - Improvement Prompts
prompts/self_improvement_prompt.py - Diagnosis Prompt
prompts/diagnose_improvement_prompt.py
Coding Agents
- SWE Coding Agent
coding_agent.py - Polyglot Coding Agent
coding_agent_polyglot.py - Tool-Enabled LLM
llm_withtools.py - LLM Client
llm.py - Agent Tools
tools - Test Instructions
prompts/testrepo_prompt.py
Benchmark Evaluation
- SWE-bench Harness
swe_bench/harness.py - SWE-bench Reports
swe_bench/report.py - Polyglot Harness
polyglot/harness.py - Polyglot Image Builder
polyglot/docker_build.py - Polyglot Evaluation
polyglot/run_evaluation.py
Shared Support
- Docker Helpers
utils/docker_utils.py - Common Utilities
utils/common_utils.py - Evolution Utilities
utils/evo_utils.py - Git Utilities
utils/git_utils.py - Test Log Parsers
utils/swe_log_parsers.py
Other components
- GEA Operator
- Docker Runtime
Connections 36
- GEA Operator → GEA Coordinator: runs
README.md - GEA Coordinator → Self-Improvement Step: runs steps
GEA_outer.py - GEA Coordinator → Improvement Prompts: uses prompts
GEA_outer.py - GEA Coordinator → Common Utilities: uses utilities
GEA_outer.py - GEA Coordinator → Docker Helpers: uses utilities
GEA_outer.py - GEA Coordinator → Evolution Utilities: uses utilities
GEA_outer.py - Self-Improvement Step → Improvement Prompts: builds prompts
self_improve_step.py - Self-Improvement Step → Diagnosis Prompt: requests diagnosis
self_improve_step.py - Self-Improvement Step → LLM Client: requests responses
self_improve_step.py - Self-Improvement Step → SWE-bench Harness: evaluates SWE
self_improve_step.py - Self-Improvement Step → Polyglot Harness: evaluates Polyglot
self_improve_step.py - Self-Improvement Step → SWE-bench Reports: requests reports
self_improve_step.py - Self-Improvement Step → Common Utilities: uses utilities
self_improve_step.py - Self-Improvement Step → Evolution Utilities: uses utilities
self_improve_step.py - Self-Improvement Step → Docker Helpers: uses utilities
self_improve_step.py - SWE Coding Agent → Tool-Enabled LLM: requests model
coding_agent.py - SWE Coding Agent → Git Utilities: uses Git
coding_agent.py - SWE Coding Agent → Agent Tools: uses tools
- Tool-Enabled LLM → LLM Client: uses client
llm_withtools.py - Tool-Enabled LLM → Agent Tools: dispatches tools
llm_withtools.py - Polyglot Coding Agent → Tool-Enabled LLM: requests model
coding_agent_polyglot.py - Polyglot Coding Agent → Git Utilities: uses Git
coding_agent_polyglot.py - SWE-bench Harness → SWE Coding Agent: runs agent
swe_bench/harness.py - SWE-bench Harness → Docker Runtime: runs containers
swe_bench/harness.py - SWE-bench Harness → Test Instructions: uses test guidance
swe_bench/harness.py - Polyglot Harness → Polyglot Coding Agent: runs agent
polyglot/harness.py - Polyglot Harness → Docker Runtime: runs containers
polyglot/harness.py - Polyglot Harness → Polyglot Image Builder: builds images
polyglot/harness.py - Polyglot Harness → Test Instructions: uses test guidance
polyglot/harness.py - Polyglot Evaluation → Polyglot Image Builder: uses image builder
polyglot/run_evaluation.py - Polyglot Image Builder → Docker Helpers: uses helpers
polyglot/docker_build.py - Polyglot Image Builder → Docker Runtime: builds images
polyglot/docker_build.py - Improvement Prompts → Common Utilities: reads files
prompts/self_improvement_prompt.py - Improvement Prompts → Docker Helpers: logs safely
prompts/self_improvement_prompt.py - SWE Coding Agent → Test Instructions: uses test guidance
- SWE-bench Reports → Test Log Parsers: parses test logs