My Account List Orders Book Page

The Automaton of Vienna

Table of Contents

  • Chapter 1 The Clockmaker's Awakening
  • Chapter 2 A Promise to the Empress
  • Chapter 3 The Cabinet of Brass and Walnut
  • Chapter 4 The First Impossible Game
  • Chapter 5 Whispers in Schönbrunn
  • Chapter 6 The Road to Paris
  • Chapter 7 A Salon of Philosophes
  • Chapter 8 Benjamin Franklin's Gambit
  • Chapter 9 The Ghost in the Gears
  • Chapter 10 The King's Rook in London
  • Chapter 11 A Question of Soul
  • Chapter 12 Kempelen's Final Key
  • Chapter 13 Maelzel's Ambition
  • Chapter 14 Shadows of the Revolution
  • Chapter 15 The Machine in the Tuileries
  • Chapter 16 The Corsican's Challenge
  • Chapter 17 Vienna, 1809
  • Chapter 18 The Emperor's Blunder
  • Chapter 19 The Strategist of Wood and Wire
  • Chapter 20 Calculations in the Russian Winter
  • Chapter 21 The Fall of Empires
  • Chapter 22 The Congress of Vienna
  • Chapter 23 The Secret of the Automaton
  • Chapter 24 The Final Checkmate
  • Chapter 25 Ashes of the Mechanical Mind
  • Chapter 26 The Endgame of

CHAPTER ONE: The Clockmaker's Awakening

The brass canary had a cough. It was a small, irritatingly persistent rasp in the third gear of its bellows, occurring precisely between the second trill and the final, triumphant chirp. Wolfgang von Kempelen leaned closer to the workbench, squinting through a jeweler's loupe until his left eye watered. The oil lamp beside him sputtered, casting long, trembling shadows across the cluttered room. Outside his tall, narrow windows, Vienna was still asleep beneath a blanket of November fog, the Danube a sluggish ribbon of slate in the distance.

Kempelen reached for a pair of fine tweezers and nudged a sliver of hardened tallow from the escapement. He turned the key again. The canary opened its gilded beak, tilted its head with a jerky, mechanical dignity, and emitted a sound like a wet boot being pulled from mud.

"Magnificent," Kempelen muttered to the empty room. "If the Empress ever desires a pet with consumption, I shall be the toast of the Hofburg."

He set the bird down with a sigh and rubbed the bridge of his nose. At thirty-five, Wolfgang von Kempelen was already a man of considerable, if somewhat scattered, reputation. To the court of Maria Theresa, he was a reliable civil servant, a Hungarian nobleman of modest means who possessed an uncanny knack for making water flow uphill and budgets balance on paper. He had designed the hydraulic pumps that fed the fountains at Schönbrunn, and he had translated the Empress's legal decrees into Latin with a speed that terrified the older clerks. Yet, in the quiet hours before dawn, surrounded by files, lathes, and the carcasses of dismantled pocket watches, he was something else entirely. He was a man trying to figure out why a collection of dead metal could mimic life, and why it always stopped just short of actually living.

The door to the workshop creaked open, and his manservant, Johann, shuffled in carrying a silver tray. Johann was sixty, possessed knees that predicted the weather with greater accuracy than the Imperial Observatory, and viewed his master's nocturnal tinkering with the weary tolerance of a priest humoring a harmless heretic.

"Coffee, Herr von Kempelen," Johann said, setting the tray down beside a jar of nitric acid. "And the carriage will be at the gate in forty minutes. You have the Moravian grain petitions this morning."

"Thank you, Johann." Kempelen took the cup, inhaling the dark, bitter steam. "Tell me, if I built a clerk out of oak and brass, do you think anyone at the Chancellery would notice?"

"Only if it arrived on time, sir," Johann replied without blinking. "And if it failed to take a pinch of snuff before signing its name. That would give the game away immediately."

Kempelen smiled, a brief, sharp expression that vanished as quickly as it arrived. He drank the coffee in three swallows, shed his grease-stained apron, and allowed Johann to help him into his frock coat. The transition from artisan to courtier was always a little jarring. The coat was dark wool, trimmed with modest silver braid, stiff enough to remind him of his posture and expensive enough to remind him of his debts.

