Skip to main content

Crate crow_memory_sdk

Crate crow_memory_sdk 

Source
Expand description

crow-memory-sdk — reqwest client for the crow-memory HTTP server.

Same method surface as the old in-process MemoryStore, minus open/path: MemoryClient::connect(url). Connection failures and 502/503/504 retry with exponential backoff (v1 lesson: a service blip with no backoff killed the whole experiment). 4xx and 500 fail fast — 500s from the store are not retried so non-idempotent writes never double-apply.

Structs§

AgentRecord
MemoryClient
MessageRecord
PromptRecord
SessionInfo

Constants§

DEFAULT_MEMORY_PORT
Default crow-memory HTTP port: 27697 = CROWS on a phone keypad. Below the Linux ephemeral range (32768+), unregistered in IANA.

Functions§

default_memory_url
Default crow-memory server URL. Honors CROW_MEMORY_PORT (set it in {config_dir}/.env or container env — docker-compose friendly), else DEFAULT_MEMORY_PORT (27697 — CROWS on a phone keypad).