Get AuthorAgent running and writing in under 5 minutes.
- Node.js 22+ (check:
node --version) - A Gemini API key (free at aistudio.google.com)
- Optional: Telegram bot token (for mobile control)
git clone https://github.com/Ckokoski/authoragent.git
cd authoragent
npm installnpx tsx gateway/src/index.tsYou should see:
AuthorAgent v3.0.0
═══════════════════════════════════
The Autonomous AI Writing Agent
...
✓ Skills: 25+ loaded
✓ Goal engine: 8 templates + dynamic AI planning
═══════════════════════════════════
AuthorAgent is ready to write
Dashboard: http://localhost:3847
- Open http://localhost:3847 in your browser
- Go to the Settings tab
- Paste your Gemini API key and click Save
- The provider status should show "Gemini" as active
- Go to the Agent tab
- Type: "Write me a short story about a robot who learns to paint"
- Click Go
- Watch the Activity Log tab as AuthorAgent plans and executes
- In Settings, paste your Telegram Bot Token and click Save
- Click Connect Telegram
- Open your bot in Telegram and send:
/goal write me a short story about a robot who learns to paint - AuthorAgent plans the steps and runs them, sending you updates
curl -X POST http://localhost:3847/api/goals \
-H 'Content-Type: application/json' \
-d '{"title":"Robot Story","description":"Write a short story about a robot who learns to paint","planning":"dynamic"}'- Dashboard → Activity Log tab shows everything the agent did
- Files:
workspace/projects/contains all generated content - Telegram: Use
/filesto list,/read [file]to preview
AuthorAgent gets smarter with better models. In Settings, add:
- Anthropic Claude — Best for complex editing and reasoning ($3/M tokens)
- DeepSeek — Good for creative writing at low cost ($0.14/M tokens)
- Ollama — Free local models (requires Ollama installed)
- Run a full novel:
/goal write a full tech-thriller from start to finish - Do research:
/research medieval sword fighting techniques - Customize: Edit
workspace/soul/STYLE-GUIDE.mdfor your writing style
Extend AuthorAgent with advanced writing capabilities. The Premium Skills Bundle includes 10 premium skills — Ghostwriter Pro, Series Architect, Book Launch Machine, First Chapter Hook, Comp Title Finder, Dictation Cleanup, Sensitivity Reader, Read Aloud, Narrative Voice Coach, and Writing Secrets Integration — all in one package.
Get it on Ko-Fi: ko-fi.com/writingsecrets
- Purchase the bundle from Ko-Fi
- Download and extract the zip
- Copy all skill folders to
skills/premium/ - Restart AuthorAgent — premium skills appear with a star in the console
If you have the Author OS tool suite, mount the tools for enhanced capabilities:
- Local: Place at
~/author-os - Docker: Mount to
/app/author-os
AuthorAgent auto-detects: Workflow Engine, Book Bible Engine, Format Factory Pro, Manuscript Autopsy, AI Author Library, Creator Asset Suite.
Format Factory Pro requires Python 3 for manuscript export.