|
6 | 6 |
|
7 | 7 | [](https://github.com/PyAutoLabs/PyAutoScientist) [](https://pyautoscientist.readthedocs.io) |
8 | 8 |
|
9 | | -The reasoning layer of the PyAuto organism. Brain figures out *how* work |
10 | | -gets done: it classifies incoming tasks, plans them, and routes them to |
11 | | -specialist agents, delegating execution to the other organs. It holds no |
12 | | -state, runs no health checks, and never releases anything itself. |
13 | | - |
14 | | -The organism is described once in [ORGANISM.md](ORGANISM.md). The short |
15 | | -version: |
16 | | - |
17 | | -| Organ | Repo | Job | |
18 | | -|-------|------|-----| |
19 | | -| Mind | PyAutoMind | what to do — intent, priorities, workflow state | |
20 | | -| Brain | PyAutoBrain (this repo) | how to do it — reasoning, planning, routing | |
21 | | -| Heart | PyAutoHeart | is it healthy — the release-readiness verdict | |
22 | | -| Hands | PyAutoHands | do it — packaging, tagging, PyPI releases | |
23 | | -| Memory | PyAutoMemory | what we know — long-term scientific knowledge | |
24 | | -| Gut | PyAutoGut | what we shed — condemned branches, stashes and dead code, held recoverably then voided | |
25 | | - |
26 | | -Agents live under `agents/` in two tiers: **conductors** (front doors a |
27 | | -human drives; they decide and act) and **faculties** (read-only judgments |
28 | | -the conductors consult). Humans mostly reach them through short slash |
29 | | -commands — `/intake`, `/feature`, `/bug`, `/health`, `/route` — whose |
30 | | -bodies live in `skills/`. |
| 9 | +**PyAutoBrain is the Brain of the PyAutoScientist** — the reasoning layer that |
| 10 | +turns intent into shipped software. It decides *how* work gets done: it |
| 11 | +classifies each task, plans it, and routes it to specialist agents — and it |
| 12 | +delegates everything else: it holds no state (the Mind's job), runs no health |
| 13 | +checks (the Heart's), and never releases anything itself (the Hands'). |
| 14 | + |
| 15 | +You drive it in plain English, through short slash commands in a Claude Code |
| 16 | +chat: `/intake` to file an idea, `/start_dev` to begin a task, `/health` for a |
| 17 | +check-up — or just `/route <what you want>` and the Brain picks the right |
| 18 | +door. The full command surface (13 conductors + 5 faculties) is the generated |
| 19 | +table in [AGENTS.md](AGENTS.md). |
| 20 | + |
| 21 | +## How PyAutoBrain works |
| 22 | + |
| 23 | +1. **A task arrives.** Usually from the Mind's backlog — pick a task on the |
| 24 | + [PyAutoMind dashboard](https://pyautolabs.github.io/PyAutoMind/) and paste |
| 25 | + its `/start_dev` command — or free-form, via `/route` or any conductor's |
| 26 | + own door. |
| 27 | +2. **A conductor takes it.** Conductors ([`agents/conductors/`](agents/conductors)) |
| 28 | + are the front doors a human drives; they decide *and* act: `intake` |
| 29 | + conceives tasks, `feature`/`bug`/`refactor` plan development, `health` |
| 30 | + runs the clinic, `release` drives a release, and so on. |
| 31 | +3. **Faculties advise.** Faculties ([`agents/faculties/`](agents/faculties)) |
| 32 | + are read-only opinions the conductors consult: `vitals` reads the Heart's |
| 33 | + verdict, `sizing` estimates difficulty, `memory` recalls what the organism |
| 34 | + knows, `review` judges a branch. A conductor never consults another |
| 35 | + conductor — an opinion worth sharing becomes a faculty. |
| 36 | +4. **The organs execute.** Always in the same order — **Brain → Heart (gate) |
| 37 | + → Hands (execute)**: work happens on task worktrees, ships as pull |
| 38 | + requests behind the Heart's health verdict, and is packaged and released |
| 39 | + by the Hands. |
| 40 | +5. **Autonomy is a contract.** How much a run may do without a human is |
| 41 | + defined per task in [AUTONOMY.md](AUTONOMY.md) — a safe-capped task may |
| 42 | + carry itself to an open pull request; merging and releasing always stay |
| 43 | + human. |
| 44 | + |
| 45 | +## CLI examples |
| 46 | + |
| 47 | +The same agents are runnable directly — every slash command is a verb of one |
| 48 | +CLI, which runs straight from this checkout (no pip install): |
31 | 49 |
|
32 | 50 | ```bash |
33 | | -bin/pyauto-brain help # list the agents |
34 | | -bin/pyauto-brain vitals # one health tick + the dashboard card |
35 | | -bash bin/install.sh # symlink every organ's skills into ~/.claude |
| 51 | +bin/pyauto-brain help # list every conductor and faculty |
| 52 | +bin/pyauto-brain route "fix the failing lens smoke test" # plain English in |
| 53 | +bin/pyauto-brain vitals # read the Heart's readiness verdict |
| 54 | +bash bin/install.sh # symlink every organ's skills into ~/.claude |
36 | 55 | ``` |
37 | 56 |
|
38 | | -Runs straight from its checkout — no pip install. Agent contracts and the |
39 | | -organ boundary are in [AGENTS.md](AGENTS.md); how much a run may do without |
40 | | -a human is the autonomy contract, [AUTONOMY.md](AUTONOMY.md). The full |
41 | | -organism documentation — including how to fork and run your own — is at |
42 | | -<https://pyautoscientist.readthedocs.io> (source: `docs/`). |
| 57 | +The seven organs the Brain coordinates — Mind (intent), Brain (reasoning), |
| 58 | +Heart (health), Hands (release), Memory (knowledge), Gut (shedding), Nerves |
| 59 | +(configuration) — are defined once in [ORGANISM.md](ORGANISM.md), which this |
| 60 | +repo hosts. Agent contracts and the generated command table are in |
| 61 | +[AGENTS.md](AGENTS.md). The full organism documentation — including how to |
| 62 | +fork it and lead your own — is at <https://pyautoscientist.readthedocs.io>, |
| 63 | +whose source lives here in [`docs/`](docs). |
0 commit comments