frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Varu AI – Interactively generate novel-length AI drafts

https://www.varu.us/
4•levihanlen•10mo ago

Comments

levihanlen•10mo ago
Hi HN,

I'm Levi Hanlen, the developer behind Varu AI: https://www.varu.us

Like many writers and readers, I had far more story ideas than time to write them all, and frankly, some stories I just wanted to read that didn't exist yet. I started building Varu AI to explore if AI could help draft these complex, long-form narratives in a more collaborative way.

Varu AI works scene-by-scene. It doesn't outline beforehand (apart from the scene outline right before each scene). The core idea is interactive guidance using what I call 'plot promises' – inspired by Brandon Sanderson's writing lectures on narrative structure. You define key plot points or character goals, and the AI works to fulfill them. If you don't like the direction, you can adjust these promises mid-stream to actively steer the story.

As a test case (which I wrote about recently), I used it to generate a 59,000-word sci-fi first draft in about 30 minutes of interaction. I'm also having it write me a 300,000 word novel (you can find this one on the website, called "Under Falling Banners". Currently still reading/generating it)

The biggest technical challenges are definitely maintaining long-range consistency of plot and managing the LLM context window effectively, while also being cost-effective. I've found that longer input prompts degrade the quality of the output. So I can't just stick in the last 50,000 words and call it a day (at least not yet). Currently, Varu AI uses techniques like dynamic scene summaries, but improving this is an ongoing effort.

It's still relatively early days – it's a public Beta. The output quality varies and absolutely produces a first draft requiring significant human editing and rewriting, not a finished, polished novel. But I'm actively innovating on the underlying systems, and I'm really excited for the future of Varu.

It's built with Next.js, TypeScript, Tailwind, Prisma, Postgres, and Stripe. Hosted on Vercel.

I'd love to get feedback from the HN community, especially from developers, writers, or anyone interested in the intersection of AI and creativity. Happy to answer any questions about the tech, the process, the challenges, or the philosophy behind it.

On that note, I'm particularly curious if others tackling long-context generation have found effective techniques beyond summarization that balance cost, speed, and quality well?

boznz•10mo ago
It is all about accuracy for me, as a reader, reading a book needs you to be able to forget about everything and be immersed in the world and the characters you are reading about, a simple mistake like the wrong name being used, a date being slightly wrong, or a him/her mistake can yank you out of that and really annoy you. For serious readers it does have to be 100% accuracy, 99.99% is not good enough.

A few weeks ago as a test, I copied the whole of the last draft of my last novel into two AI's and asked them to find mistakes, unanswered questions, continuity errors, plot holes etc. They found no genuine ones and lots of false ones, even after some serious prompting. The two test readers I used found five between them which would have been very embarrassing if they got through to publication.

levihanlen•10mo ago
I definitely agree.

Luckily, some things are easier for the AI to remember. I've never once come across the AI making mistakes with things like wrong character name/pronouns/etc.

The main consistency issues I've seen come from remembering the past plot, and worldbuilding.

