Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(agent, inference): add README files for learning and embeddings modules

Steven Enamakelcbbfefdea7fe
diff --git a/crates/openhuman-core/src/agent/learning/README.md b/crates/openhuman-core/src/agent/learning/README.md
index 80d3075a38..21de2747c4 100644
--- a/crates/openhuman-core/src/agent/learning/README.md
+++ b/crates/openhuman-core/src/agent/learning/README.md
@@ -92,7 +92,7 @@ These are subscriber registrations rather than a single `bus.rs`; subscriptions
## Persistence
- **`user_profile_facets`** (the ambient cache) — accessed via `FacetCache`, which delegates to the `MemoryProfile` family of the active `MemoryGuard` (`list_active`, `list_all`, `get`, `upsert`, `set_user_state`, `delete`, `drop_below_threshold`; `reset_non_pinned` is a free fn in `cache.rs`). The SQL lives in the memory driver, not in this crate. Rows are `tinymemory_api::provider::ProfileFacet { key, value, state, user_state, stability, confidence, evidence_count, evidence_refs, class, cue_families, first/last_seen_at, … }`.
-- **KV memory namespaces** (via the `Memory` trait): `learning_observations`, `learning_patterns`, `learning_reflections`, `user_profile`, `tool_effectiveness`, plus transcript-ingest `conversation_memory` / `conversation_reflections`. LinkedIn enrichment also upserts the scraped profile through the guard's documents family (`put_profile_document` in `linkedin_enrichment_part_02.rs`) and writes `{workspace_dir}/PROFILE.md`.
+- **KV memory namespaces** (via the `Memory` trait): `learning_observations`, `learning_patterns`, `learning_reflections`, `user_profile`, `tool_effectiveness`, plus transcript-ingest `conversation_memory` / `conversation_reflections`. LinkedIn enrichment also upserts the scraped profile through the guard's documents family (`put_profile_document` in `linkedin_enrichment/memory_persistence.rs`) and writes `{workspace_dir}/PROFILE.md`.
- **In-memory**: the global `candidate::Buffer` (transient evidence, not persisted) and per-session state in `extract/heuristics.rs`.
## Dependencies
diff --git a/crates/openhuman-core/src/inference/embeddings/README.md b/crates/openhuman-core/src/inference/embeddings/README.md
index 15a886e277..4a758a42d2 100644
--- a/crates/openhuman-core/src/inference/embeddings/README.md
+++ b/crates/openhuman-core/src/inference/embeddings/README.md
@@ -49,7 +49,7 @@ stores fixed 1024-dimension vectors (`EMBEDDING_DIM` in tinymemory-core's
- `schemas.rs` declares the `embeddings` namespace functions (`get_settings`,
`update_settings`, `set_api_key`, `clear_api_key`, `embed`,
`test_connection`) and dispatches to the handlers in `rpc.rs`
- (`rpc_part_01.rs`, `rpc_part_02.rs`).
+ (`rpc/settings.rs`, `rpc/api_keys.rs`, `rpc/embed.rs`, `rpc/probe.rs`, `rpc/served_models.rs`).
- See `mod.rs` for the current provider set (Managed default via the backend's
`POST /openai/v1/embeddings`, Voyage, OpenAI, Cohere, Ollama, Custom, Noop)
and `tinyinference::embeddings` for their concrete implementations.