codo-ai
v2.23.11
Published
The security-native AI coding agent. Six Sec-Test security personas, compliance-first /scraper, a business documents & research suite, and multi-agent Compose orchestration — spec-driven workflow engines in one terminal-first CLI.
Maintainers
Readme
>_ COdo
The security-native AI coding agent.
Spec it. Code it. Ship it. Secure it.
Website · Documentation · GitHub · Report Issue
npm install -g codo-ai
What is COdo?
COdo is a terminal-native, spec-driven AI coding agent — a fork of OpenCode with structured workflow orchestration, an autonomous multi-agent compose engine, and the all-new Sec-Test red security engine.
No browser tab. No separate app. No context-switching. Just you, your terminal, and an AI that knows what phase of the project you're in.
$ npm install -g codo-ai
$ cd my-project
$ codoWhy COdo?
| | Static linters | CI scanners | COdo Sec-Test | |---|---|---|---| | Finds design flaws pre-code | ✗ | ✗ | ✓ STRIDE threat modeling | | Noise level | False-positive flood | Late-stage flood | Evidence-first findings w/ PoC | | Runs where you work | ✗ | CI only | ✓ Your terminal | | Fixes vulnerabilities | Warnings only | Warnings only | ✓ Remediation diffs + mutation-backed tests |
Highlights
Sec-Test — Autonomous Security Orchestrator
Six specialist personas guarding the full lifecycle:
| Persona | Role |
|---|---|
| Security Architect | Pre-code STRIDE/DREAD threat modeling (OWASP ASVS mapped) |
| AppSec Engineer | Real-time SAST on diffs — OWASP Top 10:2025 / CWE Top 25, secrets, CVEs |
| DevSecOps Engineer | Pipeline hardening (NIST SSDF), SBOM (CycloneDX/SPDX), SLSA + Sigstore |
| Penetration Tester | Scope-gated live probing (PTES/WSTG) — refuses targets outside .codo/security-scope.json |
| Quality Engineer | Adversarial tests verified by mutation kill-rate |
| Security Engineer | Audits the agent itself; posture drift tracking |
$ /sec-test "Audit git diff for SQL injection and hardcoded secrets"
[1] Raw string concatenation in query builder
[2] Hardcoded fallback JWT secret ("dev-secret-key-12345")
→ Parameterized query fix applied · secret moved to env with startup validationWorkflow Engines
Switch methodology per project scale:
/workflow gsd— autonomous milestone planning, persistent.planning/state, survives context resets/workflow gstack— Garry Tan's 23-role virtual engineering team/workflow speckit— GitHub SDD spec-first pipeline/workflow vibemode— pure flow, zero overhead
Multi-Agent Compose
Complex tasks decompose into DAGs routed to specialist agents executing in parallel waves:
/compose "Build auth service with JWT, rate limiting & Sec-Test"
[A] Security Architect → threat model ┐ parallel
[B] Builder → implementation ├ wave
[C] AppSec Engineer → real-time SAST audit │
[D] Quality Engineer → mutation tests ┘Goal Judge
Declare outcomes, not tasks. An independent judge model verifies stop-conditions — the builder never self-approves.
/goal "All tests pass with >80% coverage and zero HIGH/CVEs"Business Suite
Production-grade office tooling as skills: xlsx-official, docx-official, pptx-official, pdf-official, deep-research, super-research, research-paper-writing, html-to-video-pipeline, sales.
Compliance-First Scraper
/scraper <url> <what to extract> — robots.txt honored, ToS checked, crawl-delays enforced, escalation ladder from static fetch to authenticated sessions.
Install
# Recommended
npm install -g codo-ai
# One-time run
npx codo-aiRequirements: Node 18+ or Bun · macOS / Linux / Windows · any provider API key (Anthropic, OpenAI, NVIDIA free tier, Google, or OpenAI-compatible).
Migrating from
@codo-ai/cli? That package is deprecated —codo-aireplaces it.
Documentation
Full developer docs — every persona, skill, workflow, permission mode, and best practice — live at codo-ai.vercel.app.
Contributing
PRs welcome on GitHub. Default branch: dev. Conventional commits.
License
MIT © Mohamed Salah
Built on OpenCode.
