SkillsReviewed · topoteretes

Cognee Self-hosted AI companion

Cognee Self-hosted AI companion is a skill for people who want to chat with their notes and earlier conversations, but its local memory setup still uses LLM credits. It guides an assistant through Python cookbook scripts that store notes and chats in a Cognee dataset.

Researched 16 Nov 2026

In short.

Cognee Self-hosted AI companion is an assistant skill for people who want a companion that remembers their notes and conversations, but local databases do not establish that model processing stays on the device. The documented workflow checks setup, ingests a notes folder and saves each chat for later use. It requires the referenced Cognee cookbook; those scripts are outside the supplied scope, so runtime behaviour, recall quality, provider data handling and actual costs remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the selected folder .agents/skills/self-hosted-companion, represented by its supplied SKILL.md, at commit 5870f15d2488b99e80f71dd6e8e146b228749356, plus repository-level LICENSE and NOTICE.md. The referenced cookbook README, wrapper, chat script, other scripts, dependency definitions and provider/database implementations are outside the supplied scope. No commands were executed. Installation, runtime behaviour, answer quality, recall, data flows and actual costs remain unassessed.

The overview

Identity

The resource is the self-hosted-companion skill in topoteretes/cognee, located at .agents/skills/self-hosted-companion/SKILL.md. Its original location is [https://github.com/topoteretes/cognee/tree/main/.agents/skills/self-hosted-companion].

It contains instructions for an assistant to operate the cookbook in examples/cookbooks/self_hosted_companion/. The skill file alone does not include the Python implementation needed to run the companion.

Assessment

This is a useful starting point for someone seeking recurring conversations grounded in a personal notes folder. It supplies concrete commands, setup outcomes and memory-reset guidance. Its usefulness depends on the external cookbook and LLM configuration; successful installation, accurate answers and reliable recall are not established by the supplied instructions.

Users

The intended users include people with journals, Obsidian vaults or other folders of .md and .txt files who want to ask questions about their notes or revisit earlier conversations. Someone must be comfortable preparing the Python project and API configuration, even when an assistant handles the commands. Team access controls and multi-user operation are not described.

Capabilities

The documented workflow checks setup, remembers a personal notes folder, answers a message and saves the resulting chat as another session. Later messages can use a separate chat script after ingestion. Omitting the folder selects sample notes. An optional --ui mode opens graph browsing and keeps running until interrupted.

Using it

Requirements

The commands assume a Cognee repository checkout containing the cookbook, uv and a working Python environment, with commands issued from the repository root. The sample route explicitly names LLM_API_KEY as its required configuration. The full installation procedure, supported Python and dependency versions, provider, model and hardware requirements are not supplied; setup details are deferred to the cookbook README.

Mechanism

The skill describes storing note memory in the self_hosted_companion Cognee dataset using local databases. Each --ask invocation creates a chat session that is also saved, allowing later conversations to draw on earlier ones. It states that source notes are read and writes go to Cognee memory. Retrieval methods, database engines, model prompts and external data transfers are not documented in this file.

Setup

The documented preflight command, run from the repository root, is uv run python examples/cookbooks/self_hosted_companion/self_hosted_companion.py --check /path/to/notes. Exit 0 means setup can proceed; exit 2 accompanies missing-configuration messages that refer users to the cookbook README.

After a successful check, the wrapper accepts the notes folder and a message through --ask. Once the folder is remembered, scripts/chat.py handles later messages. A wrapper failure is documented to exit 1 with an explanation; the skill suggests inspecting the relevant cookbook script separately.

Example

For notes at /path/to/notes, an illustrative invocation after setup is uv run python examples/cookbooks/self_hosted_companion/self_hosted_companion.py /path/to/notes --ask "What did I write about my study plans?". A later message can use uv run python examples/cookbooks/self_hosted_companion/scripts/chat.py --ask "What did we discuss about those plans?".

The skill identifies the response as the text following [chat] companion>. These questions illustrate the documented command pattern; no answer or successful execution result is available.

Assessment & evidence

Limitations

The cookbook README and executable scripts are not supplied. Installation reliability, supported file edge cases, answer grounding, recall completeness, latency and storage behaviour are therefore unassessed. Local memory storage does not establish offline operation or that notes and chats stay away from external model services.

Sample mode clears the self_hosted_companion dataset before ingestion. If it uses a memory store containing wanted history, that reset can remove it. For personal data, --clear is documented to forget the entire dataset, including earlier chats. Backup, recovery and complete deletion from every storage location are not described.

Reasoning

The design connects two useful sources of context: existing notes and saved conversations. That makes it relevant to questions that develop over several sessions. Explicit setup outcomes and a separate follow-up chat command make the intended operation clear. Persistence alone, however, does not establish that the companion retrieves every relevant fact or distinguishes notes from earlier generated answers.

Alternatives

No competing companion, note-search tool or agent skill is described, so comparative accuracy, privacy and cost cannot be assessed. Within this cookbook, users can choose sample notes or their own folder, then use the shorter chat.py entry point after ingestion. These are operating options within the same resource.

Evidence

The technical source is the skill file at [https://raw.githubusercontent.com/topoteretes/cognee/5870f15d2488b99e80f71dd6e8e146b228749356/.agents/skills/self-hosted-companion/SKILL.md]. It supports the documented commands and intended behaviour, but contains no executable implementation or test results.

The accompanying rights sources are [https://raw.githubusercontent.com/topoteretes/cognee/5870f15d2488b99e80f71dd6e8e146b228749356/LICENSE] and [https://raw.githubusercontent.com/topoteretes/cognee/5870f15d2488b99e80f71dd6e8e146b228749356/NOTICE.md]. They establish repository licence and attribution context.

Access & freshness

Costs

The skill warns that running the companion consumes LLM credits. It provides no provider prices, model rates, token counts or measured consumption, so actual costs are unknown. Local database storage does not establish free inference. Hardware needs, storage growth and ongoing operating costs are also unknown.

Rights

The accompanying repository LICENSE supplies Apache License 2.0, permitting use, modification and redistribution subject to its conditions. Redistribution requires the licence, applicable attribution notices and notices identifying changed files when modifications are distributed. NOTICE.md identifies Topoteretes UG and attributes the project to Topoteretes.

The licence provides no warranty and grants no general trademark permission. It does not establish rights to redistribute a user's private notes or the terms governing an external model provider.

Freshness

The source snapshot is pinned to commit 5870f15d2488b99e80f71dd6e8e146b228749356 and dated 2026-11-16T23:14:16.200Z. No skill release version or last-modified date is supplied. Later changes to the main branch and compatibility with newer dependencies are unknown.

Actions

Before adopting the skill, inspect the referenced cookbook README and scripts at the same revision to establish installation requirements, provider routing and pricing. For an initial evaluation, use sample notes in an environment without wanted history in the self_hosted_companion dataset. Check answer grounding and recall across separate sessions before relying on it for personal notes.

Evidence for this report

.agents/skills/self-hosted-companion/SKILL.mdselected · checked 2026-11-16
LICENSEnotice · checked 2026-11-16
NOTICE.mdnotice · checked 2026-11-16