Areev Rust SDK
Rust client library for the Areev knowledge database.
Installation
[]
= "0.1"
For gRPC transport:
[]
= { = "0.1", = ["grpc"] }
Quick Start
use Areev;
async
Configuration
The client reads from environment variables by default:
| Variable | Default | Description |
|---|---|---|
AREEV_API_KEY |
— | API key (X-API-Key header) |
AREEV_URL |
https://app.areev.ai |
Server endpoint |
AREEV_MEMORY_ID |
default |
Memory database ID |
Or pass them explicitly:
let areev = new;
API
| Method | Description |
|---|---|
remember(text) |
Store natural-language memory (LLM extracts structure) |
recall(query) |
Search memories |
forget(hash) |
Delete a memory by hash |
add(req) |
Add a typed grain (low-level) |
get(hash) |
Get a grain by hash |
supersede(req) |
Update a grain |
health() |
Health check |
stats() |
Database statistics |
flush() |
Flush write buffer |
Low-Level Client
For advanced use cases (custom request objects, gRPC transport):
use ;
let client = new;
let resp = client.add.await?;
Transports
| Transport | Feature | Default |
|---|---|---|
| HTTP/REST | http |
Yes |
| gRPC | grpc |
No |
License
BUSL-1.1