Brainby arc-labs/docs
Guide

Guides

Task-shaped walkthroughs — adding memories, recall, building context, streaming, idempotency, multi-tenant, error handling, and more.

Core paths

write

Adding memories

Encode text with encode (POST /v1/memories), read the structured outcome, and control content dedup and event time.

read

Recall

The one read verb: a membership verdict — Single, Many, or None — over the caller's memory pool.

context

Building context

Assemble recall output into a prompt block yourself — Brain has no build-context verb.

streaming

Streaming

The wire client's *Frames methods drain a response frame-by-frame; HTTP has none.

Production patterns

Was this page helpful?

On this page