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
- Redis Core Storage Optimization: Up to 60% Memory Savings Built with Massive AI Help — antirez · 2026-08-13
- Looking for autonomous AI agent harness that supports bring-your-own-model for long-horizon tasks — Lucky_Creme_5208 · 2026-08-13
- How do developers move context between AI chat and coding agents? Reddit discussion — adarshvp2503 · 2026-08-13
- ClawFlows Goes Viral: 113 Prebuilt Agent Workflows to Automate Your Daily Life — tom_doerr · 2026-08-13
- Paper2Agent: Open-Source System Turns Research Papers into Interactive AI Agents — tom_doerr · 2026-08-13
- Grok + Blender MCP: Animating 3D Models with a Single Prompt — chongdashu · 2026-08-13