greatminds¶
greatminds coordinates a fleet of coding agents through a filesystem state machine. A task's directory is its state, a move between directories is the handoff, and appended blocks in the task file record the work that happened.
Use it when several agents need to share one repository without a database or a central queue service. The default setup includes planning, implementation, testing, documentation review, final review, stand evidence, inbox messages, heartbeats, and a launcher for tmux-based fleets.
What you get¶
- Editable project configuration under
coordination/, includingcoord.yaml,PROJECT.md, MCP/plugin config, and stand profile registry files. - Runtime/system state under
.greatminds/, including queues such asfeature_inbox/,feature_plan/,feature_dev/,feature_docs/,feature_test/,feature_review/, andverified/. - A
greatmindsCLI for task moves, inbox messages, stand leases, role rendering, journal views, agent diagnostics, watchdog checks, and fleet launch, plus VS Code workspace/cockpit tasks. - A per-project daemon that watches inboxes, queue files, and stand state, then wakes or drives the owning role.
Quickstart¶
Install the package and bootstrap a project:
pip install greatminds
mkdir -p /tmp/greatminds-demo
cd /tmp/greatminds-demo
greatminds setup --session myproject
List supported agent tools and their execution modes:
greatminds agent tools
greatminds agent tools --json
The packaged adapters support:
claude: Claude Code, including project-local settings and configured Claude marketplace plugins.codex: OpenAI Codex, using the single machine Codex login plus generated per-role profile sources under.greatminds/.codex-home/<role>/.cursor: Cursor agent for live panes and one-shot driven turns.cline: Cline CLI for live panes and one-shot driven turns.gemini: Gemini CLI for live panes and one-shot driven turns.openhands: OpenHands CLI for live panes and one-shot driven turns, after its machine-level LLM/runtime configuration is in place.
Window modes in coordination/coord.yaml:
chat: a live tmux pane for an operator-facing conversation.loop: a resident watchdog pane that wakes on its own timer.staged: a tmux pane with the start command pre-typed, so the operator starts that role manually when needed.driven: no live pane;coorddstarts one driven turn when work lands in the role's queue, inbox, or stand event stream. Claude and Codex use stateful drivers; Cursor, Cline, Gemini, and OpenHands use one-shot headless subprocess drivers.
Choose which tool runs each role in coordination/coord.yaml:
| Role | Default tool | Default mode |
|---|---|---|
ARCHITECT-PLANNER |
codex |
chat |
MAINTAINER |
claude |
loop |
LIVE-DEVELOPER |
claude |
staged |
ARCHITECT-REVIEWER |
codex |
driven |
DEVELOPER |
claude |
driven |
UI-DEVELOPER |
claude |
driven |
TECHNICAL-WRITER |
codex |
driven |
TESTER |
claude |
driven |
READER |
claude |
driven |
EXPLORER |
codex |
driven |
windows:
- name: planner
role: ARCHITECT-PLANNER
tool: codex
mode: chat
- name: dev
role: DEVELOPER
tool: claude
mode: driven
- name: reviewer
role: ARCHITECT-REVIEWER
tool: codex
mode: driven
Put machine-local project and stand variables in .greatminds/PROJECT.env:
cat > .greatminds/PROJECT.env <<'EOF'
STAND_HOST=localhost
STAND_USER=violet
EOF
The stand is a singleton live environment. coordd prepares it by running the
Ansible playbook selected by coordination/stand-profiles.yaml for the active
lease. Setup seeds reference profiles (smoke-only, full-deploy,
vite-dev), and projects add more entries to the registry when they need
additional stands such as production.
Start the daemon and launch the tmux fleet:
greatminds daemon install
greatminds daemon start
greatminds launch --target tmux
tmux a -t myproject
For VS Code, generate a workspace and cockpit tasks:
greatminds launch --target vscode
This writes .vscode/tasks.json and <session>.code-workspace with agent
terminals plus operator tasks for dashboard, driven logs, coordd, agent status,
agent tools, and stand status. The repository also ships a vscode-extension/
cockpit that calls the same greatminds CLI backend.
Next: Installation and First Project.