Documentation
The fact sheets behind Duct: what it stores, how its agents are wired, where credentials live, and a map of the code. Generated from the repository, so they cannot drift from it.
Duct architecture
An interactive map of the Duct monorepo: the backend, app, desktop shell and site, how they talk to each other, and which file to open first for each job.
ReferenceData model
Every table the Duct backend owns, what it records, and which of the four stores answers where something is recorded: rows, events, logs or memories.
ReferenceAgent ports and the event contract
The harness boundary of Duct's agents: the six ports a runner implements and the server-sent event contract the app renders, and the code that enforces each.
GuideBuilding and changing agents
How an agent is built and changed in Duct on LangChain, LangGraph and deepagents: the rules, the primitive behind each, what enforces it, and the checklists.
GuideAgent output QA
How Duct tests agents whose output is subjective, a brief or a post, with an LLM-as-judge harness: the trials, the rubric, the judge's biases and mitigations.
ReferenceCredential storage
Where every secret Duct holds actually lives, on the desktop and on a server: the local API key, provider keys and OAuth tokens, and what protects each of them.
RunbookLocal Security Audit Skill
The local security gate for Duct's backend and app: the audit skill, the leak scanner, the pre-commit hook and the policy they enforce before a change ships.