Codex Self-Improving Loop Uses DeepSeek to Refine Prompts
codex-self-improving-loop is an open-source workflow framework designed to run iterative self-improving agent cycles within Codex using DeepSeek. The system uses a multi-agent architecture where DeepSeek executes tasks from prompt.md, an evaluator role (Luna) grades each run, and a prompt-rewriter role (Sol) updates the prompt file based on feedback until completion.
Iterative prompt refinement loops drastically reduce manual prompt engineering by making prompt.md an evolving artifact.
- –Combines cost-effective models like DeepSeek with evaluation and rewriting subagents.
- –Employs a continuous loop (execute -> grade -> rewrite) to optimize task completion.
- –Demonstrates how multi-model orchestration can automate complex developer workflows without relying solely on single expensive frontier models.
DISCOVERED
46d ago
2026-08-09
PUBLISHED
46d ago
2026-08-09
RELEVANCE
AUTHOR
Av1dlive