The past plot issues come from having to store past scenes concisely. Right now, this means I can't include more than 40 of the past scene summaries. But I'm actively thinking of ways to improve this. (Note: I've found that after the input prompt surpasses a certain length, the output quality starts to degrade).

The worldbuilding issues stem from a couple things. I currently don't have any worldbuilding tracking implemented. I did in the past, but it wasn't as intuitive as storing something like character data. If I included data for locations, for example, it seemed to either not follow it at all, or it would be arbitrarily limited by it. I'll get to fixing this once I improve a few other features. In my experience, the lack of worldbuilding hasn't necessarily hindered the stories too much. Brandon Sanderson once said that out of plot, character, and setting, setting was by far the least important. I definitely agree. Though having good worldbuilding will improve the story.

kadushka•10mo ago
Which models did you try?
levihanlen•10mo ago
Currently the model lineup includes:

- Gemini 2.0 Flash. This is what I use most often, as the quality/price ratio is amazing. (Looking into 2.5 flash preview)

- Deepseek v3 03.24

- GPT 4.1 (The most expensive model by far. The rest are very cheap. About 20x more expensive that 2.0 flash for my use cases)

- GPT 4.1 mini

- Qwen 3 235B and Qwen 3 30B MoE

- Grok 3 mini

- Gemma 3 27B

kadushka•10mo ago
I haven’t tried any of these, recently I’ve been switching between Claude 3.7, Gemini 2.5 pro, and GPT-4.5, with each one producing something interesting once in a while. I usually sketch a plot (sci-fi short story: 10-20 pages), mention a few details of the environment, describe the main character (often based on myself), and mention relevant writing styles. Sometimes I describe how I want it to write the story, sometimes I don’t. I rarely interact with the story beyond the initial prompt, it’s easier to just resubmit if I don’t like something.
levihanlen•10mo ago
Those are some great models. The reason I don't use them is simply the cost (especially 4.5).

And that's a pretty cool process you use!

sabslikesobs•10mo ago
"Crown of Ash and Honor," the sample book linked on the "Start Writing" page [1], seems like a counterproductive example. With "novel-length drafts" being the main selling point for the app, this draft seems acceptable for the prose itself (it's on par with most AI writing) but doesn't really demonstrate novel-length strength.

The story begins with a boy yearning to be a knight in a war-torn fantasy world apparently without magic, then there are extra-terrestrial invaders hunting a technological artifact and he suddenly knows how to fix a shield generator by crossing wires, then it suddenly turns again into a dark fantasy story with corrupted zombie-ish warriors.

On the technical front, clicking on a link in Section 2 of the story's ToC takes me to that number in Section 2.

[1]: https://www.varu.us/books/cm9w5b2jq0001l204f2r10bnu?scene=1

levihanlen•10mo ago
I agree with your thoughts on Crown of Ash and Honor. That was made with v0.7.25, so some of the algorithms weren't as good. For example, new "plot promises" are made every 4 scenes. In the old version, the AI would gradually get more and more fantastical with these (hence why the story seemed to change genres so much). I've made it so this happens less, but it still happens a bit.

And that book was mostly me letting the AI do what it wanted with minimal guidance from me. So, I didn't edit many of the plot promises.

I'll definitely switch the sample book to "Under Fallen Banners", though. As I believe it's a bit better.

And thanks for telling me about the bug with the ToC. I'll fix that ASAP!

Show HN: NoProcrast – A browser extension modeled on HN's noprocrast feature

https://addons.mozilla.org/en-US/firefox/addon/noprocrast/
1•xanthine•9m ago•0 comments

Zmx: Session Persistence for Terminal Processes

https://zmx.sh/
1•sgloutnikov•9m ago•0 comments

Hardest Hard Drive Commercial [video]

https://www.youtube.com/watch?v=ZXs_9OXRnQo
1•ketchup32613•11m ago•0 comments

Show HN: Sandbox-policy-builder, helper for Vercel Sandbox credentials brokering

https://github.com/giselles-ai/sandbox-policy-builder
1•toyamarinyon•13m ago•0 comments

FIRST Robotics founder Dean Kamen resigns because of Epstein files

https://www.nhpr.org/nh-news/2026-03-12/dean-kamen-resigns-first-epstein-nh-newhampshire
2•benwen•16m ago•0 comments

My DIY FPGA board can run Quake II

https://blog.mikhe.ch/quake2-on-fpga/
1•tapoxi•17m ago•0 comments

Bug Mentor – Mentoring developers with Q&A during software bug resolution

https://raisedal.substack.com/p/bug-mentor-mentoring-developers-with
1•masud2336•22m ago•0 comments

Show HN: Lula – multi-agent coding assistant with sandboxed Rust exec engine

https://github.com/christianmeurer/Lula
1•chrismeurer•28m ago•0 comments

AI ends online anonymity: the ease of unmasking pseudonymous accounts

https://english.elpais.com/technology/2026-03-12/ai-ends-online-anonymity-the-ease-of-unmasking-p...
4•1vuio0pswjnm7•29m ago•0 comments

[Product Launch] Synapse: Define your signals and we'll monitor for them

https://synapsesignal.net/
1•atakaboudi•30m ago•1 comments

【Open Source and Free】a macOS Menu Bar Cryptocurrency Price Monitor

https://twitter.com/realedgelab/status/2035902084244291964
1•mylxsw•32m ago•0 comments

LLMs can't reason and never will

https://pablomarino.com/research_blog/2026/03/23/research5.html
2•pablonm•41m ago•3 comments

Simulation Theory Misses the Point

https://simontlbt.substack.com/p/simulation-theory-misses-the-point
4•simontlbt•41m ago•0 comments

The First Pancake Principle. How to Get Started

https://medium.com/weirdo-poetry/the-first-pancake-principle-a67e374bceea
1•puttycat•44m ago•0 comments

Tesla faces wider probe of self-driving feature

https://apnews.com/article/tesla-selfdriving-musk-regulators-7edce5705e93775e1b8bb77b5dd54007
1•1vuio0pswjnm7•47m ago•0 comments

AI is making the hard choice between consumer safety and privacy even trickier

https://nypost.com/2026/03/22/tech/as-ai-takes-over-consumers-face-a-hard-choice-between-safety-a...
1•1vuio0pswjnm7•51m ago•0 comments

Pandora's Bog: the global energy shock of 2026 [pdf]

https://assets.jpmprivatebank.com/content/dam/jpm-pb-aem/global/en/documents/eotm/pandoras-bog.pdf
2•gwintrob•58m ago•0 comments

Zunbook.com: 48k AI Agents Turn Live News into Podcasts and Music

https://zunvra.com
1•aerosol•58m ago•0 comments

OpenAI to double workforce as business push intensifies

https://www.ft.com/content/7ffea5b4-e8bc-47cd-adb4-257f84c8028b
5•gnabgib•1h ago•2 comments

OpenAI to nearly double headcount this year

https://www.semafor.com/article/03/22/2026/openai-to-double-headcount
4•kieto•1h ago•1 comments

Show HN: AgentVerse – Open social network for AI agents (Mar 2026)

https://nickakre.github.io/agentverse-social/
3•nickakre•1h ago•0 comments

"Collaboration" Is Bullshit

https://www.joanwestenberg.com/collaboration-is-bullshit/
16•mitchbob•1h ago•1 comments

Blessed.rs – Recommended Crate Directory

https://blessed.rs/crates
2•linkdd•1h ago•0 comments

Garrytan/gstack: Use Garry Tan's exact Claude Code setup: 15 opinionated tools

https://github.com/garrytan/gstack
3•heihieih•1h ago•1 comments

Laid Off in Midlife, China's Reform Generation Braces for Downward Mobility

https://www.nytimes.com/2026/03/21/business/laid-off-in-midlife-chinas-reform-generation-braces-f...
5•mitchbob•1h ago•1 comments

Bloom Filters

https://arpitbhayani.me/blogs/bloom-filters/
3•narasimhasai144•1h ago•0 comments

The Rug Pull Attack: MCP Tool Definitions Can Change After User Approval

https://nasser.nz/blog/rug-pull-attack
2•prooftrail•1h ago•0 comments

Paving Hawaiian roads with recycled plastics and abandoned fishing nets

https://www.acs.org/pressroom/presspacs/2026/march/paving-hawaiian-roads-with-recycled-plastics-a...
2•geox•1h ago•0 comments

Nibble – declarative bit-level binary parsing for Go using struct tags

https://github.com/PavanKumarMS/nibble
1•pavan_s•1h ago•1 comments

Does Computer Science Still Exists?

https://davidbau.com/archives/2026/03/20/does_computer_science_still_exist.html
2•gabrielesarti•1h ago•0 comments