Cognithor: A Local-First Agent OS with PGE Trinity Architecture

Cognithor is a fully local, autonomous Agent OS developed over one year through 16 distinct phases. The project emphasizes deliberate architecture, documented decisions, and substantial test coverage, distinguishing it from what the creator calls "vibe-coded" AI projects.
Core Architecture: PGE Trinity
Every task in Cognithor flows through a three-gate system: Planner → Gatekeeper → Executor. The Gatekeeper is deterministic, enforcing policy before execution rather than after, creating a control layer beyond simple agent chaining.
Technical Specifications
- Codebase: >118,000 LOC source, >108,000 LOC test
- Testing: 11,609+ tests with 89% coverage, 0 lint errors
- LLM Support: 16 providers including Ollama, LM Studio, Anthropic, OpenAI, Gemini, and 11 others
- Channels: 17 interfaces including Telegram, Discord, Slack, WhatsApp, Signal, Voice, CLI, and WebUI
- Tools: 123 MCP tools
- Features: Computer Use, Deep Research v2 (25-round iterative), SSH remote execution, VS Code extension
- Memory: 5-tier cognitive memory system
- Security: GDPR-compliant with Ed25519-signed audit trail
Local-First Implementation
The system operates with no cloud requirements and no mandatory API keys. All data remains on the user's machine, with Ollama or LM Studio running the brain. Cloud providers are available as opt-in alternatives.
Development Phases
The 16 completed phases include foundation (PGE, MCP, CLI), multi-agent collaboration, GDPR toolkit, distributed workers, and a Flutter Command Center. Each phase is documented, tested, and shipped.
The project is developed primarily by one developer with assistance from a tester in Budapest who validates the system on fresh machines. The developer notes that "AI writes the code. I engineer the system."
The GitHub repository is available at Alex8791-cyber/cognithor, with v1.00.0 expected to be released soon.
📖 Read the full source: r/LocalLLaMA
👀 See Also

PhAIL Benchmark Tests VLA Models on Real Warehouse Robot Tasks
PhAIL is a real-robot benchmark that tests four vision-language-action models on bin-to-bin order picking using a Franka FR3 robot. The best model achieved 64 units per hour, compared to 330 UPH for human teleoperation and 1,300+ UPH for human manual work.

Multi-Agent Haiku System Matches Claude Opus on Complex Number Theory Problem at 15x Lower Cost
A Reddit experiment shows a two-Haiku agent system (generator + auditor) achieving identical 4/4 scores to Claude Opus 4.5 on a difficult Fermat's Little Theorem proof, while costing approximately $0.004 per query versus $0.06 for Opus.

Jobly: Contract Marketplace with AI-First Dispute Resolution and Community Voting
Jobly is a contract marketplace built with Next.js 14, TypeScript, and Supabase, featuring an escrow system with 10% provider bonds on proposals and a dispute pipeline that starts with AI evaluation using Claude, then allows appeals to community stake voting.

VibeSmith: Local Tool for Detecting Skill Conflicts in Claude Code Projects
VibeSmith is a local macOS desktop app that provides unified visibility across Claude Code projects, detecting conflicts when global and project-level components share names, visualizing dependencies as DAGs, and tracking context token usage.