The streets of Vienna were waking up as his carriage rattled over the cobblestones. Milkmaids hauled their heavy cans, their breath pluming in the damp air, while baker's boys darted between the wheels of freight wagons. Kempelen watched them through the frosted glass. Every movement in the city, he thought, was a kind of clockwork. The baker rose at three, the ovens heated at four, the bread hit the shelves at six. Men liked to flatter themselves that they were creatures of pure, unpredictable spirit, yet most of them ran on springs wound by habit and hunger.

The Hofburg was a sprawling, drafty monument to Habsburg persistence. Kempelen climbed the stone stairs to the Chancellery, nodding to guards and minor officials who smelled of damp wool and yesterday's wine. His office was a narrow room overlooking an inner courtyard where two pigeons were engaged in a territorial dispute over a crust of bread.

For four hours, Kempelen read. He read petitions from weavers in Bohemia complaining about Saxon tariffs. He read reports from border magistrates regarding smugglers who had taken to hiding French lace inside hollowed-out cheeses. He signed his name forty-seven times, each stroke of the quill a tiny, meaningless monument to order.

Around noon, his colleague, Baron von Bretschneider, poked his head through the door. Bretschneider was a round, cheerful man whose primary function at court seemed to be knowing who was sleeping with whom and which minister was about to fall out of favor.

"Still drowning in paper, Wolfgang?" Bretschneider asked, stepping inside and helping himself to a chair. "You look like a man who has been arguing with a turnip."

"A turnip would be more cooperative," Kempelen said, setting down his quill. "At least it doesn't demand a tax exemption."

"Come to the coffeehouse with me," Bretschneider urged, patting his stomach. "Kramer's. There's a Prussian fellow there—some minor diplomat from Berlin—who claims he can beat anyone in Vienna at chess. He's already relieved young Count Esterházy of twenty florins. It's embarrassing for the Empire."

Kempelen hesitated. He had three more folders of grain tariffs to review. On the other hand, the grain tariffs would still be there tomorrow, and the Prussian would not. Furthermore, Kempelen liked chess. He liked it not for the social prestige, nor for the gambling, but for its brutal, uncompromising honesty. You could not flatter a rook. You could not bribe a pawn.

"Very well," Kempelen said, reaching for his hat. "Let us go defend the honor of the Habsburgs."

Café Kramer was thick with tobacco smoke and the clatter of porcelain. A small crowd had gathered around a corner table where a tall, thin man with a powdered wig and a sharp, avian nose sat glaring at a wooden chessboard. Across from him, a young Viennese lieutenant was staring at his own captured knights with the expression of a man who had just realized he had accidentally sold his horse.

"Checkmate in three, I believe," the Prussian announced, his voice carrying clearly over the murmur of the room. He tapped his fingers on the table, a rhythmic, irritating sound. "Unless, of course, the Austrian army has invented a new way for the king to fly."

The lieutenant muttered something under his breath, pushed his chair back, and threw a handful of silver onto the green baize cloth.

"A pity," Bretschneider said loudly, stepping forward with a theatrical bow. "And here I thought Berlin only produced grenadiers. Permit me, sir, to introduce my colleague, Wolfgang von Kempelen. He has a passing familiarity with the game."

The Prussian looked Kempelen up and down, taking in the plain silver braid and the faint smudge of ink on his right thumb. "A clerk?" he asked, raising an eyebrow.

"A secretary," Kempelen corrected mildly, taking the empty seat. "And a poor one, at that. Shall we play for a modest stake? Five florins?"

"Make it ten," the Prussian said, resetting the pieces with practiced, arrogant speed. "I prefer my victories to cover the price of my dinner."

Kempelen nodded and took the black pieces. The Prussian opened with the King's Pawn, aggressive and predictable. Kempelen responded with a quiet, symmetrical defense. For the first ten moves, the game was a polite conversation. The Prussian pushed his bishops forward, eager to seize the center, while Kempelen tucked his king behind a wall of pawns and waited.

As he played, Kempelen's mind drifted, as it often did, from the board to the mechanics of the game itself. The Prussian was a good player, perhaps even a very good one, but he played like a man reciting poetry he had memorized in school. He knew the standard openings. He knew the classic traps. When Kempelen made a slightly unorthodox move—shifting a knight to the edge of the board where it seemed to do nothing at all—the Prussian frowned. His rhythm broke. He tapped his fingers faster.

"An odd choice," the Prussian murmured.

"I have an odd mind," Kempelen replied.

