cognithor: Run a Local Autonomous AI Agent

Summary
Cognithor is a Python agent operating system for running an assistant locally, connecting it to LLMs, messaging channels, memory, and tools. It suits users who want configurable personal automation and control over where their data is stored.
At a glance
- Language
- Python
- License
- Apache-2.0
- Stars
- 158
- Forks
- 25
- Added to OSRepos
- August 28, 2026
- Last analyzed
- October 4, 2026
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Overview
Cognithor is a local-first AI agent system that plans tasks and carries them out through tools such as file operations, shell commands, web research, browser automation, and desktop control. Its Planner, Gatekeeper, and Executor architecture separates task planning from policy checks and action execution.
It is aimed at people who want a self-hosted assistant with persistent memory and multiple ways to interact, rather than a cloud-only chatbot. Local models can run without API keys, while cloud LLM providers are optional. The project describes itself as beta and experimental, so it is better suited to hands-on evaluation than deployments requiring stable production behavior.
Key Features
- Connects to local and cloud LLM providers, including Ollama, LM Studio, OpenAI, Anthropic, and Gemini.
- Supports terminal, web, REST, and messaging interfaces such as Telegram, Discord, and Slack.
- Uses a six-tier memory system with hybrid search across text, vectors, a knowledge graph, and document structure.
- Routes planned actions through a deterministic Gatekeeper with risk levels and approval checks before execution.
- Provides MCP tools for filesystem, shell, web, browser, documents, media, memory, and an Obsidian-compatible knowledge vault.
- Includes workflow execution, multi-agent features, and signed audit receipts for tracking agent activity.
- Offers encryption and privacy controls, with local operation available and cloud providers optional.
Use Cases
- A privacy-conscious individual can run a personal assistant locally for research, note organization, and recurring tasks.
- A developer can prototype tool-using agents and workflows across local and hosted models from one Python system.
- A team can connect an assistant to messaging channels for internal automation, while evaluating its beta channel integrations.
- A knowledge worker can search personal notes and documents using persistent memory and the Obsidian-compatible vault.
Project Facts
- Language: Python
- License: Apache-2.0
- Stars: 158
- Forks: 25
- Topics: agent-os, ai-agent, anthropic, autonomous-agent, discord-bot, document-analysis, gdpr-compliant, gemini, hierarchical-retrieval, knowledge-graph, knowledge-synthesis, knowledge-vault, llm, local-first, mcp, multi-llm, obsidian, ollama, openai, telegram-bot
- Archived: No
Getting Started
Requires Python 3.12 or later. For a basic local install:
pip install cognithor
ollama pull qwen3:8b
cognithor
A cloud LLM provider can be configured instead of Ollama. See the README for setup options, model configuration, and channel integrations.
Alternatives
- taOS: taOS centers on a web desktop for agents, local models, and optional distributed compute, while Cognithor is a Python assistant operating system with messaging integrations.
- OpenHuman: OpenHuman is a Rust agent harness spanning desktop, browser, terminal, and library interfaces, while Cognithor is a Python operating system for a locally run assistant.
- QwenPaw: QwenPaw focuses on a personal assistant connected to chat apps and usable locally or in the cloud, while Cognithor is a Python platform for configurable assistant automation.
Considerations
- The project identifies itself as pre-v1.0 beta and experimental. APIs may change, and the README does not recommend it for production customer-facing deployments.
- Local use requires a compatible model runtime and enough hardware for the selected model. Cloud providers are optional, but require their own credentials.
- Security controls and tests are described by the project, but its security is not independently audited. Test the system and its permissions in your own environment before relying on it.
- The README notes that tests do not cover real-world deployment conditions, long-running stability, multi-user load, or actual LLM response quality.
Found this useful?
Share it with someone who would like cognithor.
Comparisons
Source repository
Open the original repository on GitHub.
16 counted GitHub visits
Related repositories
Similar repositories that may be relevant next.

omnigent: Orchestrate AI Coding Agents Across Harnesses
October 5, 2026
Omnigent provides a shared orchestration layer for AI coding agents, with policies, sandboxing, and team collaboration. It suits developers who want to combine agent runtimes and access sessions across devices without tying workflows to one harness.

agentevals: Evaluate AI Agents from OpenTelemetry Traces
October 4, 2026
agentevals scores AI agent behavior from existing OpenTelemetry traces, without rerunning agents or making extra model calls. It suits teams building instrumented agents that need local evaluation, golden-set checks, or CI quality gates.

web-design: Create Consistent Web Pages with a Claude Code Skill
October 3, 2026
web-design is a Claude Code skill that turns product briefs, reference URLs, or screenshots into an editable design specification before generating web code. It is suited to developers and designers who want a repeatable, spec-led workflow for building consistent pages.

oomwoo: Build a DIY Robot Vacuum
October 2, 2026
OOMWOO is a planned, hackable robot vacuum built around Raspberry Pi, ROS2 and 2D LiDAR. It is aimed at makers who want to build and customize a locally controlled vacuum, but its hardware and build instructions are still in development.