|
| 1 | +# Cortex |
| 2 | + |
| 3 | +**The default starter brain for Taskade Genesis.** |
| 4 | + |
| 5 | +Fork this repo. Import into Taskade. Get a fully wired AI workspace in 60 seconds — 5 agents, 10 projects, 6 automations, 1 app — all connected and running. |
| 6 | + |
| 7 | +> Cortex is not a sample app. It is a working brain. You don't learn it. You use it. Then you make it yours. |
| 8 | +
|
| 9 | +--- |
| 10 | + |
| 11 | +## What's Inside |
| 12 | + |
| 13 | +### Intelligence — 5 Agents |
| 14 | + |
| 15 | +| Agent | Role | Emoji | |
| 16 | +|-------|------|-------| |
| 17 | +| **Strategist** | Think in tradeoffs, answer in options | ♟ | |
| 18 | +| **Editor** | Cut 30%, keep the nerve | ✂ | |
| 19 | +| **Researcher** | Find primary sources, cite everything | 🔍 | |
| 20 | +| **Critic** | Argue against whatever you just said | ⚖ | |
| 21 | +| **Builder** | Spec it, scope it, ship it | 🛠 | |
| 22 | + |
| 23 | +### Memory — 10 Projects |
| 24 | + |
| 25 | +- **Company Context** — who you are, what you sell, how you talk |
| 26 | +- **Decision Log** — every major call, reasoning, outcome |
| 27 | +- **5 Playbooks** — Hiring, Launch, Pricing, Fundraise, Support |
| 28 | +- **2 Libraries** — Mental Models & Frameworks, References |
| 29 | +- **Welcome** — onboarding guide to Cortex itself |
| 30 | + |
| 31 | +### Reflexes — 6 Automations |
| 32 | + |
| 33 | +- **Daily Standup** — morning cron that pulls tasks and summarizes blockers |
| 34 | +- **Decision Council** — webhook triggers 3 agents to debate and synthesize |
| 35 | +- **Weekly Review** — Friday evening scores the week and plans the next |
| 36 | +- **Inbox Triage** — classifies incoming messages and routes to the right agent |
| 37 | +- **Incident Response** — assembles a team and creates a war room |
| 38 | +- **Monday Planning** — reviews goals and seeds the week's priorities |
| 39 | + |
| 40 | +### Interface — 1 Genesis App |
| 41 | + |
| 42 | +A multi-route React SPA with dashboard, council, journal, and library views — all wired to the agents and projects above. |
| 43 | + |
| 44 | +--- |
| 45 | + |
| 46 | +## Quick Start |
| 47 | + |
| 48 | +### Option A: Fork and Import (recommended) |
| 49 | + |
| 50 | +1. **Fork** this repo |
| 51 | +2. Go to your Taskade workspace |
| 52 | +3. **Import** → select `cortex.tsk` (or point at your fork's URL) |
| 53 | +4. All 5 agents, 10 projects, 6 automations, and the app appear — wired and running |
| 54 | + |
| 55 | +### Option B: Clone and Customize |
| 56 | + |
| 57 | +```bash |
| 58 | +git clone https://github.com/taskade/cortex.git |
| 59 | +cd cortex |
| 60 | +npm install |
| 61 | +``` |
| 62 | + |
| 63 | +Edit any JSON file under `agents/`, `projects/`, `automations/`, or `apps/`. |
| 64 | + |
| 65 | +```bash |
| 66 | +npm run validate # Check structural integrity |
| 67 | +npm run summary # Print artifact counts and IDs |
| 68 | +npm run assemble # Build cortex.tsk bundle |
| 69 | +``` |
| 70 | + |
| 71 | +Then import the generated `cortex.tsk` into Taskade. |
| 72 | + |
| 73 | +--- |
| 74 | + |
| 75 | +## Repo Layout |
| 76 | + |
| 77 | +``` |
| 78 | +cortex/ |
| 79 | +├── manifest.json Bundle metadata |
| 80 | +├── cortex.tsk One-click import bundle (generated) |
| 81 | +│ |
| 82 | +├── agents/ Intelligence layer |
| 83 | +│ ├── strategist.json |
| 84 | +│ ├── editor.json |
| 85 | +│ ├── researcher.json |
| 86 | +│ ├── critic.json |
| 87 | +│ └── builder.json |
| 88 | +│ |
| 89 | +├── projects/ Memory layer |
| 90 | +│ ├── company-context.json |
| 91 | +│ ├── decision-log.json |
| 92 | +│ ├── playbook-*.json (5 playbooks) |
| 93 | +│ ├── library-*.json (2 libraries) |
| 94 | +│ └── welcome.json |
| 95 | +│ |
| 96 | +├── automations/ Reflexes layer |
| 97 | +│ ├── daily-standup.json |
| 98 | +│ ├── decision-council.json |
| 99 | +│ ├── weekly-review.json |
| 100 | +│ ├── inbox-triage.json |
| 101 | +│ ├── incident-response.json |
| 102 | +│ └── monday-planning.json |
| 103 | +│ |
| 104 | +├── apps/ |
| 105 | +│ └── default.json Genesis app (React SPA, must be "default") |
| 106 | +│ |
| 107 | +├── examples/ Blank templates for creating new artifacts |
| 108 | +│ ├── agent-template.json |
| 109 | +│ ├── project-template.json |
| 110 | +│ └── automation-template.json |
| 111 | +│ |
| 112 | +├── docs/ Guides |
| 113 | +│ ├── GENESIS-101.md |
| 114 | +│ ├── AGENT-GUIDE.md |
| 115 | +│ ├── PROJECT-GUIDE.md |
| 116 | +│ ├── AUTOMATION-GUIDE.md |
| 117 | +│ ├── APP-KIT-SPEC.md |
| 118 | +│ └── FORK-AND-CUSTOMIZE.md |
| 119 | +│ |
| 120 | +└── scripts/ Tooling |
| 121 | + ├── validate.mjs |
| 122 | + ├── summary.mjs |
| 123 | + └── assemble.mjs |
| 124 | +``` |
| 125 | + |
| 126 | +--- |
| 127 | + |
| 128 | +## Customization |
| 129 | + |
| 130 | +Every JSON file is a standalone artifact. Swap any of them: |
| 131 | + |
| 132 | +- **Replace an agent** — copy `examples/agent-template.json` into `agents/`, write your persona prompt, delete the old one |
| 133 | +- **Add a project** — copy `examples/project-template.json` into `projects/`, structure your content, save |
| 134 | +- **Modify a flow** — edit trigger/action pairs in `automations/*.json` |
| 135 | +- **Redesign the app** — edit the FileSystemTree in `apps/cortex.json` |
| 136 | + |
| 137 | +See [docs/FORK-AND-CUSTOMIZE.md](docs/FORK-AND-CUSTOMIZE.md) for a step-by-step guide. |
| 138 | + |
| 139 | +--- |
| 140 | + |
| 141 | +## Scripts |
| 142 | + |
| 143 | +| Command | What it does | |
| 144 | +|---------|-------------| |
| 145 | +| `npm run validate` | Structural integrity checks on all JSON artifacts | |
| 146 | +| `npm run summary` | Print artifact counts and IDs | |
| 147 | +| `npm run assemble` | Build `dist/workspace.json` + `cortex.tsk` | |
| 148 | +| `npm run ci` | Run summary + validate (used in GitHub Actions) | |
| 149 | + |
| 150 | +--- |
| 151 | + |
| 152 | +## Documentation |
| 153 | + |
| 154 | +- [GENESIS-101](docs/GENESIS-101.md) — What is Genesis? The 4 DNA layers |
| 155 | +- [AGENT-GUIDE](docs/AGENT-GUIDE.md) — How to write a good agent prompt |
| 156 | +- [PROJECT-GUIDE](docs/PROJECT-GUIDE.md) — How to structure memory projects |
| 157 | +- [AUTOMATION-GUIDE](docs/AUTOMATION-GUIDE.md) — Triggers, actions, piece library |
| 158 | +- [APP-KIT-SPEC](docs/APP-KIT-SPEC.md) — FileSystemTree, Parade engine, SSE |
| 159 | +- [FORK-AND-CUSTOMIZE](docs/FORK-AND-CUSTOMIZE.md) — Step-by-step customization |
| 160 | + |
| 161 | +--- |
| 162 | + |
| 163 | +## License |
| 164 | + |
| 165 | +[MIT](LICENSE) |
| 166 | + |
| 167 | +--- |
| 168 | + |
| 169 | +Built by [Taskade](https://taskade.com). Fork it. Make it yours. Ship it. |
0 commit comments