Open-source agent uses Gemini 3 Flash to autonomously write novels with streaming output and context compression
tom_doerr · x · 2026-08-13
Developer Doriandarko released gemini-writer, an open-source autonomous writing agent powered by Google's Gemini 3 Flash model. It can independently plan and execute creative writing tasks such as novels and short story collections.
Key features include:
- Autonomous planning and execution of writing tasks
- Support for multiple formats (novels, books, short story collections)
- Real-time streaming output showing the agent's thinking and writing
- Smart context management with automatic compression near token limits
- Recovery mode to resume interrupted work from saved context summaries
- Real-time token monitoring with automatic optimization
- Tool use: can create projects, write files, and manage its workspace
- Uses Gemini's thinking mode for better reasoning
The project is open-sourced on GitHub with 313 stars and 55 forks.
More from coding & agent
- 6 MCP servers ate 30k tokens before the first prompt: a Claude Code slimming recipe — for-entire-phonly · 2026-11-30
- Developer explains agent memory design: append-only storage plus quarantine to handle collisions — rchardkovacs · 2026-11-30
- WorkflowArena: 145 long-horizon tasks benchmark multi-agent orchestration across nine models — jiqizhixin · 2026-11-30
- VASP: visual-anchored agent tops scientific poster generation with 94.3 mAP figure extraction — Huihan Wang · 2026-11-30
- Dev shows agents auto-verifying and sending SAFE fundraising docs in parallel — Scobleizer · 2026-11-30
- Ex-Citadel MD: AI will automate equity long-short workflows within 3 years; job seekers should build eval suites — _AustinCalvert_ · 2026-11-30