Skip to content
v1.2 Open Source · Apache-2.0 · Cloud beta waitlist open

Your agents forget. Myco remembers, with provenance.

An open-source memory layer for AI agents that self-hosts on your own Postgres and runs with no API keys. The program writes the facts, not the LLM, so every fact it keeps carries a source, a confidence score, and an audit trail.

Free and open source to self-host · No API keys required to start

myco · demo corpuspreview
brain_search
brain_context_pack
brain_why
U
Deterministic write path: hallucinations constrained outEvery accepted fact traces to its source (brain_why)One MCP server: every agent shares the same memoryYour data stays in your own Postgres

One memory · every MCP client

Claude CodeClaude DesktopCursorCodexWindsurfContinueZedCustom MCP agents
0%
end-to-end QA · full 500-q LongMemEval, no sampling
0%
recall@5 with the recency reranker · full 500-q
0
API keys required to run
1
docker compose up to boot
Install in minutes

From clone to a connected agent, in minutes.

One docker compose up boots the whole stack, no API keys required to start. Then paste one command into Claude Code, Cursor, Codex, Claude Desktop, Windsurf, or any MCP client.

Clone and start, no API keys required
git clone https://github.com/thegoodguysla/myco-brain.git cd myco-brain docker compose up -d

Starts Postgres 16 + pgvector, the MCP server, and the extraction worker, with a seeded workspace, so it works with zero configuration. Full-text search and ingestion work immediately, no API keys, and with local Ollama embeddings, semantic search is keyless too.

New in 1.2.1

Turn your ChatGPT or Claude history into memory.

Point Myco at your data export and every conversation becomes searchable, provenance-tracked memory, one document per conversation, on your own Postgres.

mycobrain-ingest --from chatgpt-export ./export.zip mycobrain-ingest --from claude-export ./export.zip
The active branch only

Branched ChatGPT conversations import the transcript you kept, not the regenerations you threw away.

Re-imports are safe

Content-hash dedup means importing the same export twice never multiplies your memory.

Every fact traces back

Ask brain_why and each imported fact links to the exact conversation in your export.

This is what it feels like when your AI actually remembers.

These aren’t hypothetical, they’re the verified demos from the README. Run them yourself with the included demo corpus: recall, sharing, and provenance need zero API keys; the graph demo runs fully local with Ollama.

Cross-session recall
Save a memory: the board meeting is every Wednesday at 9 AM Pacific. Then, in a fresh session: What time is the board meeting?

The new session retrieves the stored fact instead of relying on chat history. That's cross-session recall.

Cross-agent shared memory
Write a fact from Claude Desktop. Ask for it from Cursor.

Both clients read the same shared memory, because the source of truth is Postgres, not a single chat thread.

Provenance for answers
Show me the source for that.

brain_why returns the provenance chain, “Supported by 4 mentions across 4 source documents”, not a trust-me summary.

Graph relationships
Show related entities for this client and explain how they connect.

Graph queries surface connected people, documents, and entity-to-entity edges, not flat vector matches. Buildable locally with Ollama, no API key.

Five verified demos ship in the README, every answer traced back to its source document.

Industries

Where Myco is indispensable.

Tell us who you are and your industry, and see exactly what becomes possible, in the industries where memory you can audit is a requirement, not a nice to have.

FinTech

Regulated

The problem: Regulators now demand a replayable audit trail for every AI decision.

What you can build

Wire your fraud or ops agent to one memory layer with an RLS-enforced, replayable decision trail. Access control is deterministic, not LLM-trusted.

Why Myco: Every decision traces to its source and rule via brain_why, the program writes the facts (no silent hallucination into the record), and it self-hosts so financial data never leaves your VPC.

Stateless agents forget. Black-box memory can't be trusted.

Your agents start from zero every session, so you re-explain the same context forever. The memory that does exist is a black box: it rewrites itself silently, with no way to see where a fact came from or whether it still holds. Worse, recent research shows the damage compounds: agents fed noisy history degrade, and swapping in clean records restores behavior. The failure stays silent until production is already paying the price.

AGENTS FORGET
Every session starts from zero
Stateless agents lose everything between sessions. You re-explain the same context again and again, and nothing your team learns ever compounds.
YOU CAN'T VERIFY
Black-box memory you can't inspect
The memory that exists rewrites itself silently behind an API. You can't see where a fact came from, whether it's still true, or how to roll back a bad one.
NOISE COMPOUNDS
Bad memory poisons good decisions
Duplicates, hallucinations, and malformed entries pile up unnoticed. Bad retrieval compounds into bad decisions and wasted tokens.

Built for builders serious about AI.