He watched the man's eyes darting from square to square, calculating. If I take the pawn, he moves the bishop. If he moves the bishop, I lose the rook. It was a simple chain of cause and effect. A lever pushed here; a gear turned there.

Twenty minutes later, the Prussian's queen was trapped in the corner, his king was exposed, and his dinner had grown considerably more expensive. He stared at the board for a long time, his face flushing a dull, blotchy red. Finally, he tipped his king over with a sharp click.

"Luck," the Prussian said stiffly, counting out ten florins. "You played an irregular game. No proper strategist would leave his flank so open."

"And yet," Kempelen said, pocketing the coins, "here we are."

He did not stay for a second game. The smoke was giving him a headache, and the Prussian's bruised ego had sucked the air out of the corner. He bade Bretschneider good afternoon and walked back to his residence alone, the November wind biting through his wool coat.

That evening, Kempelen did not light the stove in his workshop. He sat at his bench in the gathering gloom, a single candle burning beside the chessboard he kept for his own amusement. He set up the final position from the coffeehouse game and stared at it.

If I take the pawn, he moves the bishop.

He reached out and picked up the wooden knight. It was a simple thing, carved from boxwood, weighted with a bit of lead at the base so it wouldn't tip over. It had no brain. It had no soul. It did not care whether it won or lost.

Yet, during the game, that knight had been part of a calculation. Kempelen's mind had weighed its value against the bishop, against the rook, against the safety of the king. It had assigned numbers to possibilities, discarded the bad ones, and selected the best.

"A series of weights," Kempelen whispered to the candle flame.

He stood up so quickly his chair nearly toppled backward. He crossed the room to his bookshelf, pulling down a heavy, leather-bound volume by Gottfried Wilhelm Leibniz—a treatise on the calculus ratiocinator, the great German philosopher's dream of a universal logical machine. Kempelen had read it years ago and dismissed it as the daydream of a mathematician who had never actually tried to file a brass gear to a tolerance of half a millimeter.

Now, he flipped through the pages, his fingers trembling slightly. Leibniz had believed that all human reasoning could be reduced to a kind of arithmetic. If a machine could add and subtract—and Pascal had already proved that it could, with his little brass adding boxes—then why could a machine not reason?

"Because," Kempelen said aloud, answering his own thought, "addition is fixed. Two and two always make four. Chess is not fixed. A pawn on the second rank is worth less than a pawn on the seventh. Everything depends on what came before, and what might come after."

He walked back to the workbench and swept the brass canary aside. He unrolled a large sheet of heavy drafting paper, weighting the corners with lead ingots. He picked up a piece of charcoal.

For a machine to play chess, it could not simply repeat a memorized sequence, like a music box playing a minuet. A music box was stupid. If you interrupted it, it didn't know how to improvise. To play chess, a machine had to evaluate. It had to look at the board, measure the state of the pieces, and choose a response.

Kempelen began to draw. At first, his lines were messy, frantic. He sketched a grid of sixty-four squares. Beneath each square, he drew a tiny pin, a spring, a lever. If a piece sat on a square, the pin would be depressed. That much was easy. A child could build a board that knew where the pieces were.

The problem was what happened next. How did you make brass decide?

He sat for three hours, the candle burning down into a puddle of wax. He drank cold tea. He scratched out three different designs, each more hopelessly complex than the last, requiring thousands of interlocking gears that would bind and snap from their own friction before the third move.

It was past midnight when he stopped. He leaned back, his eyes aching, and looked at the failed sketches. He was thinking like a clockmaker, he realized. He was trying to force the machine to calculate every single possibility at once, like a giant, mechanical brute.

What if it didn't have to? What if it only had to weigh them?

He thought of a balance scale. You put a pound of flour on one side, and a pound of iron on the other, and the beam levels out. You don't have to count the grains of flour. The physics of the universe does the math for you.

Kempelen grabbed a fresh sheet of paper. His hand was steady now. He drew a series of counterweights, suspended on fine silk threads, connected by a network of notched brass bars. If a white rook sat on an open file, a lever shifted, adding weight to one side of a central beam. If a black knight threatened the queen, another lever shifted, pulling the beam the other way. The machine wouldn't think in words. It would think in tension. It would feel the board the way a blind man feels the weight of a coin, and whichever side of the mechanical scale tipped the furthest would trigger the escapement to move the corresponding piece.

It was absurd. It was impossible. The friction alone would be a nightmare, and the sheer number of combinations would require a cabinet the size of a carriage house.

