Brad–Sterling2Sterling 2 Protocols
Agent operating architecture
Sterling 2.0 operating architecture

How the agent system thinks, remembers and scales

This reference explains the working context, persistent memory, skills, compaction, durable evidence, local capacity, Cloudflare execution, and the signals that justify another Hermes agent or provider account.

Core operating principleAgents reason.Deterministic workers execute.Humans approve consequential actions.Durable systems retain truth and proof.
Plain-English orientation: The context window is the temporary whiteboard. Persistent Memory is the small set of facts placed on every new whiteboard. Skills and databases are the organized library we retrieve from only when needed.
01

The complete architecture

Different kinds of knowledge live in different layers. Efficiency comes from loading only the layer required for the current decision.

01
System prompt

Sterling’s identity, safety rules, tools, persistent memory and skill catalog. Stable and always present.

Always loaded
02
Working context

The current conversation, active task, loaded skills, retrieved evidence and recent tool output.

Temporary whiteboard
03
Persistent memory

A tiny curated set of durable facts about Brad, preferences and operating boundaries.

Every session
04
Skills and references

Reusable procedures and focused chapters loaded only when their trigger applies.

On demand
05
Evidence and state

Session transcripts, SQLite, D1, R2, checkpoints and source snapshots. Queried rather than injected wholesale.

Durable retrieval
What scales well

Large organized knowledge

Thousands of Markdown references, database records and source snapshots are manageable when indexed and retrieved selectively. They do not consume the context window merely by existing.

What does not scale

Always loading everything

Huge persistent-memory files, giant main skills and raw project transcripts waste context. The solution is progressive disclosure, checkpoints and ranked retrieval—not deleting useful evidence.