GitHub – Doriandarko/kimi-writer: AI writing agent powered by kimi-k2-thinking – autonomously creates novels and stories with deep reasoning

AI writing agent powered by kimi-k2-thinking - autonomously creates novels and stories with deep reasoning - Doriandarko/kimi-writer

Kimi-Writer: an autonomous novel-writing agent you can actually run

If you like the idea of an agent that plans, writes, and keeps working while you sip coffee, you’ll want to meet Kimi-Writer on GitHub. It’s an autonomous writing agent powered by the kimi-k2-thinking model, designed to create novels, books, and short story collections with deep reasoning.

I tried it on a slow Sunday, and the first thing that hit me was how hands-off it can be, while still giving you real-time feedback. The agent shows progress like “Iteration 3/300,” and even reports token usage (for example, Current tokens: 45,234/200,000). If you need to interrupt, press Ctrl+C, and it saves the context so you can recover later with the –recover flag. Neat, right?

Getting started is simple. Create a .env file with your API key, and note you can set a custom base URL (the default is https://api.moonshot.ai/v1). For package installs the repo recommends using uv for faster Python package management, though pip also works. You can run the agent with an inline prompt, or run it interactively and type your prompt when asked. The agent can run up to 300 iterations, and it automatically compresses context at about 180K tokens, which is normal operation, so don’t worry if you see compression messages.

A couple of practical tips from my own tinkering: make sure your project folder has write permissions, and watch the generated files appear in real time. Also remember the license requires attribution for commercial use, so if you ship a product that uses this, follow the license terms.

If you’re curious, check the code and examples on GitHub, play with prompts, and see how an autonomous writer can become your creative partner. The future of long-form AI-assisted storytelling looks promising, and this project is a friendly, practical step in that direction.

https://github.com/Doriandarko/kimi-writer


Kimi-Writer: ein autonomer Agent, der Romane schreibt

Wenn du Lust auf ein Tool hast, das plant, schreibt und weiterarbeitet, während du Tee trinkst, schau dir Kimi-Writer auf GitHub an. Er nutzt das kimi-k2-thinking-Modell, um Romane und Kurzgeschichten mit tiefem Denken zu erzeugen.

Kurz zu meiner Erfahrung: Ich ließ ihn laufen und war überrascht, wie klar er Fortschritt anzeigt, zum Beispiel “Iteration X/300”, und wie er Token-Verbrauch meldet. Brauchst du eine Pause, drücke Ctrl+C, das System speichert den aktuellen Kontext, und du kannst später mit dem Flag –recover weitermachen. Sehr praktisch.

Zum Start brauchst du nur eine .env-Datei mit deinem API-Schlüssel. Du kannst die Standard-Base-URL nutzen (https://api.moonshot.ai/v1) oder eine eigene einstellen. Für die Installation empfiehlt das Projekt uv für schnelleres Python-Paketmanagement, pip funktioniert aber auch. Du kannst den Agenten mit einem Inline-Prompt starten oder interaktiv arbeiten und dann deinen Prompt eingeben. Bis zu 300 Iterationen sind möglich, und bei etwa 180K Tokens wird der Kontext automatisch komprimiert, das ist normal.

Ein paar praktische Hinweise aus eigener Hand: Prüfe Schreibrechte im Projektordner und beobachte, wie Dateien in Echtzeit entstehen. Beachte außerdem die Lizenz: Bei kommerzieller Nutzung ist eine deutliche Attribution erforderlich.

Probier es aus, spiel mit Prompts, und lass Kimi-Writer zu deinem kreativen Co-Autor werden. Die Aussicht, lange Texte gemeinsam mit einem autonomen Agenten zu entwickeln, fühlt sich überraschend nah und inspirierend an.

https://github.com/Doriandarko/kimi-writer

Kommentar abschicken