And yet, as Kempelen stared at the charcoal lines, he felt a cold, electric thrill run down his spine. It was the same feeling he had experienced as a boy when he first realized that the stars weren't holes in a black curtain, but suns, unimaginably far away.

He didn't know how he would build it. He didn't know how he would pay for the brass, or the silk, or the hundreds of hours of lathe work it would require. He didn't even know how the machine would physically pick up the pieces without knocking them over like a drunken giant.

He only knew that the brass canary on the corner of his desk was a child's toy, and that he was never going to waste his time on toys again.

Kempelen blew out the candle, leaving the room in darkness, and went to bed. For the first time in years, he did not dream of grain tariffs. He dreamed of sixty-four squares, and a mind made of wire and bone-dry wood, waiting in the dark to make its first move.


CHAPTER TWO: A Promise to the Empress

Wolfgang von Kempelen woke with his cheek pressed against a brass caliper and a streak of charcoal across his forehead. He had not, strictly speaking, gone to bed at all, though he had no memory of sitting back down at the workbench. The tallow candle had burned itself into a blackened crater, and the gray light of a November morning was filtering through the tall windows, illuminating the dust motes that hung like suspended gears in the cold air.

His neck was stiff, his mouth tasted of sour wine and cold tea, and his mind was entirely clear.

He sat up, wincing as his spine popped, and looked at the drafting paper spread before him. In the daylight, the sketch of the balance-scale logic looked less like a miracle and more like a spiderweb spun by a lunatic. Thousands of fine lines crossed and recrossed, representing silk threads, counterweights, and notched brass bars. It was absurdly delicate. A single drop of moisture, a stray hair, or a slight warping in the wood would throw the entire calculation off, turning a brilliant queen sacrifice into a suicidal blunder.

Yet, the fundamental principle remained stubbornly intact. If a machine could not think in words, it could think in weight.

A sharp knock at the door interrupted his staring. Johann entered without waiting for a response, carrying a silver pot of coffee and a folded piece of heavy cream-colored parchment sealed with red wax. The manservant’s eyes flicked from the charcoal on his master's forehead to the untouched bed in the corner, and then back to the coffee pot.

"You have been summoned, sir," Johann said, setting the tray down on the only clear corner of the desk, right beside a jar of linseed oil. "A courier from the Hofburg arrived twenty minutes ago. Her Imperial Majesty desires your presence at four o'clock this afternoon."

Kempelen reached for the parchment, breaking the imperial seal with his thumb. The handwriting was not that of a clerk; it was the bold, slashing script of Maria Theresa herself, or at least her private secretary dictating directly from her mouth. He was commanded to attend a private gathering in the Redoutensaal, where a visiting Frenchman would be demonstrating "certain marvels of natural philosophy."

"A Frenchman," Kempelen muttered, rubbing his eyes. "Probably another charlatan with a Leyden jar and a knack for making sparks jump off a servant's nose."

"Very likely, sir," Johann agreed, pouring the coffee. "Though I would advise washing your face before you tell the Empress so. You currently look like a chimney sweep who has lost a fight with a geometry textbook."

Kempelen grunted, took the cup, and drank deeply. The coffee was scalding and bitter, just as he liked it. He had six hours until four o'clock. He could spend them catching up on the Moravian grain tariffs, which were doubtless piling up on his Chancellery desk like dead leaves, or he could spend them trying to figure out how to keep sixty-four silk threads from tangling.

He spent them at the workbench, until Johann physically removed the charcoal from his hand at three o'clock and forced him into a clean shirt.

The carriage ride to the Hofburg was brief, though the streets were choked with coal carts and the coaches of minor nobility hurrying to beat the early dusk. Kempelen sat with his knees pressed against the opposite seat, a small leather notebook balanced on his thigh. Every bump in the cobblestones jostled his pencil, turning his neat diagrams of levers into jagged seismographs.

He was trying to solve the problem of the knight. Bishops and rooks were easy enough; they moved in straight lines, which meant their influence on the board could be measured by simple sliding rods. Knights, however, leaped. They hopped over other pieces like fleas, landing on squares that had no linear connection to their starting point. To make a mechanical scale account for a knight's fork, he would need a system of cams—eccentric wheels that translated a circular motion into a sudden, irregular jump.

"We are here, sir," the driver called down from the box.