If your agents forget, this is for you. Whether you’re a developer shipping to production, a vibecoder moving fast, a team putting AI in your product, or an agency running agents across clients, Myco is the memory layer underneath.

Developers
The pain
Agents that contradict each other, no shared source of truth, and bespoke RAG glue that breaks and drifts as you ship to production.
The value
One MCP server gives every agent trustworthy, source-backed memory you own. The program writes the facts, not the LLM.
Memory infrastructure on your own Postgres, without building it yourself.
Explore this path
Vibecoders
The pain
You move fast with Cursor and Claude, but every project re-implements the same fragile memory plumbing.
The value
Wire up one MCP server and your agent remembers, with receipts. Keyless and free to run, no infra to build.
Ship the product, not the plumbing.
Explore this path
Teams building AI products
The pain
Customer-facing AI that doesn't know the customer. Product intelligence that never improves. Token costs growing faster than the value.
The value
AI that knows purchase history, support history, and account context, without stuffing it all into every prompt.
Token-budgeted context packs instead of whole documents in every prompt.
Explore this path
Agencies and consultancies
The pain
Running agents across many client accounts and losing the thread between sessions.
The value
Each client in an isolated workspace, every agent walking in already knowing the account history.
A new agent onboards to a client in seconds, not hours.
Explore this path
Myco icon

We hit this wall at our own agency. Then we built the fix.

The Good Guys has been running autonomous AI agent workflows across our client accounts since early 2025. Every agent started from scratch. Agents contradicted each other. We spent an hour every morning assembling context for work that should have been instant.

We built Myco because we needed it. Today, every agent we run, across every client, queries a single, growing, auditable memory. We don't brief agents anymore. We don't repeat context. We don't correct contradictions.

Now it’s open source under Apache-2.0, built in about three months by a growth marketer directing a team of AI coding agents, and opened to every team that wants the same.

And everything we claim ships with a way to check it. The retrieval and QA numbers run from a benchmark that lives in the repo, with the reader, judge, and dataset all named, so you can reproduce them with one command instead of taking our word for it.

From scattered files to structured intelligence.

No complex setup. No custom pipelines. Myco handles the hard parts so your AI can focus on the work.

report.pdf
github:repo
notes.md
handbook.docx
https://…
your Postgres
01
Ingest your knowledge
Drop in files, URLs, and raw text, or bulk-ingest a whole folder or GitHub repo with one mycobrain-ingest command. Everything lands in your own Postgres. Hosted connectors for Gmail, Drive, and Slack come with the managed cloud (waitlist only).
dedup: content-hash ✓ · provenance: linked ✓
02
Myco structures it deterministically
Writes are deterministic: content-hash deduplicated, constrained, and traceable. The LLM is an advisor for extraction, local Ollama with no API key, or Anthropic for the most accurate graph, never your database. And with strict curation mode, the LLM only proposes: nothing reaches the graph without your sign-off.
Claude
Cursor
Windsurf
Continue
Zed
11 brain_* tools · one shared memory
03
Your agents get memory
Every MCP client in your stack, Claude, Cursor, Windsurf, Continue, Zed, or your own agents, calls the same 11 brain_* tools and gets structured, source-backed context. No custom integrations. No context stuffing. Just memory.

A knowledge base, not a pile of notes.

Most “AI memory” is a markdown file the model rewrites until it fills with duplicates and confident guesses no one can trace. Myco is structured, deterministic memory on your own Postgres: facts are typed and deduplicated, relationships are indexed, and every one traces to its source.

