Stateless context management for LLM sessions.
Long, continuous chat threads drain token quotas, dilute context, and tie your project state to ephemeral browser instances.
Dory treats hosted LLM interfaces as disposable tools. By offloading state to your local environment and enforcing atomic sessions, you maintain a low baseline token usage and secure your codebase history.
| Traditional Sessions | Dory Atomic Sessions |
|---|---|
| Bloated: History re-parsed every turn. | Lean: Only active task state loaded. |
| Volatile: Chat deletion drops state. | Persistent: History saved to local vault. |
| Expensive: Context limits hit fast. | Efficient: Baseline token usage constant. |
Dory integrates directly into your project's version control.
your-project-root/
├── .dory/
│ ├── agents.md # Operational directives and behavior
│ └── history/ # Local vault for session summaries and code
├── CHANGELOG.md # Architectural decision ledger
Dory operates as either a manual prompt framework or an automated CLI skill.
- Pure Prompt (Web UI): Pass the contents of
.dory/agents.mdandCHANGELOG.mdin your initial message to establish operational boundaries. - CLI Skill: Configure
.clauderc(or an equivalent tool configuration) to automatically inject these directives into the system prompt for local agents.
Dory relies on configuration to maintain execution speed and precision.
- Intent-First: The model prioritizes structural goals over literal text.
- Zero-Padding: No conversational wrapping. Output code blocks directly.
- Decomposition: Explicit
[PLANNING]➔[IMPLEMENTING]➔[TESTING]➔[ITERATING]flow for complex tasks. This is optional for small or isolated requests.
- Minimalism: Clean, flat code. No defensive boilerplate or redundant abstractions.
- Terminal Aesthetics: Structured formatting for clean and real-time output feedback.
- Verification: Probes the directory and verifies state before acting. Avoids assumptions.
- Append-Only Ledger: High-density, single-line decision tracking.
- Artifact Vaulting: Sessions conclude with a
.mdsummary and clean code snippets saved locally. - Token Gating: Every response includes a token metric to signal context saturation.
- Initialize: Open a fresh chat. Load
CHANGELOG.mdand.dory/agents.md. - Probe: The model inspects the local environment.
- Execute: The model delivers direct code.
- Monitor: Track the token metrics to manage quota limits.
- Persist and Clear: Save the summary to the vault, append the decision to the log, and terminate the session.
He says nothing. He writes one line. It works.
