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
fix(ci): refresh migration checks and generated docs
Steven Enamakelcf2b57921362
diff --git a/EMBED.md b/EMBED.mdindex 76d37ccdbc..d777a19a44 100644--- a/EMBED.md+++ b/EMBED.md@@ -38,7 +38,7 @@- [Composio](docs/gitbooks/en/developing/embed/integrations/composio.md): Composio calls use the host backend transport. Install that transport before booting a managed runtime; see TinyHumans managed inference. An explicit inference provider route supplies model inference, not the connector transport.- [Local and custom models](docs/gitbooks/en/developing/embed/integrations/local-models.md): For a local server that implements chat completions, use `Provider::openai_compatible` with its API root and model id. The constructor requires a bearer string even when a particular local server ignores it. Set the endpoint explicitly rather than relying on another user's installed configuration. The OpenAI-compatible example controls can point a live example at that local server.- [MCP servers](docs/gitbooks/en/developing/embed/integrations/mcp.md): Enable the `mcp` Cargo feature and declare a server with `AgentSpec::mcp`. `McpServer::http` takes a registered name and endpoint; `allow_tools` narrows the remote tool list. Server configuration and its connections belong to the agent that declared them.-- [OpenAI-compatible providers and BYOK](docs/gitbooks/en/developing/embed/integrations/openai-compatible.md): Construct a route with `Provider::openai_compatible(base_url, api_key).model(model_id)`, then set it on the runtime or an individual agent. Pass the API root, such as a provider's `/v1` URL; the adapter appends `/chat/completions`. Supply an explicit model id so the route can register that model for its workload roles. Set `.provider_options(json!({...}))` for route-wide gateway defaults and `.reasoning_effort(ReasoningEffort::High)` for the model's reasoning level. Provider options are recursively merged with request options, with request values taking precedence. Both settings apply to agent turns and runtime-owned work such as cron runs and subagents.+- [OpenAI-compatible providers and BYOK](docs/gitbooks/en/developing/embed/integrations/openai-compatible.md): Construct a route with `Provider::openai_compatible(base_url, api_key).model(model_id)`, then set it on the runtime or an individual agent. Pass the API root, such as a provider's `/v1` URL; the adapter appends `/chat/completions`. Supply an explicit model id so the route can register that model for its workload roles.- [Storage drivers](docs/gitbooks/en/developing/embed/integrations/storage-drivers.md): Enable `storage-sqlite` for SQLite or `storage-mongodb` for MongoDB on your Embed dependency. These Cargo gates make the driver available; choosing a URL selects the runtime backend. Set `RuntimeConfig.storage.url`, pass a URL through `RuntimeBuilder::storage`, or set the `url` field in the `[storage]` section of the host's configuration. `OPENHUMAN_STORAGE_URL` is the environment override used by host configuration resolution.- [TinyHumans managed inference](docs/gitbooks/en/developing/embed/integrations/tinyhumans-managed.md): Embed wraps the core; neither contains a TinyHumans backend client. A managed host boots through the builder in `openhuman-tinyhumans` (`openhuman_tinyhumans::RuntimeBuilder`), or calls `openhuman_tinyhumans::install`. That layer owns the transport, the authenticated client, the hosted routes and the hosted providers, and it plugs them into the core through the core's generic registries (chat models, voice, tool sources, the channel callback and memory engines). A host can register its own provider in the same registries. The connected host layer also owns session login. `RuntimeBuilder::backend_url` selects a URL; it does not connect anything.- [Web search](docs/gitbooks/en/developing/embed/integrations/web-search.md): An agent's web-search tools (`web_search_tool`, `web_answer_tool`, `web_contents_tool`) run through the process-wide TinySearch module. Several agents in one runtime can each search with their own provider key: pin it on that agent's config, and it is never written to `config.toml`, the environment, or a log.diff --git a/app/src/lib/chatErrorCopy.test.ts b/app/src/lib/chatErrorCopy.test.tsindex d98af93642..54604c55b0 100644--- a/app/src/lib/chatErrorCopy.test.ts+++ b/app/src/lib/chatErrorCopy.test.ts@@ -65,14 +65,20 @@ describe('chatErrorCopyText', () => {expect(chatErrorCopyText({ message: 'english' }, t)).toBe('english');});- it('has an English string for every key in the core failure-copy table', () => {- const tablePath = resolve(+ it('has an English string for every provider and host failure-copy key', () => {+ const hostTablePath = resolve(process.cwd(),'../crates/openhuman-core/src/inference/failure_copy/table.rs');- const keys = [...readFileSync(tablePath, 'utf8').matchAll(/"(chat_error\.[a-z_]+)"/g)].map(- m => m[1]+ const providerTablePath = resolve(+ process.cwd(),+ '../vendor/tinyagents/vendor/tinyinference/crates/tinyinference-llm/src/failure/copy.rs');+ const failureCopySources = [+ readFileSync(hostTablePath, 'utf8'),+ readFileSync(providerTablePath, 'utf8'),+ ].join('\n');+ const keys = [...failureCopySources.matchAll(/"(chat_error\.[a-z_]+)"/g)].map(m => m[1]);expect(keys.length).toBeGreaterThanOrEqual(28);const missing = keys.filter(key => !(key in (en as Record<string, string>)));expect(missing).toEqual([]);diff --git a/app/src/services/__tests__/rpcMethods.test.ts b/app/src/services/__tests__/rpcMethods.test.tsindex 70701baf7c..70199e8d38 100644--- a/app/src/services/__tests__/rpcMethods.test.ts+++ b/app/src/services/__tests__/rpcMethods.test.ts@@ -209,6 +209,9 @@ describe('rpcMethods catalog', () => {readWithParts('../../../../crates/openhuman-core/src/inference/schemas.rs'),readWithParts('../../../../crates/openhuman-core/src/inference/host_runtime/schemas.rs'),readWithParts('../../../../crates/openhuman-core/src/inference/embedding_host/schemas.rs'),+ // Agent chat is owned by agent_runs; core/all.rs composes these host-side+ // controllers into the inference capability group.+ readWithParts('../../../../crates/openhuman-core/src/agent_runs/schemas.rs'),// The MCP registry split its schemas module into a directory. Controller// definitions (and therefore the mcp_clients literals this guard owns)// live in `registry.rs`; keep this path explicit so another move failsdiff --git a/docs/gitbooks/en/developing/embed/api-index.json b/docs/gitbooks/en/developing/embed/api-index.jsonindex 45e9a7e4ae..c770d057a5 100644--- a/docs/gitbooks/en/developing/embed/api-index.json+++ b/docs/gitbooks/en/developing/embed/api-index.json@@ -103,6 +103,7 @@"ProfileSummary","Provider","Provisioned",+ "ReasoningEffort","RelayAccepted","RelayMessage","RemoveAgent",diff --git a/docs/gitbooks/en/developing/embed/api-index.md b/docs/gitbooks/en/developing/embed/api-index.mdindex 554fbf5550..d5cff31ce5 100644--- a/docs/gitbooks/en/developing/embed/api-index.md+++ b/docs/gitbooks/en/developing/embed/api-index.md@@ -106,6 +106,7 @@ Generate the complete local Rust API reference with `cargo doc -p openhuman-embe- [`ProfileSummary`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`Provider`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`Provisioned`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)+- [`ReasoningEffort`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`RelayAccepted`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`RelayMessage`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`RemoveAgent`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)diff --git a/docs/storage-schema.md b/docs/storage-schema.mdindex b3d8ad3250..830b0d1b70 100644--- a/docs/storage-schema.md+++ b/docs/storage-schema.md@@ -332,7 +332,9 @@ Migration steps:| Kind | Name | Version | Scope | Indexed fields || --- | --- | --- | --- | --- |+| collection | `skills.bundles` | 1 | tenant | || collection | `skills.catalogs` | 2 | tenant | |+| blobs | `skills/bundle-generations` | | tenant | || blobs | `skills/bundles` | | tenant | |Migration steps:diff --git a/llms-full.txt b/llms-full.txtindex bc3266951d..faad176fe4 100644--- a/llms-full.txt+++ b/llms-full.txt@@ -2995,6 +2995,7 @@ Generate the complete local Rust API reference with `cargo doc -p openhuman-embe- [`ProfileSummary`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`Provider`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`Provisioned`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)+- [`ReasoningEffort`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`RelayAccepted`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`RelayMessage`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)- [`RemoveAgent`](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-embed/src/lib.rs)