Foundation
Deterministic write path, facts, not guesses
The foundation of Myco is a program, not a prompt. Identical content is rejected by content hash, every accepted fact links back to its source, and the LLM stays in an advisory role for extraction, it never becomes your database.
1
Source doc
2
Entity extracted
3
Fact computed
4
Provenance stored
Deterministic fields only
MCP
MCP-native since day one
Myco is an MCP server, drop it into Claude Code, Cursor, or any MCP client and all 13 tools are there. Every agent queries the same memory: no custom integrations, no duplicate retrieval. Tool contracts are stable within 1.x.
brain_search · brain_why · brain_context_pack
Provenance on every accepted claim
Ask Myco why it believes something and it shows the source chain for accepted claims: original document, extraction model, confidence score, timestamp.
Agent-private memories, shared knowledge
Mark a document private and only the agent that created it can read it, enforced at read time across every read tool. Workspace knowledge stays shared.
Multi-agent shared memory
Every agent in your stack, Claude, Cursor, or your own custom agents, reads from the same source of truth. No contradictions. No repeated context.
Trust engine
Memory that gets more reliable the more it sees
Independent sources raise a fact’s confidence; contradictions supersede it, visibly, never silently. The superseded fact is closed, weakened, and kept in the claims ledger, so brain_why can show you the full history and the confidence trend.
Rhea Calloway -[works for]-> Halcyon Labs conf=0.600 [SUPERSEDED]
Rhea Calloway -[works for]-> Driftwood Analytics conf=1.000 [ACTIVE]
Real output · npm run test:compounding
You choose how much the AI decides
Strict mode routes every extraction through human review, the LLM proposes, you decide. Or opt in to gated auto-promotion: your memory grows its own schema, with new types promoted only after corroboration across independent documents.
BRAIN_REQUIRE_HUMAN_REVIEW=1
Cloud · Waitlist
Interactive knowledge graph explorer
Navigate your knowledge graph visually in the cloud beta, search nodes, filter by source, inspect edge evidence, and traverse the relationships your agents reason over.
Proposals, not silent writes
Agents propose facts through brain_propose_fact, proposals carry confidence and provenance, so nothing silently becomes authoritative knowledge.
Cloud · Waitlist
OAuth connectors in the cloud beta
Open source ingests files, URLs, and GitHub repos. The managed cloud adds an integrations hub with OAuth connectors for Gmail, Google Drive, Slack, and more, with continuous sync.
GmailDriveSlackGitHubHubSpotShopifyDropbox+ more
Privacy & security

With self-hosted Myco, your data never has to leave your infrastructure.

Every time your team pastes a client contract into ChatGPT, that document travels to OpenAI’s servers. Every document you feed an AI agent as context crosses someone else’s infrastructure. Most teams have not fully considered what this means.

Raw documents stay yours
Myco processes documents on your infrastructure. Agents receive structured facts, not raw documents, as context. Your contracts, client files, and IP never need to travel to external servers.
Structured facts, not raw data
When an agent queries Myco, it gets precise, structured context, not a dump of the original document. This dramatically reduces the amount of sensitive data in any single AI call.
Provenance on every fact
Every accepted fact links back to its source document, ask brain_why and get the evidence chain, with how it was extracted and how many sources support it. You know which answer came from which document.
Self-hosted for complete control
For teams with strict data residency requirements, legal, finance, healthcare, Myco offers a full self-hosted deployment. Your infrastructure. Your data. Your rules.

Why this architecture.

Most AI memory lets the model keep its own notes. At scale, nobody can review them, contradictions pile up, and the model quietly becomes the authority on what is true. Myco puts the rules in charge: the program decides what becomes a fact, the schema is yours, and the LLM works inside your system, not over it.

 Myco Brainmem0LangChain Memory
Fact extractionDeterministic write pathLLM-basedLLM-based
Hallucinated factsConstrained out of the write pathPossiblePossible
ProvenanceFirst-class via brain_whyPartialPartial
Shared memoryNative Postgres source of truthDepends on app wiringDepends on app wiring
Data portabilityPlain Postgres tablesVendor / framework shapedFramework shaped
Cross-session recallBuilt into the productBest effortBest effort

swipe to compare →

vs. mem0LLM-based extraction means hallucinated facts are possible and provenance is partial. Myco's write path is deterministic, duplicates rejected by content hash, every fact traceable via brain_why.
vs. LangChain MemoryFramework-shaped memory that depends on app wiring for sharing. Myco's source of truth is plain Postgres, native shared memory across every agent, portable by design.
vs. DIY RAGBuilding retrieval pipelines, embedding stores, and chunking logic yourself means maintaining them forever. Myco delivers this self-hosted on your own Postgres, with first-class provenance.

The compounding advantage.

AI tools give you a powerful day-one capability. Myco gives you something better: an advantage that grows every single day.

Without Myco
  • ·Every AI session starts from zero
  • ·The same context re-pasted into every prompt, every day
  • ·Agents contradict each other with no resolution
  • ·Knowledge walks out the door when people leave
  • ·Raw client documents flowing through external servers
  • ·AI stack is exactly as smart as day one
With Myco
  • Every agent starts informed, client history, commitments, context
  • Token-budgeted context packs instead of whole documents per prompt
  • Single source of truth, agents coordinate, not contradict
  • Institutional knowledge grows and persists permanently
  • Raw data stays in your own Postgres
  • AI stack gets smarter every single day

The teams that build persistent memory into their AI stack today will have a compounding intelligence advantage that is very hard to catch up to in 2-3 years. The teams that don’t will still be pasting context into chat windows.

Building in the open

Everything we planned shipped. Then we shipped more.

