Expand description
Areev Rust SDK — client library for the Areev knowledge database.
§Transports
- HTTP (default):
HttpClient::new("http://localhost:4009", "default", Some("api-key")) - gRPC (feature
grpc):GrpcClient::connect("http://localhost:4010").await
Structs§
- AddOptions
- Options for the add operation (import intelligence).
- AddRequest
- Request to add a grain.
- AddResponse
- Response from adding a grain.
- Areev
- High-level Areev client with minimal boilerplate.
- Chat
Executors - Registry of client-side tool executors keyed by
tool_name. - Chat
Resume Request - Request body for
POST /api/memories/{id}/harnesses/{slug}/chat/resume. - Chat
Tool Output - Caller-supplied result for a single
pending_tool_callsentry. - Forget
Request - Request to forget (delete) a grain.
- GetResponse
- Response from getting a grain by hash.
- Harness
Chat Request - Request body for
POST /api/memories/{id}/harnesses/{slug}/chat. - Harness
Chat Response - Response from
POST .../chatorPOST .../chat/resume. - Health
Response - Health check response.
- Http
Client - HTTP transport client for Areev.
- Inline
Tool Result - An Axtion tool result that ran inline in the same iteration as pending
client://calls. Surfaced for observability; the session’s internal messages already reflect it. - Pending
Tool Call - One client-executed tool call the caller must run during a Flow-A pause.
- Recall
Request - Request to recall (query) grains.
- Recall
Response - Response from a recall query.
- Remember
Request - Request to remember natural language text.
- Remember
Response - Response from remembering natural language text.
- Search
Hit - A single search result.
- Stats
Response - Database statistics.
- Supersede
Request - Request to supersede a grain.
- Supersede
Response - Response from superseding a grain.
- Tool
Call Trace - One tool invocation trace recorded during a harness turn (Flow-A).
Enums§
- Areev
Error - Errors returned by the Areev client.
- Grain
Type - Grain types supported by Areev.
- Harness
Chat Status - Terminal or paused state of a Flow-A harness chat turn.
Type Aliases§
- Chat
Executor - Map of tool-name → async executor used by
Areev::chat_interactive. - Result