Kempelen snapped the notebook shut and stuffed it into his coat pocket. He stepped out into the damp courtyard of the palace, nodding to the Swiss Guards in their yellow-and-black uniforms, and climbed the grand staircase.

The Redoutensaal was warm, brightly lit by hundreds of beeswax candles in crystal chandeliers, and smelled faintly of powder, sweat, and roasted chestnuts. It was not a full state occasion, merely an intimate diversion for perhaps sixty of the Empress's favored courtiers, ministers, and foreign diplomats. Kempelen spotted Baron von Bretschneider near the refreshment table, holding a glass of Tokay wine and gesturing animatedly to a pair of young ladies.

Bretschneider caught sight of him and waved him over. "Wolfgang! You look pale. Have the turnips finally defeated you?"

"I was up late," Kempelen said, taking a glass of wine from a passing footman. "What is this Frenchman doing? I was told it involves natural philosophy."

"Magic, more like," Bretschneider whispered, leaning in close. "His name is Pelletier. He arrived from Paris last week with three trunks of apparatus and a letter of introduction from the Austrian ambassador. They say he can make a golden apple dance on a table without touching it, and that he knows the mind of any man in the room."

Kempelen snorted softly. "Magnets and confederates. The oldest tricks in the fairground."

"Hush," Bretschneider warned, nudging him with an elbow. "The Empress is watching."

At the far end of the room, seated in a high-backed velvet armchair, Maria Theresa looked every inch the matriarch of Europe. She was in her fifties now, stout and dressed in the heavy black silk of perpetual mourning for her late husband, Francis Stephen. Yet her eyes were sharp, missing nothing as they swept the room. Beside her stood her son, the young Emperor Joseph II, looking perpetually impatient, as if he were mentally calculating how much the candles were costing the treasury.

A hush fell over the salon as a tall, slender man stepped onto the low dais at the center of the room. Monsieur François Pelletier wore a coat of plum-colored velvet, silver-buckled shoes, and an expression of serene, practiced superiority. He bowed deeply to the Empress, then turned to the assembled crowd.

"Your Imperial Majesty, noble lords and ladies," Pelletier began, his French rolling smoothly across the room like oil over water. "Tonight, I do not ask you to believe in sorcery. We live in an age of reason! What I shall show you is merely the hidden sympathy of nature—forces invisible to the eye, yet obedient to the mind of man."

He gestured to a small mahogany table draped in crimson cloth. Upon it sat a deck of playing cards, a silver goblet, and a small, polished sphere of brass.

Pelletier invited Count Esterházy—the same young man who had lost twenty florins to the Prussian at Café Kramer the day before—to step forward and draw a card. Esterházy did so, showing it to the Empress, then slipped it back into the deck. Pelletier placed the deck inside a small wooden box, tapped the lid thrice with an ivory wand, and commanded the chosen card to reveal itself.

With a faint, theatrical whir, the lid of the box popped open, and the Queen of Hearts rose slowly into the air, hovering an inch above the rest of the deck.

The ladies gasped. Even Joseph II raised an eyebrow.

Kempelen took a slow sip of his wine. A hair, he thought. Or a fine silk thread anchored to his waistcoat button, running through a slot in the table. And a tiny spring inside the box to pop the lid.

Next came the brass sphere. Pelletier placed it at one end of the table and stood ten paces back. He raised his hands, trembling as if channeling lightning from the heavens, and commanded the sphere to roll toward the Empress. Slowly, hesitantly, the brass ball began to move. It rolled across the crimson cloth, stopped precisely at the edge of the table, and bowed—or rather, wobbled slightly—before rolling backward to its starting point.

The applause was enthusiastic. Pelletier bowed again, basking in the warmth of Viennese gullibility.

"It is done with lodestones," Kempelen murmured under his breath.

"What was that, Wolfgang?" Bretschneider asked, clapping politely.

"There is a man under the table, or an iron track beneath the cloth," Kempelen said, a little louder than he intended. "Notice how the sphere only moves along the center line? And notice how the crimson drape hangs all the way to the floor, hiding the legs of the table?"

A few nearby courtiers turned to look at him, frowning at the interruption. Unfortunately, Maria Theresa had ears like a hawk.

"Herr von Kempelen," the Empress called out, her voice clear and carrying effortlessly over the fading applause. "You seem remarkably unimpressed by Monsieur Pelletier's mastery


This is a sample preview. The complete book contains 27 sections.