1. Getting Started
  2. Architecture

Backboard architecture diagram

The diagram reads outside-in (assistant wraps threads). Below we explain inside-out: what one message is, then what a thread is, then what an assistant is.

​
The four things you need to know

​
1. Message — one turn

A message is a single exchange in a thread. There are three types:

RoleCreated byWhat it is
userYouWhat the user said
assistantThe modelThe model’s reply (or a tool call request)
toolYouThe result of executing a tool

When you call POST /threads/messages, you are always sending one new message (and asking for the assistant’s reply).

​
2. Thread — one conversation

A thread is a ordered list of messages — one chat. Pass thread_id on the next call and the model sees the full history.

Every thread belongs to exactly one assistant. You can open many threads under the same assistant (for example one thread per end-user).

​
3. Assistant — your AI’s profile

An assistant sits above threads. It holds everything that makes your AI yours: a name, default instructions (system_prompt), tools, and embedding settings for memory and document search.

Memory and documents uploaded at the assistant level are shared across every thread under that assistant.

​
4. Memory & Documents — what sticks around

  • Memory — facts extracted from conversations (e.g. “User prefers dark mode”). Stored per assistant, recalled across threads.
  • Documents — files for RAG. Upload to the assistant (all threads) or to one thread (this chat only).

​
How a request works

  1. You send a message (POST /threads/messages).
  2. Backboard attaches it to the right thread (existing thread_id, or a new thread).
  3. That thread’s assistant supplies defaults, shared memory, and shared docs.
  4. History + context go to the LLM; the reply is saved as new messages on the same thread.

That’s it.


​
Quick reference

ThingWhat it isShared across threads?
MessageOne turn in a conversation—
ThreadOne conversation (ordered messages)—
AssistantAI profile (instructions, tools, embeddings)—
MemoryFacts extracted from conversationsYes — under that assistant
Documents (assistant)Uploaded files for RAGYes — under that assistant
Documents (thread)Uploaded files for this chat onlyNo