AI novel writing agent 🤖 Turns your idea into a complete first draft using Gemini. Features outlining, auto-writing, interactive AI editing, and CLI control. 📚✍️
What is it? pulpgen is a command-line tool that uses AI (Google Gemini) to automatically write a complete first-draft novel based on your idea/prompt. It handles outlining, chapter writing, and interactive AI-assisted editing.

Install: Requires Python 3.13+ and uv.
# Clone or download the code first
cd pulpgen
uv sync
API Key: Create a .env file in the pulpgen directory with GEMINI_API_KEY=YOUR_KEY_HERE
API Key can be created in Google AI Studio: https://aistudio.google.com/app/apikey
# Example using a prompt file:
uv run python pulpgen.py --prompt your_idea.txt
# Or run without --prompt to enter idea interactively
Run (Resume Project):
uv run python pulpgen.py --resume path/to/your/project_folder
Output: Finds/creates a project folder (like YYYYMMDD-slug-uuid) containing XML state files and the final manuscript in final.html.
Launch the pulpgen agent from your terminal within the project directory:
uv run python pulpgen.py [OPTIONS]
Command-Line Options:
--resume FOLDER_PATH: Point to an existing project folder (e.g., 20240315-space-opera-saga-f3a4b1c9) to continue a previously started job.--prompt FILE_PATH: Provide the path to a .txt file containing your book idea. This is only used when starting a new project (ignored if --resume is used).pulpgen keeps its work organized in a dedicated project folder (e.g., 20240315-robot-romance-a1b2c3d4):
YYYYMMDD-slug-uuid/ (Project Folder): The main case file, named with the date, a slugified title, and a unique ID.outline.xml: The initial blueprint. Contains metadata (title, synopsis, your idea), character profiles, and chapter summaries genUniversal, model-agnostic operating harness for AI agents (Claude, Codex, Gemini, …) — a lean core + work-type profiles assembled by one setup script.
Game-development Agent Skills for AI coding agents: install once and a master router loads the right skill for your engine and task. 66 original, version-pinned skills (plus a master router) in the portable SKILL.md format that runs across Claude Code, Cursor, Codex, Copilot, Gemini CLI and more, for Godot, Unity, Unreal, web and beyond.
A desktop pet for macOS & Windows that monitors your AI coding agents (Claude Code, Codex, Cursor, Gemini...) in real time, and grows as you code, feed it tokens, level it up, climb the leaderboard.
UltraGameStudio - AI coding agent for game development: engine workflows, gameplay code, and asset generation.
The coding agent that answers to you, your model, your machine, your rules.
Stop babysitting local AI agents. Just notifications, approve, and resume your Codex,Pi,Grok, or Claude code sessions anywhere. 0-Intrusion mobile control bridge via Telegram/微信/飞书. No hooks, no skills, no MCP.
Workflows from the Neura Market marketplace related to this Gemini resource