The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(health): add core health check and doctor test modules
Steven Enamakeld1fb4406320c
diff --git a/crates/openhuman-core/src/platform/doctor/core_tests.rs b/crates/openhuman-core/src/platform/doctor/core_tests.rsindex 97c1452f74..46d227c419 100644--- a/crates/openhuman-core/src/platform/doctor/core_tests.rs+++ b/crates/openhuman-core/src/platform/doctor/core_tests.rs@@ -75,5 +75,3 @@ fn model_matches_rejects_different_base_models() {assert!(!model_matches("bge-m3:latest", "bge-m3:v1.0"));}-// ── check_memory_tree_db tests (#2206) ───────────────────────────────────────-diff --git a/crates/openhuman-core/src/platform/health/core.rs b/crates/openhuman-core/src/platform/health/core.rsindex f8b91df710..775604a344 100644--- a/crates/openhuman-core/src/platform/health/core.rs+++ b/crates/openhuman-core/src/platform/health/core.rs@@ -119,14 +119,10 @@ pub fn snapshot_json() -> serde_json::Value {/// `update_checker` are therefore intentionally **non-critical**.////// - `core` — the core process / RPC serving capability itself.-/// - `memory_tree_db` — the memory database. Its health signal is a *debounced*-/// circuit breaker that only trips after several consecutive schema-init-/// failures (a genuine, restart-worthy data-layer fault), so unlike the-/// scheduler case it does not false-trip on a transient blip.////// New components default to **non-critical**: add a name here deliberately when/// its failure should recycle the container.-const CRITICAL_COMPONENTS: &[&str] = &["core", "memory_tree_db"];+const CRITICAL_COMPONENTS: &[&str] = &["core"];/// Whether `name` is a critical component (see [`CRITICAL_COMPONENTS`]).pub fn is_critical_component(name: &str) -> bool {diff --git a/crates/openhuman-core/src/platform/health/core_tests.rs b/crates/openhuman-core/src/platform/health/core_tests.rsindex 4313c40c00..c7780fedf5 100644--- a/crates/openhuman-core/src/platform/health/core_tests.rs+++ b/crates/openhuman-core/src/platform/health/core_tests.rs@@ -105,7 +105,7 @@ fn snapshot_of(components: &[(&str, &str)]) -> HealthSnapshot {#[test]fn critical_set_membership() {assert!(is_critical_component("core"));- assert!(is_critical_component("memory_tree_db"));+ assert!(!is_critical_component("memory_tree_db"));assert!(!is_critical_component("scheduler"));assert!(!is_critical_component("channels"));assert!(!is_critical_component("update_checker"));@@ -132,12 +132,12 @@ fn noncritical_failure_stays_healthy_but_degraded() {#[test]fn critical_failure_is_unhealthy() {- let v = verdict(&snapshot_of(&[("memory_tree_db", "error")]));+ let v = verdict(&snapshot_of(&[("core", "error")]));assert!(!v.healthy,"a critical component failure 503s the container");- assert_eq!(v.critical_unhealthy, vec!["memory_tree_db".to_string()]);+ assert_eq!(v.critical_unhealthy, vec!["core".to_string()]);}#[test]diff --git a/gitbooks/README.md b/gitbooks/README.mdindex e67c4af8e3..e7686e1249 100644--- a/gitbooks/README.md+++ b/gitbooks/README.md@@ -17,10 +17,8 @@ Every model in the world, all 200+ of them, shares the same fundamental limitatiOpenHuman solves this with a stack that's calmly, deliberately different:-- **A local-first** [**Memory Tree**](features/memory.md)**.** Every source you connect, Gmail, Slack, GitHub, Notion, your own notes, flows through a deterministic pipeline: canonical Markdown, ≤3k-token chunks, scored, folded into per-source / per-topic / per-day summary trees. Stored in SQLite on your machine. No vector-soup black box.-- **An** [**Obsidian-style wiki**](features/memory.md) **on top of it.** The same chunks the agent reasons over land as `.md` files in a vault you can open in [Obsidian](https://obsidian.md), browse, edit, and link by hand. Inspired by [Karpathy's obsidian-wiki workflow](https://x.com/karpathy/status/2039805659525644595). You can't trust a memory you can't read.+- [**Memory you choose and can inspect**](features/memory.md)**.** Documents (folders, files, links, GitHub, RSS, connected apps), conversations and learnings are stored in a memory engine, either hosted TinyHumans or your own CortexDB. The agent asks it questions with citations, and a short brief about you opens every new chat. You can see and delete everything stored.- [**118+ third-party integrations**](features/integrations/README.md)**.** One-click OAuth into Gmail, GitHub, Slack, Notion, Stripe, Calendar, Drive, Linear, Jira and more, no API keys to wire by hand, no plugin marketplace to navigate.-- [**Auto-fetch**](features/memory.md)**.** Every twenty minutes, OpenHuman pulls fresh data from every active connection and folds it into the Memory Tree without you asking, so the agent already has tomorrow's context this morning.- **An agent built for big data.** [Smart token compression (TokenJuice)](features/token-compression.md) compacts verbose tool output before it ever enters the model's context, so sweeping through your last six months of email costs single-digit dollars. [Automatic model routing](features/model-routing/) sends each task to the right model, `hint:reasoning` to a frontier model, `hint:fast` to a cheap one, vision to vision, all under one subscription and one TinyHumans API key. Optional [local AI via Ollama or LM Studio](features/model-routing/local-ai.md) keeps supported workloads on-device, and every LLM, embedding, memory, and web search engine underneath is swappable through config rather than code.- **Fast, cheap decisions.** Before an agent burns a full model call choosing which of dozens of tools to use, a small classifier called Jev scores the options and answers in about 150 milliseconds instead of generating text. It shortlists tools, decides whether a tool is needed at all, and drives routine browser steps, so the expensive model gets called for the things that actually need it.- [**Batteries included**](features/native-tools/)**.** A complete agent toolbelt is wired in by default: [web search](features/native-tools/web-search.md), a [web-fetch scraper](features/native-tools/web-scraper.md), a full [coder toolset](features/native-tools/coder.md) (filesystem, git, lint, test, grep), [browser & computer control](features/native-tools/browser-and-computer.md), [cron & scheduling](features/native-tools/cron.md), [memory tools](features/native-tools/memory-tools.md), [agent coordination](features/native-tools/agent-coordination.md) for spawning sub-agents, and [native voice](features/native-tools/voice.md), STT in, TTS out, mascot lip-sync, and a live Google Meet agent that joins meetings, transcribes them into your Memory Tree, and can speak back into the call. No "install a plugin to read files" friction.diff --git a/gitbooks/SUMMARY.md b/gitbooks/SUMMARY.mdindex da19774349..162b0127ea 100644--- a/gitbooks/SUMMARY.md+++ b/gitbooks/SUMMARY.md@@ -14,7 +14,6 @@- [Keep sensitive data private](guides/privacy-sensitive-data.md)- [Recover from a failed installation](guides/recover-failed-installation.md)- [Move OpenHuman to a new PC](guides/move-to-new-pc.md)- - [Connect OpenHuman to Obsidian](guides/connect-obsidian.md)- [Organize my project folders](guides/organize-project-folders.md)- [Create a doctor-specific assistant](guides/doctor-assistant.md)- [Create a safe companion for a child](guides/child-safe-companion.md)@@ -23,13 +22,6 @@- [Realtime Mascot](features/mascot/README.md)- [Memory](features/memory.md)- - [Memory Tree](features/memory.md)- - [Memory Sources & Scoping](features/memory.md#REMOVE/sources.md)- - [Auto-fetch from Integrations](features/memory.md)- - [Scoring & Ranking](features/memory.md#REMOVE/scoring.md)- - [Retrieval & Recall](features/memory.md#REMOVE/retrieval.md)- - [Memory Diff (Git-Backed)](features/memory.md#REMOVE/memory-diff.md)- - [agentmemory backend](features/memory.md#REMOVE/agentmemory-backend.md)- [Third-party Integrations (118+)](features/integrations/README.md)- [Triggers](features/integrations/triggers.md)- [MCP Servers & Skills](features/integrations/mcp-and-skills.md)@@ -53,7 +45,6 @@- [Cron & Scheduling](features/native-tools/cron.md)- [Voice](features/native-tools/voice.md)- [Memory Tools](features/native-tools/memory-tools.md)- - [Tool-Scoped Memory](features/native-tools/tool-memory.md)- [Third-party Integrations](features/native-tools/integrations.md)- [Agent Coordination](features/native-tools/agent-coordination.md)- [System & Utilities](features/native-tools/system-and-utilities.md)@@ -92,7 +83,7 @@- [Deep Architecture Reference](developing/architecture.md)- [Agent Harness](developing/architecture/agent-harness.md)- [Flows on TinyAgents (crates/openhuman-core/src/flows/)](developing/architecture/flows-on-tinyagents.md)- - [Memory Tree (crates/openhuman-core/src/memory/tree/)](developing/architecture/memory-tree.md)+ - [Memory (crates/openhuman-core/src/memory/)](developing/architecture/memory.md)- [MCP Registry (crates/openhuman-core/src/mcp/registry/)](developing/architecture/mcp-registry.md)- [Security (crates/openhuman-core/src/security/)](developing/architecture/security.md)- [Frontend (app/src/)](developing/architecture/frontend.md)diff --git a/gitbooks/guides/personal-assistant.md b/gitbooks/guides/personal-assistant.mdindex d32d17a322..7db643b5ac 100644--- a/gitbooks/guides/personal-assistant.md+++ b/gitbooks/guides/personal-assistant.md@@ -112,5 +112,4 @@ You have a working assistant when **all** of these are true:## Next steps- [Use OpenHuman with a local model](local-model.md): keep inference on-device.-- [Connect OpenHuman to Obsidian](connect-obsidian.md): read and edit the memory by hand.- [Keep sensitive data private](privacy-sensitive-data.md): understand exactly what leaves your machine.