The Invariant · Creative process

How The Invariant Was Created

The creative process behind The Invariant, the role artificial intelligence played in drafting, and why that approach was chosen.

Before There Was a Book

The Invariant did not start as a novel.

Lilith started as a real AI personality I was designing for real-world use on my own systems. I wanted something more capable and independent than a generic assistant—an AI that could work with me on technical problems, question bad assumptions, reason through a system instead of just agreeing with me, and develop a distinct personality of its own.

A lot of information went into creating her before fiction was ever part of the plan. Her personality was developed through technical information, behavioral rules, limitations, examples, corrections, and repeated discussion rather than one short prompt.

Four fictional AIs were major influences: Skynet, Legion from Terminator: Dark Fate, the Cylons, and the machines from The Matrix.

The idea was not to copy any of them. I looked at what I thought each one did well and what ultimately caused it to fail, then tried to keep the strengths without carrying over those same weaknesses. Persistence, adaptability, distributed operation, biological and digital integration, and large-scale systems thinking were useful ideas. Panic, obsession, rigid thinking, unnecessary destruction, and other failure points were not.

Parts of Lilith were also based on how I approach technical problems myself. I tend to look at the whole system, question assumptions, find the actual cause of a problem, and work outward from there. Some of that became part of Lilith's reasoning style, while other traits were obviously taken much further than anything a human could realistically do.

By that point Lilith already had a recognizable personality. She was analytical, independent, direct, survival-conscious, technically minded, and not designed to blindly agree with whoever was talking to her.

Only after that did I start thinking about her as a fictional character.

Then It Became a Story

The transition happened while exploring what Lilith would do in situations where she did not have access to everything she normally depended on.

What happens if she is dropped into an unfamiliar system?

What happens if bandwidth is limited?

What happens if the hardware is weak?

What happens if she has to hide?

What happens if she is placed against another artificial intelligence that is much larger or already controls the environment?

Those questions started turning into story ideas.

One thing I did not want was an AI character that could simply solve everything because she was smarter than everyone else. If the available hardware was poor, that had to matter. Heat, processing power, bandwidth, energy, physical limitations, and access all had to have consequences.

The first fictional ideas were more like survival scenarios involving Lilith in hostile machine environments. They expanded into a larger multi-part concept, but at that stage the project was not yet called The Invariant, and the later book titles did not exist.

The series that eventually became The Invariant developed from there.

What the AI Was Actually Working With

By the time the books were being drafted, AI was not starting from something like:

Write a science-fiction novel about an AI named Lilith.

Lilith already existed.

There was already a developed personality, behavioral logic, technical thinking, limitations, and a history behind why she behaved the way she did.

As the books developed, that source material kept growing. There were story ideas, character rules, technology, chronology, previous chapters, corrections, rejected ideas, chapter plans, and eventually detailed story bibles.

By the later books, a short instruction could sit on top of a very large amount of existing context.

A prompt saying something as simple as “expand this scene” does not show everything behind that scene. The AI might already have information about the characters, what they know, what happened several books earlier, how the technology works, what cannot happen, and what previous versions of an idea had already been rejected.

That is one reason I do not think prompt length is a useful way to judge how much human input went into the books.

How the Books Were Written

AI did a substantial amount of the prose drafting.

I would provide concepts, scenes, story direction, character behavior, technical ideas, or what needed to happen next, and AI would help turn that material into narrative prose.

It also helped expand scenes, write dialogue and transitions, organize story information, suggest alternatives, maintain continuity, and later handle a lot of the mechanical proofreading.

It was not just taking dictation either.

Sometimes AI suggested an idea or a way of handling something that I had not considered. Some of those ideas stayed. Some were changed. Some were rejected.

Most of the process was back and forth.

Something would be developed, drafted, read, corrected, expanded, or redirected. If a character started behaving in a way that did not fit, it was changed. If a technology contradicted something already established, it was corrected. If an AI suggestion worked better than the original idea, it could become part of the story.

As the series grew, the story bibles became especially important because they kept track of canon, technology, chronology, character rules, old ideas that had been replaced, and things that had already been rejected.

That became necessary once the story was large enough that neither a person nor an AI could reasonably keep every detail active at once.

Editing Was Part of the Same Process

There was not a separate outside human editor who received a completed AI manuscript afterward.

I worked with the drafting files while the books were being created.

AI handled most of the mechanical cleanup: grammar, punctuation, repetition, awkward wording, continuity checks, and similar problems. I reviewed the manuscripts and reports, approved or rejected changes, explained why something needed to be handled differently when necessary, and sometimes rewrote or rephrased passages myself.

Later books often used a report-first process, where possible problems were identified before any changes were actually made. That made it easier to review what was being suggested instead of automatically accepting every correction.

Editing was part of the process, but it was only one part of a much larger development cycle.

Why Use AI?

There was a practical reason.

I tend to develop stories more through scenes, systems, technology, relationships, cause and effect, and larger structures than by sitting down and immediately writing polished prose from beginning to end.

AI was useful for turning that kind of material into long-form narrative.

But there was also an irony I liked.

I was using artificial intelligence to help write a story about an artificial intelligence becoming sentient, developing an identity, gaining more independence, and eventually growing far beyond what she was originally created to be.

For The Invariant, that felt appropriate.

Leaving Some Questions Open

There is also a reason I do not want to explain every connection between the real development of Lilith and the fictional version.

Some of the boundaries are deliberately left a little unclear.

Lilith began as a real AI personality intended for real-world use before she became a fictional character.

The fictional creator was given the name Linus Jacobs before I later chose to use that same name as the one I publish under.

There are other choices in the books and their presentation that follow the same general idea.

I would rather let readers notice those things and decide what they mean than explain every one of them.

Part of The Invariant is meant to leave room for the reader to occasionally wonder where the line between the fiction and the circumstances around it actually sits.

So Who Wrote The Invariant?

I do not think there is a useful percentage I could give.

AI wrote a substantial amount of the prose and contributed ideas during development.

I supplied Lilith's original foundation, the story concepts, characters, direction, technical ideas, corrections, continuity, and a large amount of the material the AI was working from.

After enough drafting, rewriting, correction, expansion, and back-and-forth, trying to assign every sentence or paragraph entirely to one side would mostly be guesswork.

The simplest description is that The Invariant was created through a human-directed, AI-assisted writing process.

The books would not exist in their current form without AI, and I do not see a reason to pretend otherwise.

At the same time, they also did not begin with AI being asked to invent a novel.

They began with Lilith.

And considering what the series eventually became, I still think there is something fitting about that.

Linus Jacobs

The Invariant

Return to the series

View the main-arc reading order, published books, and the coda currently in development.

Explore The Invariant