chore(agent)!: remove the no-op agent feature

It enabled nothing — the agent layer is always built — yet the README,
QUICKSTART and USE_CASES told people to pass it. Removed, with those
snippets fixed: they now depend on the git repository (nothing is on
crates.io, so `version = "2.0"` never resolved) and USE_CASES no longer
presents the `float16` feature as half-precision storage (that is
MemoryConfig::float16, on by default for new stores).

Breaking for anyone passing `features = ["agent"]`: drop it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
osobh
2026-09-25 09:53:53 -05:00
co-authored by Claude Opus 5.5
parent 00b0cb0035
commit 4ecac65f22
5 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ The core use case. Give your AI agent persistent, searchable memory in a single
```toml
# Cargo.toml
[dependencies]
clawhdf5-agent = { version = "2.0", features = ["agent"] }
clawhdf5-agent = { git = "https://git.redclaw.dev/quantumclaw/clawhdf5" } # not on crates.io yet
```
### Create a Memory Store
+5 -4
View File
@@ -212,7 +212,7 @@ This is the container image for intelligence.
| Your Situation | Features to Enable | Why |
|----------------|-------------------|-----|
| **Quick prototype** | Default | Vector search works out of the box |
| **Production agent** | `agent`, `float16`, `parallel` | Half-precision saves 50% storage, parallel search for scale |
| **Production agent** | defaults (`float16`, `hnsw`, `parallel`) | HNSW search and a parallel index build; half-precision *storage* is `MemoryConfig::float16`, on by default for new stores |
| **macOS** | + `accelerate` | Apple AMX coprocessor for matrix ops |
| **Linux server** | + `openblas` or `fast-math` | BLAS acceleration |
| **GPU available** | + `gpu` | wgpu-based search, wins at 100K+ scale |
@@ -220,14 +220,15 @@ This is the container image for intelligence.
| **Edge device** | Default only | Minimal dependencies, smallest binary |
```toml
# Not on crates.io yet: depend on the repository.
# Production agent on Linux
clawhdf5-agent = { version = "2.0", features = ["agent", "float16", "parallel", "fast-math"] }
clawhdf5-agent = { git = "https://git.redclaw.dev/quantumclaw/clawhdf5", features = ["fast-math"] }
# Edge device
clawhdf5-agent = { version = "2.0", features = ["agent"] }
clawhdf5-agent = { git = "https://git.redclaw.dev/quantumclaw/clawhdf5" }
# macOS with GPU
clawhdf5-agent = { version = "2.0", features = ["agent", "float16", "accelerate", "gpu", "async"] }
clawhdf5-agent = { git = "https://git.redclaw.dev/quantumclaw/clawhdf5", features = ["accelerate", "gpu", "async"] }
```
---