Remember
1. Keeps memory between sessions
Episodes, facts, procedures and censors stay in PostgreSQL and come back in later sessions.
The AI agent that remembers, checks its own work and gets better with use. Version 1.2.0, Apache-2.0, on PostgreSQL 17.
Before it acts, Nous recalls similar past decisions and checks its guardrails. It records the choice with its reasons and confidence, then reviews it against what happened.
See how the Brain worksPin CI to Node 22 after the build failed on 20
Reasons
Deliberation
.nvmrc and the CI image, then rerun.Remember
Episodes, facts, procedures and censors stay in PostgreSQL and come back in later sessions.
Decide
Each significant choice is saved with its reasons and confidence, then reviewed against the outcome.
Learn
Good decisions, episode lessons and error recoveries become procedures once they pass a lesson gate.
.nvmrc and the CI imageVerify
Side-effecting tool calls go into a durable ledger. After each turn, what Nous says it did is checked against it.
bash · npm testexit 0bash · gh pr createexit 0write_file · notes/ci.mdlocal writeAct on its own
Heartbeat checks, schedules, background subtasks and multi-step plans run without a message from you.
Guardrails
Censors and guardrails stop a matching action before it runs, so a rule holds when the prompt forgets it.
git push --force origin mainMost agents are good for one conversation and blank the next. Nous is built to run for months.
Nous frames the situation, rebuilds the context it needs, checks guardrails and past decisions, acts, compares what it claimed with what ran, then learns from the result.
A sleep cycle feeds what was learned back into recall.
See the architecturebash · npm ci, bash · npm test2 callsClone the repository, put your Anthropic API key in .env and start the containers. Migrations run on startup.
$ git clone https://github.com/tfatykhov/nous.git $ cd nous $ cp .env.example .env # set ANTHROPIC_API_KEY $ docker compose up -d ✔ Container nous-postgres Started ✔ Container nous-agent Started ✔ Container nous-scorer Started ✔ Container nous-telegram Started $ curl http://localhost:8000/health {"status":"healthy"} $ curl -X POST http://localhost:8000/chat \ -H "Content-Type: application/json" \ -d '{"message": "Hello, who are you?"}'
4
database schemas in one PostgreSQL
5
tools on its MCP server
6
cognitive frames in the seed data
Short answers, taken from the repository's own docs.
Read the full quickstartYes, under the Apache 2.0 licence, on GitHub.
Python 3.12+ and PostgreSQL 17 with pgvector, in Docker Compose.
Claude, through the Anthropic API. An optional OpenAI key turns on embeddings.
Yes. Its memory stays in PostgreSQL and comes back in later conversations.
Over the REST API, through its MCP server, or with the optional Telegram bot.
Its memory stays in the database volume. docker compose down -v deletes it.