The full launch roadmap is live today, plus a stack of things that weren’t even on it. Here’s what is in your hands now, what is in progress, and the bigger bets after that. Direction, not a contract, dates intentionally omitted.

And the headline numbers are measured, not asserted: 73.6% end-to-end QA accuracy on the complete 500-question LongMemEval oracle subset (reader gpt-4o-mini, judge gpt-4o), with keyless recall@5 of 89.2% with local embeddings, 91.6% with the recency reranker. The harness ships in the repo, run it yourself.

Now: shipped at launch
  • Self-hosted MCP server: 13 tools on your own Postgres 16 + pgvector
  • Keyless search: full-text out of the box, semantic via local embeddings
  • Provenance on every fact: trace any answer with brain_why
  • Compounding confidence: corroboration raises it, contradiction supersedes
  • Dynamic schema: your memory grows its own types, gated by you
  • Import your ChatGPT and Claude history, deduped and traceable
  • Reproducible 73.6% LongMemEval benchmark, shipped in the repo
Next: in progress
  • Recommended local-model profile for higher-quality keyless graphs
  • Role-level playbook enforcement: shared memory read-only at the Postgres role
  • Broader benchmark coverage: harder conditions, more categories
Later: bigger bets
  • More ingestion sources: first-class connectors
  • Managed cloud for teams who would rather not run Postgres (waitlist)
Retrieval, measured

Keyless retrieval, measured, not asserted.

recall@5 asks a simple question: did the top 5 retrieved memories include the one that actually holds the answer? We measured it on the full 500-question LongMemEval longmemeval_s set, distractors and all.

89.2%
recall@5, keyless with local embeddings
hybrid search · local Ollama, no API key
91.6%
recall@5 with the recency reranker
reranker:'recency'
How the reranker works

A deterministic blend of relevance and recency, no API key, no network call:

final = 0.7 · relevance + 0.3 · recency_norm
Reproduce it yourself
python -m evals.longmemeval.run --subset longmemeval_s -n 500 --no-qa

Compare the hybrid and temporal rows. Retrieval is deterministic, we verified these two independent ways with zero drift. (We report QA accuracy on the evidence-only oracle subset, which isolates reasoning, and recall on the full longmemeval_s set, which isolates retrieval against distractors.)

Myco Cloud · Private beta · Waitlist only

Same engine, zero ops, a glimpse of Myco Cloud.

The open-source core is the product. The managed cloud wraps it in hosted infrastructure and a full dashboard, for teams that would rather not operate Postgres themselves. Not generally available yet; the waitlist gets access first.

app.mycobrain.dev · cloud beta previewmock
Connectors
Integrations hub
OAuth connectors for Gmail, Google Drive, Slack, and more, with connected-account status and continuous sync.
Chat
Chat with citations
Ask your knowledge base anything and get answers with inline [1][2] citations and source chips, retrieval straight from your Postgres.
Graph
Knowledge graph explorer
An interactive graph canvas with node search, per-source filtering, and edge evidence, see what your agents see.
Vault
Vault & live dashboard
Browse every ingested document with chunk and entity counts, and watch ingestion stream in real time, parsing, extraction, and errors at a glance.
Agents
Agent registry
Every connected agent with its sessions, query counts, memory-event health, and workspace budget tracking, your whole fleet in one view.
Ingest
Brain dump
One drop zone for files, pasted text, and URLs, plus a Google Drive picker. Everything lands in the same deterministic pipeline.

Free to self-host. Cloud coming soon.

The full Myco core is open source and free to run on your own infrastructure. Managed cloud hosting is in development and waitlist-only, join the waitlist to get access first.

Open source core · Apache-2.0 license · No credit card ever required for self-hosted

Free
Self-hosted open source
$0forever
  • Deterministic memory core
  • All 11 brain_* MCP tools
  • Postgres 16 + pgvector on your infra
  • One docker compose up to boot
  • Apache-2.0 license, own your stack
  • No API keys required to start
Waitlist open
Cloud
Managed hosting, in development
Coming soon
  • Built on the same open-source core
  • We run the infrastructure for you
  • OAuth connectors for Gmail, Drive, Slack, and more
  • Interactive knowledge graph explorer
  • Chat with citations, vault & live dashboard
  • Waitlist members get access first
Join cloud waitlist →
Myco

Your agents are only as good as what they remember.

Self-hosting is free, open source, and available right now. Want managed hosting instead? Join the cloud waitlist, early access rolls out to the waitlist first.

What we ask of beta users: honest feedback. That’s it, joining costs nothing and commits you to nothing.

No spam, ever · Prefer self-hosting? It’s free, grab it on GitHub

Myco: Persistent, source-traceable memory for AI agents