cognee-integrations
Use when the user wants to connect cognee to external services — switching LLM or embedding providers (OpenAI, Azure, Gemini, Anthropic, Ollama, OpenRouter), changing databases (Postgres, PGVector, Neo4j, Neptune, Turso), S3 storage, or the MCP server for IDE integration.
Install / Use
npx skills add topoteretes/cognee --skill cognee-integrationsInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AI & Machine LearningSupported Platforms
Our assessment of cognee-integrations
cognee-integrations scores 86/100 on our quality scale, 558th of 951 AI & Machine Learning skills we index.
Its SKILL.md is 3.9 KB long, split into 6 sections and no code examples: a solid amount of guidance for an agent.
With 30,958 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 13 days ago, so cognee-integrations is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
cognee-integrations compared with similar skills
All 4 of these similar skills score higher than cognee-integrations; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| cognee-integrations (this skill)by topoteretes | 86 | 31.0k | 13d ago | SKILL.md |
| claude-memby thedotmack | 100 | 97.7k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 93.2k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 85.5k | 2d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.6k | today | CLAUDE.md |
Frequently asked questions
- How do I install cognee-integrations?
- Run
npx skills add topoteretes/cognee --skill cognee-integrations. The install tabs above show the steps for each supported agent. - Which AI agents does cognee-integrations work with?
- It is written for Gemini CLI, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is cognee-integrations safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is cognee-integrations still maintained?
- The repository was last updated 13 days ago, so cognee-integrations is actively maintained.
Skill content
View source on GitHubname: cognee-integrations description: Use when the user wants to connect cognee to external services — switching LLM or embedding providers (OpenAI, Azure, Gemini, Anthropic, Ollama, OpenRouter), changing databases (Postgres, PGVector, Neo4j, Neptune, Turso), S3 storage, or the MCP server for IDE integration.
Set up cognee integrations
All integration config is environment variables (.env). The authoritative,
always-current list with commented examples is .env.template at the repo
root — check it before inventing variable names. Install the matching extra
before switching a backend (e.g. pip install cognee[postgres]).
LLM providers
Default is OpenAI (LLM_API_KEY is all you need). To switch, set
LLM_PROVIDER, LLM_MODEL, LLM_API_KEY, and (where relevant)
LLM_ENDPOINT / LLM_API_VERSION:
- Azure OpenAI:
LLM_PROVIDER=azure,LLM_MODEL=azure/gpt-4o-mini, endpoint + api version required. - Gemini (no extra needed):
LLM_PROVIDER=gemini,LLM_MODEL=gemini/gemini-2.0-flash-exp. - Anthropic (
cognee[anthropic]):LLM_PROVIDER=anthropic, model e.g.claude-3-5-sonnet-20241022. - Ollama, local (
cognee[ollama]):LLM_PROVIDER=ollama,LLM_ENDPOINT=http://localhost:11434/v1, and set the embedding block +HUGGINGFACE_TOKENIZERtoo. - Custom / OpenRouter / vLLM:
LLM_PROVIDER=customwith the provider's OpenAI-compatible endpoint. - AWS Bedrock (
cognee[aws]):LLM_PROVIDER=bedrock+ AWS credentials/region.
The classic trap: LLM and embeddings are configured independently
(EMBEDDING_PROVIDER, EMBEDDING_MODEL, EMBEDDING_ENDPOINT,
EMBEDDING_API_KEY). Configuring only one leaves the other on OpenAI —
either keep a valid OpenAI key or configure both.
Databases
- Relational (
DB_PROVIDER): sqlite (default) or postgres (cognee[postgres]; host/port/user/password/name viaDB_*vars). - Vector (
VECTOR_DB_PROVIDER): lancedb (default), pgvector (cognee[postgres], needsVECTOR_DB_URL), neptune_analytics (cognee[neptune]), turso (cognee[turso]). Anything else (ChromaDB, Qdrant, Weaviate, Milvus, …) lives in community adapters — install from https://github.com/topoteretes/cognee-community and register withuse_vector_adapterbefore use; settingVECTOR_DB_PROVIDERalone raises "Unsupported vector database provider". - Graph (
GRAPH_DATABASE_PROVIDER): ladybug (default), neo4j (cognee[neo4j], bolt URL + credentials), neptune (cognee[neptune]), ladybug-remote, postgres (no raw Cypher / natural-language search).
The repo docker-compose.yml ships ready-to-use postgres (pgvector) and
neo4j profiles with matching default credentials. From a container, reach
host services with DB_HOST=host.docker.internal.
Storage, cache, and the rest
- S3 storage (
cognee[aws]):STORAGE_BACKEND=s3+ bucket/credentials, and pointDATA_ROOT_DIRECTORY/SYSTEM_ROOT_DIRECTORYats3://paths. - Session cache:
CACHE_BACKEND= sqlite (default) | postgres | redis | fs | tapes. - Ontologies:
ONTOLOGY_FILE_PATHto an OWL file, resolver/matching viaONTOLOGY_RESOLVER/MATCHING_STRATEGY.
MCP server (IDE integration)
docker compose --profile mcp up starts the MCP server on port 8001
(Streamable HTTP at http://localhost:8001/mcp), built from cognee-mcp/. Point Cursor / Claude Desktop /
Claude Code at it to use cognee memory from the IDE. Configure its DB_* env
to match the main service so both see the same data.
After changing providers mid-project
Embeddings from different models are not comparable — after switching the
embedding provider or model, reset local state (cognee-cli forget --all or
await cognee.forget(everything=True)) and re-ingest with remember().
To drop just the graph and vectors while keeping the ingested files, use
await cognee.forget(dataset="my_project", memory_only=True) — the dataset can
then be rebuilt under the new embedding model without re-uploading anything.
Related Skills
claude-mem
97.7kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
93.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
85.5kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
74.6kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
