{"slug": "the-sovereign-a-research-lab-that-never-stops", "title": "The Sovereign – a research lab that never stops", "summary": "The Sovereign, an open-source, self-hosted research lab from developer cpldxx, runs nightly research cycles that store sourced facts in a knowledge graph and then sit an exam written from sources the system is barred from reading, with unanswered questions seeding the next night's work. The project reports its held-out exam score rising from 41 to 55 after targeted research missions and from 22 to 35 on the same 30-question exam between its first sitting and 11 November 2026, and it read 47 pages and stored 1,010 facts in one night on chip packaging. The Sovereign runs on Docker with Ollama using qwen3.6:35b locally (about 24 GB of free memory) or Anthropic's claude-opus-5-5 via API key, and it respects robots.txt, logins, paywalls and bot checks, recording unreadable pages as unread.", "body_md": "**A research lab that never stops.**\n\nGive it a topic. Every night it reads the web and the literature, keeps each fact with its source in a knowledge graph, and sits an exam to show what it learned. Ask it anything about the topic and it answers from that graph, with its sources and how sure it is. Open source and self-hosted, on local models or Claude.\n\n[Website](https://the-sovereign.pages.dev)  | \n  [Quick start](#quick-start)  | \n  [How a night works](#how-a-night-works)  | \n  [Measured](#measured)  | \n  [Docs](#docs)\n\n<sub>From the website's demo of one learning cycle. The demo is an example; the numbers under [Measured](#measured) are real records.</sub>\n\nYou write a research charter with the lab once: what you want to know, what to leave out, how deep. Every night\nafter that (03:00 by default) it researches, learns, and sits an exam written from sources it is never allowed to\nread. The questions it can't answer become the next night's research, so the graph grows where it is weakest.\n[More](https://github.com/cpldxx/the-sovereign/blob/main/docs/how-it-works.md)\n\nNeeds [Docker](https://docs.docker.com/get-docker/) and [Ollama](https://ollama.com): Ollama runs the small embedding\nmodel (about 1 GB) whichever models think, and the local model too if you choose it. For Claude, also an\n[Anthropic API key](https://console.anthropic.com). No Ollama on this machine? `./sovereign up --ollama` runs it in a\ncontainer.\n\n```\ngit clone https://github.com/cpldxx/the-sovereign.git && cd the-sovereign\n./sovereign up\n```\n\nThe first time, `up` asks whether to think with local models or Claude, then starts everything. Open\n[http://localhost:8000](http://localhost:8000) and create the first account: it is the admin. Create a domain, a topic, and the Head writes\nthe charter with you; when you agree, the first research starts.\n\n|  | Local (default) | Claude | \n|---|---|---|\n| What thinks | `qwen3.6:35b` on Ollama | `claude-opus-5-5` | \n| Machine | about 24 GB of free memory for the model | anything that runs Docker; no GPU | \n| Cost | free | per token; set a spend limit in the console | \n| What leaves the machine | searches and page visits | also the pages read and your questions, to Anthropic | \n\n| Command | What it does | \n|---|---|\n| `./sovereign up` | Starts everything in Docker ( `--claude` to skip the question) | \n| `./sovereign down` | Stops it; the data stays | \n| `./sovereign init --claude` | Switches to Claude ( `--local` to switch back) | \n| `./sovereign test` | Runs the tests | \n| `./sovereign selfcheck` | Checks the running system's security | \n\nRunning it for development, reaching it from other devices, every setting: [setup](https://github.com/cpldxx/the-sovereign/blob/main/docs/setup.md).\n\n- **It never goes around a block.** No getting past robots.txt, logins, paywalls or bot checks. A page it couldn't\nread is recorded as unread.\n- **It weighs its sources.** Papers, then official sources, then news, then blogs. A claim with one source stays a\nweak signal until others confirm it.\n- **It doesn't act in the world.** No messages, orders or bookings. It finds out what is true and explains it.\n- **It stays on your server.** The graph and its records live on the machine you run it on.\n\nEvery number comes from the lab's own records.\n\n| Result | What was measured | \n|---|---|\n| **41 → 55** | Held-out exam score after research missions on the practice questions it got wrong (experiment, test domain) | \n| **22 → 35** | The same 30-question exam: its first sitting, and 11 November 2026 | \n| **9× faster** | Extraction on a local 35B model with reasoning off: about 19 s instead of 171, at the same quality | \n| **47 pages, 1,010 facts** | Read and stored in one night on chip packaging, 11 November 2026 | \n\nScores move both ways from night to night, and a sitting the model couldn't grade is called off, never counted as a\nzero. [The record of one night](https://github.com/cpldxx/the-sovereign/blob/main/docs/how-it-works.md#one-real-night)\n\n| Page | What is in it | \n|---|---|\n| [How it works](https://github.com/cpldxx/the-sovereign/blob/main/docs/how-it-works.md) | One learning cycle, the exam, source tiers, the record of a real night | \n| [Setup](https://github.com/cpldxx/the-sovereign/blob/main/docs/setup.md) | Every option of the Docker setup, and running it for development | \n| [Models](https://github.com/cpldxx/the-sovereign/blob/main/docs/models.md) | Local or Claude: what each needs, costs and sends out | \n| [The app](https://github.com/cpldxx/the-sovereign/blob/main/docs/app.md) | The agents at work, the graph, the Head's chat and voice, briefings, settings | \n| [Architecture](https://github.com/cpldxx/the-sovereign/blob/main/docs/architecture.md) | The parts, the ingest pipeline, safeguards, accounts and isolation, the stack | \n| [API](https://github.com/cpldxx/the-sovereign/blob/main/docs/api.md) | Every route of the KG API, Research and Hermes, and the MCP tools | \n| [Troubleshooting](https://github.com/cpldxx/the-sovereign/blob/main/docs/troubleshooting.md) | Most problems are memory; what to check first | \n| [Roadmap](https://github.com/cpldxx/the-sovereign/blob/main/docs/roadmap.md) | What has been built, phase by phase | \n| [Contributing](https://github.com/cpldxx/the-sovereign/blob/main/CONTRIBUTING.md) ·[Security](https://github.com/cpldxx/the-sovereign/blob/main/SECURITY.md) | Helping out, and reporting a vulnerability | \n\nBuilt with FastAPI, Pydantic AI, ArcadeDB, DeerFlow, Hermes Agent, SearXNG, crawl4ai and MCP. The app is React, Vite and Tailwind.\n\n- This product includes software developed by UncleCode ([https://x.com/unclecode](https://x.com/unclecode) ) as part of the Crawl4AI project ([https://github.com/unclecode/crawl4ai](https://github.com/unclecode/crawl4ai) ).\n- Entity/fact extraction rules are adapted from [Graphiti](https://github.com/getzep/graphiti) by Zep Software (Apache 2.0).\n- Research runs on [DeerFlow](https://github.com/bytedance/deer-flow) (MIT); agents on[Hermes Agent](https://github.com/NousResearch/hermes-agent) (MIT); storage on[ArcadeDB](https://github.com/ArcadeData/arcadedb) (Apache 2.0).\n- Web search via a self-hosted, unmodified [SearXNG](https://github.com/searxng/searxng) (AGPL-3.0). If it is ever modified and offered to users over a network, its source must be published.\n\n[MIT](https://github.com/cpldxx/the-sovereign/blob/main/LICENSE). The services it runs keep their own licenses ([the stack](https://github.com/cpldxx/the-sovereign/blob/main/docs/architecture.md#tech-stack)):\nSearXNG is AGPL-3.0 and runs unmodified as a separate container.", "url": "https://wpnews.pro/news/the-sovereign-a-research-lab-that-never-stops", "canonical_source": "https://github.com/cpldxx/the-sovereign", "published_at": "2026-11-23 02:33:15+00:00", "updated_at": "2026-11-23 02:43:52.831507+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-agents", "ai-research", "ai-tools", "large-language-models"], "entities": ["The Sovereign", "cpldxx", "Ollama", "Docker", "Anthropic", "Claude", "qwen3.6:35b", "claude-opus-5-5"], "also_reported_by": [], "takeaway": "Turning reasoning off for extraction on a local 35B model cut processing time roughly 9x, to about 19 seconds from 171, at the same quality.", "recommendation": {"advice": "Disable reasoning for extraction passes on local models: the source measured about 19 seconds instead of 171 at the same quality, a 9x speedup.", "playbook": "llm-cost", "playbook_url": "https://wpnews.pro/playbooks/llm-cost"}, "alternates": {"html": "https://wpnews.pro/news/the-sovereign-a-research-lab-that-never-stops", "markdown": "https://wpnews.pro/news/the-sovereign-a-research-lab-that-never-stops.md", "text": "https://wpnews.pro/news/the-sovereign-a-research-lab-that-never-stops.txt", "jsonld": "https://wpnews.pro/news/the-sovereign-a-research-lab-that-never-stops.jsonld"}}