Skip to main content

DeadLine

Write your novel. On your terms. From blank page to finished manuscript.

DeadLine is an AI-powered CLI novel-writing system. It orchestrates a multi-agent pipeline across 4 free-tier API providers — Gemini, Groq, Cerebras, and Mistral — to help you brainstorm, outline, draft, revise, polish, and publish a complete novel. No subscription. Your files stay local markdown.

Features

  • 14 CLI commands covering the full writing workflow
  • Multi-agent pipeline — Bible generator, character architect, chapter drafter, continuity validator, AI-tell humanizer, 15-dimension critic, coherence propagator, global spine model
  • 4 free API providers — Gemini, Groq, Cerebras, Mistral (with automatic failover)
  • 9 revision passes — subtext, dialogue, pacing, voice, sensory detail, show-don't-tell, slop cleanup, continuity
  • Iterative polish loopdeadline polish detects craft issues, device patterns, POV/tense violations, and runs multi-pass revision until quality thresholds are met
  • Global coherence — The Spine tracks character arcs, open threads, world rules, foreshadowing, timeline, thematic tension, relationships, and unanswered questions across the entire novel
  • Genre templates — Tailored bible prompts for mystery, romance, thriller, fantasy, and literary fiction
  • Cost tracking — Per-chapter cost ledger with token estimation
  • EPUB exportdeadline publish generates a professional EPUB from your manuscript
  • Branching — Experiment with alternate timelines without losing your main draft
  • Windows native — Full Unicode support with ASCII-safe fallback

Installation

pip install deadline-cli

Or from source:

git clone https://github.com/sicario-labs/deadline.git
cd deadline
pip install .

Requires Python 3.11+.

Quick Start

# Create a new novel project
deadline init

# Set your API keys
deadline config set-provider gemini --api-key "your-key"
deadline config set-provider groq --api-key "your-key"
deadline config set-provider cerebras --api-key "your-key"

# Check everything works
deadline check

# Brainstorm your story idea (with optional genre template)
deadline brainstorm "A detective investigating a murder in a space station" --genre mystery

# Build chapter outline
deadline plan --chapters 12

# Draft all chapters (with spine coherence)
deadline write

# Polish the manuscript (device detection, subtext, POV, tense, multi-pass revision)
deadline polish -a

# Generate a comprehensive quality report
deadline report

# Publish as EPUB
deadline publish

Commands

Command Description
init Scaffold a new novel project
status Project overview with word counts, pacing, cost
brainstorm AI-powered premise expansion (7 dimensions)
plan Generate chapter outline with acts, POV, conflict
draft Draft a single chapter (context-aware)
write Full 7-stage pipeline: bible → characters → draft → validate → humanize → critic → propagate
revise 9 targeted revision passes
polish Device detection, subtext fix, POV/tense check, iterative revision loop
critic 15-dimension chapter critique
branch Alternate timeline branching
publish EPUB export + markdown
config Manage providers and API keys
check Verify all API keys are working
report Full analysis (word counts, pacing, cost, critic scores)
spine Generate/regenerate global coherence model

Configuration

DeadLine uses a TOML config file (deadline.toml) in your project root. Each provider stores its API key and model:

[providers.gemini]
api_key = "your-key"
model = "gemini-2.0-flash-exp"

[providers.groq]
api_key = "your-key"
model = "llama-3.3-70b-versatile"

[providers.cerebras]
api_key = "your-key"
model = "gpt-oss-120b"

[roles.bible]
provider = "gemini"
fallbacks = ["groq"]

Architecture

DeadLine routes each creative role to the most suitable provider:

  • Bible / Brainstorm / Plan — Gemini (creative breadth)
  • Characters / Spine — Gemini → Groq fallback
  • Draft — Gemini → Cerebras fallback (long context)
  • Critic — Cerebras (analytical depth)
  • Humanizer — Groq (fast inference)
  • Validator / Device detection — Groq
  • Propagate — Gemini → Groq fallback

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deadline_cli-0.2.0.tar.gz (41.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deadline_cli-0.2.0-py3-none-any.whl (57.1 kB view details)

Uploaded Python 3

File details

Details for the file deadline_cli-0.2.0.tar.gz.

File metadata

  • Download URL: deadline_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 41.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for deadline_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b0a45ebbf02f477b3cb8460dabb2489d0f284ae10d51748e354fc338a62ba26b
MD5 d021e6a902d02e4ced00342316f03076
BLAKE2b-256 ae9f6cc90e01a9324d29cdcb2089b4e600bc39780818890b499b26b693d06e81

See more details on using hashes here.

File details

Details for the file deadline_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: deadline_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 57.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for deadline_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 355ae7bcca7a9affa2f9a18e2079484409bad275a537883762f0d0bdac333e4f
MD5 ef22858344dac56592b51aa2e57de4b9
BLAKE2b-256 f5322b8a7a36b2ed7881f8c1c1f49dadfdb5a4b807fa21ad1b85682bf1c0b184

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page