Skip to main content

Crate areev

Crate areev 

Source
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.
ChatExecutors
Registry of client-side tool executors keyed by tool_name.
ChatResumeRequest
Request body for POST /api/memories/{id}/harnesses/{slug}/chat/resume.
ChatToolOutput
Caller-supplied result for a single pending_tool_calls entry.
ForgetRequest
Request to forget (delete) a grain.
GetResponse
Response from getting a grain by hash.
HarnessChatRequest
Request body for POST /api/memories/{id}/harnesses/{slug}/chat.
HarnessChatResponse
Response from POST .../chat or POST .../chat/resume.
HealthResponse
Health check response.
HttpClient
HTTP transport client for Areev.
InlineToolResult
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.
PendingToolCall
One client-executed tool call the caller must run during a Flow-A pause.
RecallRequest
Request to recall (query) grains.
RecallResponse
Response from a recall query.
RememberRequest
Request to remember natural language text.
RememberResponse
Response from remembering natural language text.
SearchHit
A single search result.
StatsResponse
Database statistics.
SupersedeRequest
Request to supersede a grain.
SupersedeResponse
Response from superseding a grain.
ToolCallTrace
One tool invocation trace recorded during a harness turn (Flow-A).

Enums§

AreevError
Errors returned by the Areev client.
GrainType
Grain types supported by Areev.
HarnessChatStatus
Terminal or paused state of a Flow-A harness chat turn.

Type Aliases§

ChatExecutor
Map of tool-name → async executor used by Areev::chat_interactive.
Result