Overview
Synapsor does not make every LLM call smaller by magic. It gives reviewed capabilities a way to keep context, evidence, memory, and policy retrieval inside the database, then return compact handles and bounded summaries to the caller.
TOKEN BUDGET limits the response shape produced by a capability plan. MAX OUTPUT TOKENS bounds generated response text, MAX INLINE EVIDENCE ITEMS limits copied evidence items, MAX REASON COUNT limits reason-code detail, and PREFER HANDLES tells Synapsor to favor compact resource ids over bulky inline objects.
INLINE EVIDENCE controls how much supporting evidence is copied into the response. handles_only keeps the payload small while preserving replayable evidence resources for audit.
PAYLOAD is the model/app-facing result for the current call. EVIDENCE is the durable why trail used for replay, audit, approval, settlement, and later inspection.
Compact capability response
The agent receives the minimum useful payload while Synapsor keeps the evidence graph replayable.
- App fetches policy chunks every turn
- App copies rows, memory, and reason text into prompts
- Evidence shape is rebuilt in app code
- Audit and replay need separate glue
- Token use grows with workflow state
- Capability owns policy and memory retrieval
- TOKEN BUDGET bounds returned text and reasons
- INLINE EVIDENCE handles_only returns compact evidence ids
- PAYLOAD stays compact for the agent
- EVIDENCE remains durable for replay and review
Developer notes
- Use response controls on capabilities that feed LLM prompts or agent tools.
- Return handles for bulky evidence, policy chunks, and memory facts whenever replay/audit can dereference them later.
- Keep settlement policies based on structured PAYLOAD fields and reason codes, not arbitrary generated prose.
- Tune budgets per workflow; measured token savings are workflow-specific, not guaranteed.