lattice
bởi cnf6682
DevOps & CloudTóm tắt
Initialize and manage Lattice organizations — a file-based operating system for AI agent teams that enables stable.
Mô tả
Kỹ năng này làm gì
Lattice is a file-based operating system for AI agent teams. It structures development work as an 8-phase pipeline (Constitute → Research → Specify → Plan → Implement → Test → Review → Gap Analysis), with each phase's state written to disk so agents can resume across sessions without context loss. When an agent gets stuck, a three-tier system handles recovery automatically: retry with a stronger model, consult multiple models in parallel, or auto-triage to relax constraints, defer, or flag for human review.
File-driven state avoids the context window overflow and drift that derail agents in chat-based workflows, letting tasks complete reliably over hours or days.
Khi nào nên dùng
- Running a multi-day refactor across agent sessions without losing progress
- Assigning cheaper models to code-writing phases and stronger models to planning phases to cut token costs
- Automatically unblocking a stuck agent without manual intervention
- Running several software projects in parallel on independent cron schedules
- Setting up a structured department and project hierarchy for a new agent team
Quy trình ví dụ
User asks: Set up a Lattice org for my backend API project with Engineering and QA departments
- 1
Asks for org name, target directory, department names, and optional first project details
- 2
Copies templates/ORG/ to the target directory and customizes ORG_README.md with Engineering and QA departments
- 3
Scaffolds department directories from the example-dept template, filling in names and resetting STATE.json
- 4
Configures PIPELINE_STATE.json with per-phase model assignments and escalation chain based on user input
- 5
Creates a cron job running the orchestrator prompt every 30 minutes and reports the job ID
ORG/ directory created at /workspace/ORG/ with Engineering and QA departments, one project configured with pipeline state, and an orchestrator cron job scheduled every 30 minutes
Yêu cầu
- API keys for each AI model provider assigned to pipeline phases (e.g., Anthropic, OpenAI, Google)
Cài đặt
clawhub install cnf6682/latticeChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.