damiansire/cognitive-substrate — explained in plain English
Analysis updated 2026-05-18
Give an AI agent a written goal and let it break it into tasks it executes and verifies on its own.
Run multiple AI-driven workspaces in parallel with a shared dashboard to monitor them.
Let an agent make file edits and shell changes safely inside a sandboxed or containerized workspace.
| damiansire/cognitive-substrate | ajr-khll/ghostty-config-cli | audemodo/audemodo-responsive-keepalive | |
|---|---|---|---|
| Stars | 28 | 28 | 28 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | — | easy | easy |
| Complexity | — | 2/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Cognitive Substrate is a local task runner that uses an AI model, Google Gemini, to work through goals you give it. You are not chatting with a bot here. Instead you write down a goal in a plain text file, and the system breaks that goal into a queue of smaller tasks, then works through them one at a time using an AI agent that can read and write files and run shell commands, but only inside its own workspace folder. Everything the system knows or has done lives as ordinary files you can open and edit yourself: the goal, the task list, a knowledge file, a dashboard, and a folder of evidence from past runs. Nothing is marked complete until it passes checks, and often a second, more skeptical AI review as well. The project also keeps a separate memory of immediate context versus longer term lessons learned, adding one distilled lesson after each run. The system can run multiple separate workspaces at the same time without blocking each other, and it can run continuously as a background process. It supports custom skill files that get offered to the agent when relevant. There is an evaluation harness for testing how well the system performs, a self improvement loop that turns failures into concrete proposed fixes, and governance features like spending budgets and an approval step that blocks dangerous commands when running autonomously. For safety, native shell commands are not treated as fully isolated. There is an optional container mode that runs commands inside Docker for real isolation, and a separate sandbox for running JavaScript snippets safely without Docker. The project is honest that without the container mode, a native shell can still reach outside the workspace, so it advises against running untrusted prompts on a machine you care about. You can also interact with the system through a few different interfaces: a command line tool, a terminal based visual interface, and a web dashboard, all sharing the same underlying data. Getting started requires Node.js version 18 or newer, and a Gemini API key is optional, since the system can run in a simulation mode without one. The project is released under the MIT license.
A local AI task runner where every piece of state is a plain file, and an AI agent works through goals inside a sandboxed workspace.
Mainly TypeScript. The stack also includes TypeScript, Node.js, Gemini.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.