About the book

The God Algorithm

A Story of Hope. A novel by Michael Giannulis.

The cover of The God Algorithm, A Story of Hope, by Michael Giannulis: a man walking out through open barn doors into bright light, painted in ochre gold and deep blue
Format
Paperback, first edition
Published
2026
Shelf
Christian and inspirational fiction
Length
23 chapters

Printing now

The first edition is printing now. Store links will appear on this page as soon as the book is on sale.

From the back cover

The story

Sam Lewis tests software for a living. On the side, he stands up in front of strangers and argues that God doesn't exist.

Then a retired engineer named Daniel invites him to a barn at the end of a gravel road, where an old machine can build a whole world, and makes him a dare: every Saturday, change one rule and show how God should have done it.

A world where no one can doubt. A world where no one gets hurt. A world where everyone is forgiven for free. Every Saturday the world breaks, and it breaks because of the rule Sam typed.

Meanwhile his sister, Kate, is asking him for one afternoon in August: to stand beside her in a church hall while she says out loud what their family never has.

A novel about doubt, honest argument, and the people who show up anyway.

The people

  • Sam Lewis tests software for a living, which means he gets paid to find what is broken. On the side he debates against God in public. He is funny, quick, and very sure of himself, and he tells the story.
  • Daniel is a retired engineer with a farm at the end of a gravel road, a garden, and an old machine in his barn that can build a whole world. He believes in God, and he is willing to lose an argument in order to have an honest one.
  • Kate is Sam's sister. She has something to say in a church hall in August, and she wants her brother in the room when she says it.

The Saturdays

Every Saturday Sam types one new rule into Daniel's machine, a fix for something he thinks God got wrong, and watches what happens to the people who have to live under it. He sets his score before he starts, so he can't move the goalposts later. The worlds he builds:

Every argument in the book stands on real philosophical work. See the thinkers and arguments behind each world.

A note on content

This story deals with a pastor's abuse of two children, and with a church that kept it quiet. It is never described in detail.

There is no romance, violence stays off the page, and the language is mild.

Before you begin

I wrote this book to be fair. It takes on the arguments I believe most often move people toward belief in God, or away from it, and it tries to give each side its strongest case.

It is a novel first, and I hope you read it as a story. But nothing in it is there by accident. Every argument in these pages stands on real philosophical work, and the people in it argue the way thoughtful people actually do.

Read it, argue with it, and make up your own mind. If it starts a conversation, I would love to hear about it at godalgorithmbook.com.

Michael Giannulis