Deckium: Building an Agent Loop for Collaborative AI Document Editing
sleipner42 · reddit · 2026-08-11
Deckium is an open-source AI presentation editor where the AI agent and the user edit the same structured document through different interfaces. The agent uses bounded tools to manipulate objects, text, and charts, while human edits act as the authoritative state, providing updated context for the next model turn.
The author shared key engineering lessons from building this agent loop:
- Stable object IDs are essential for preserving conversational references.
- Narrow tools are easier to validate than unrestricted document patches.
- Overflow, overlap, and text-density checks are necessary to let the model review its own output.
- Human edits must be treated as authoritative state, not drift for the model to overwrite.
More from coding & agent
- Test: Claude Opus Generates Stunning Three.js 3D Car Graphics — ChrisGPT · 2026-08-11
- OpenLLM: Run Any Open-Source LLM as an OpenAI-Compatible API with One Command — tom_doerr · 2026-08-11
- App Store Connect CLI 4.0 Released with Hundreds of Fixes — rudrank · 2026-08-11
- Reddit Discussion: Vibe Coding is Doomscrolling With a Code Editor Attached — Nelson-Tyne · 2026-08-11
- Dev Advocates for Open-Source Coding Harnesses to Avoid Closed-Source Token Traps — Hacubu · 2026-08-11
- anywhere-agents: Unify AI Coding Agent Configs with a Single File — tom_doerr · 2026-08-11