Show HN: Legioni – a bunch of AI agents always with you Legioni, a team of AI coding agents that coordinates work and learns from every task, has been released as an open-source tool. The agents plan, implement, review, and test code, with lessons from each session being promoted to improve future performance. Legioni requires the opencode tool and supports multiple programming languages and frameworks. A team of AI coding agents that coordinates your work and learns from every task. Requires opencode https://github.com/anomalyco/opencode . one-time install needed for promote, install, upgrade-team npm install -g legioni cd your-project legioni init detects stack, compiles agents Or without installing anything: cd your-project npx legioni init Then start opencode and type your task: opencode @orchestrator add a truncate text, max len, suffix='...' function with tests That's it. The orchestrator plans the work, delegates to specialist agents, and loops until tests pass. You watch. orchestrator → architect → plan.md → implementer → code + tests → reviewer → passes or fails → test-strategist → edge cases + full suite ← done: code is written, tested, and reviewed After the session, the agents propose lessons from what they learned: legioni promote review each lesson, approve or reject legioni install recompile agents with the approved lessons Next task, those lessons are active. The team gets better each time. | Project | Language | Tests | What happened | |---|---|---|---| | Apache Commons Compress | Java / Maven | 1890 | All pass, reviewer ran real mvn test | | Apache Commons Text | Java / Maven | 1890 | All pass, orchestrator fixed corrupted existing code, reviewer verified | | truncate function | Python / pytest | 13 | Architect's spec had arithmetic errors, reviewer caught them, implementer fixed | | slugify + Unicode | Python / pytest | 50 | Implementer missed Nordic letters, reviewer failed it, implementer fixed on cycle 2. Lesson promoted. Next project, caught on first pass. | bash $ legioni init Running project recon ... done → .legioni/project.md Compiling team → opencode agents ... done → ~/.config/opencode/agent/architect.md → ~/.config/opencode/agent/implementer.md → ~/.config/opencode/agent/orchestrator.md → ~/.config/opencode/agent/reviewer.md → ~/.config/opencode/agent/test-strategist.md → ~/.config/opencode/agent/db-expert.md legioni init complete. On a real project, recon detects your stack: .legioni/project.md auto-generated Stack - Language: Java - Framework: Maven Commands - Build: mvn compile - Test: mvn test - Targeted test: mvn test -Dtest=