AgentSys is a modular runtime and orchestration system for AI agents. These docs cover the architecture, commands, and workflows — how agents compose into pipelines, how phases gate execution, and how state persists across sessions.
New here? Start with USAGE.md to see commands in action.
| Document |
Description |
| INSTALLATION.md |
Install via marketplace or npm. Prerequisites. Verification. |
| USAGE.md |
Command examples, common workflows, tips. |
| Command |
Purpose |
/next-task |
Task discovery → implementation → review → ship |
/ship |
Push → PR → CI → reviews → merge → deploy |
/deslop |
3-phase slop detection and cleanup |
/audit-project |
Multi-agent code review |
/drift-detect |
Compare docs to actual code |
/repo-map |
Build cached AST repo map |
/perf |
Performance investigation workflow |
/enhance |
Analyze prompts, plugins, agents, docs, hooks, skills |
/sync-docs |
Sync docs with code changes |
orchestrate-review — Defines review passes and signal thresholds for the Phase 9 review loop
| File |
Location |
Purpose |
tasks.json |
{state-dir}/ |
Which task is active |
flow.json |
{state-dir}/ (worktree) |
Which phase you're in |
preference.json |
{state-dir}/sources/ |
Cached task source preference |
repo-map.json |
{state-dir}/ |
Cached AST repo map |
State directories by platform:
- Claude Code:
.claude/
- OpenCode:
.opencode/
- Codex CLI:
.codex/
| Model |
Used For |
| opus |
Complex reasoning (exploration, planning, implementation, review) |
| sonnet |
Pattern matching (slop detection, validation, discovery) |
| haiku |
Mechanical execution (worktree, simple-fixer, ci-monitor) |
| Level |
Meaning |
Auto-Fix? |
| CRITICAL |
Security issue |
Yes (with warning) |
| HIGH |
Definite problem |
Yes |
| MEDIUM |
Probable problem |
No |
| LOW |
Possible problem |
No |
When working in the repo directly, you can sanity-check detection and tooling:
npm run detect # Platform detection (CI, deploy, project type)
npm run verify # Tool availability + versions