// agents · topoteretes/cognee

cognee

cognee é um projeto de agentes de IA de código aberto de topoteretes (topoteretes/cognee no GitHub). Tem 31.591 estrelas no GitHub e 3.246 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 8 de outubro de 2026.

Open-source AI memory that gives agents persistent long-term recall.

★ 31,6 mil estrelas⑂ 3,2 mil forksApache-2.0atualizado out 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Repositório
topoteretes/cognee
Estrelas no GitHub
31.591
Forks
3.246
Licença
Apache-2.0
Última atualização no GitHub
8 de outubro de 2026
Categoria
Agentes de IA
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

Como funciona

  1. Define the job

    Write down the task or workflow you want the agent to handle.

  2. Get the code

    Clone the repository and read the README's prerequisites.

  3. Set up your environment

    Install dependencies and configure keys or endpoints.

  4. Try the quickstart

    Run the sample script and check the output against the docs.

// recursos

Por que as pessoas gostam tanto

Knowledge-graph memory

Facts stored as connected graphs, not flat text.

Long-term persistence

Memory that survives across sessions.

Small-model friendly

Designed to work well without giant models.

Context engineering

Focus on how memory is structured for retrieval.

Apache-2.0

Permissive open-source license.

Active community

Large star count and steady pushes.

Advertisement
// execute você mesmo

Execute você mesmo

  1. Step 1 - Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/topoteretes/cognee.git
    cd cognee
  2. Step 2 - Install dependencies

    Create a virtual environment and install the requirements.

    python -m venv .venv && source .venv/bin/activate
    pip install -r requirements.txt
  3. Step 3 - Run an example

    Treat these as starting points - the README documents the exact commands.

    python examples/quickstart.py
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

Who is behind cognee?

The project lives at topoteretes/cognee and has attracted 3246 forks. Browse its commit history and contributor list for a sense of maintenance pace.

Is cognee free to use?

Yes - it is Apache-2.0 licensed, so it is free for commercial use with attribution.

Do I need a paid API to use it?

It depends on your setup - self-hosted storage can be free, while hosted tiers or embedding APIs may cost money. Check the README for options.

How does it compare to mem0?

mem0 is a drop-in memory API; cognee is a knowledge-graph memory platform with a cognitive-architecture angle. If graph-structured recall appeals to you, start with cognee.

Where should I start?

The README and the official docs site are the fastest path: run the quickstart example first, then adapt it to your use case.

// continue explorando

Ferramentas semelhantes

Agentes de IA

langmem

LangMem: long-term memory primitives for LangGraph agents that learn and adapt from conversations.

★ 1,7 mil estrelasMIT
Ver o guia →
Agentes de IA

agent-memory

Long-term memory runtime for AI agents — plain Markdown as truth, local ranked retrieval, no API key

★ 2,6 mil estrelasMIT
Ver o guia →
Agentes de IA

magic-context

Self-managing, unbounded context and long-term memory for coding agents: one session, for life.

★ 2,3 mil estrelasMIT
Ver o guia →
Agentes de IA

MemoryOS

A memory operating system for long-term, personalized AI agents.

★ 1,6 mil estrelasApache-2.0
Ver o guia →
Agentes de IA

memobase

User-profile-based long-term memory for AI chatbot applications

★ 2,9 mil estrelasApache-2.0
Ver o guia →
Agentes de IA

LongMemory

LongMemory: local-first memory for AI agents with temporal truth, provenance, and hybrid recall

★ 4,5 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em Agentes de IA

Os outros projetos de Agentes de IA com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se cognee não for o ideal para você.

// mais em agents

Mais em Agentes de IA

Projetos de Agentes de IA próximos no catálogo, os mais próximos em estrelas de cognee: continue explorando dos dois lados dele.

Baixe o cognee

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.