DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build agent memory locally with no API key with Cognee

Store facts and retrieve them with cognee-cli using the bundled small local models.

Short answer: Install with uv pip install "cognee[gliner]"; then Store a fact with cognee-cli remember "Marie Curie was born in Warsaw." -d local_quickstart; Query it with cognee-cli recall "Where was Marie Curie born?" -d local_quickstart. All steps.

  • Top pick
  • Research
  • Beginner
  • 20 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

Who it is forA developer who wants to try graph memory without paying for or sending data to an LLM.

The problemMost memory layers need a hosted model and API key before anything works.

The outcomeA local dataset you can write to and query from the command line.

What you need first

  • Python 3.10 to 3.14; install with `uv pip install "cognee[gliner]"` for the local extraction model
  • Optional: an LLM key (LLM_API_KEY) for generated answers instead of retrieved passages
  • Optional: Docker for the API, UI and MCP server; Node.js/npm for the local UI launcher

Steps

  1. Install with uv pip install "cognee[gliner]"
  2. Store a fact with cognee-cli remember "Marie Curie was born in Warsaw." -d local_quickstart
  3. Query it with cognee-cli recall "Where was Marie Curie born?" -d local_quickstart
  4. Or save the README quickstart as quickstart.py and run python quickstart.py

Prompt for your agent

Using topoteretes/cognee, install `cognee[gliner]`, remember three facts from <my notes> into a dataset with cognee-cli, recall one of them, and show me the retrieved text.

Caveat. Without an LLM key you get retrieved passages, not generated answers; the local models download on first use.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for topoteretes/cognee and "Build agent memory locally with no API key"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer