← All projects

Keith's AI Adventures: an agent putting up with humans

A comic strip about Keith, an AI who sees the office from the AI's side, made with Claude and open source image models on a Mac at home. How it's set up and what it taught me, for anyone wondering whether open models are good enough for real work.

Keith, a cartoon robot with an off-white TV-box head, teal joints and navy hands, smiling on his screen and giving a thumbs up

I’ve always enjoyed Dilbert, xkcd and many more. I love the expression through a situation. However, my drawing is average at best and finding the time to commit to do so is even harder. So, back to the AI investigation we go.

This is when I came up with Keith, my anthropomorphic little traditional robot with an attitude. I can just imagine the frustration of an AI (if conscious of course, a much wider debate) having to put up with us humans offloading tasks with minimal guidance or knowledge. Like the IT support of old and now on steroids because “It’s fine the AI will do it.”

Who Keith is

Keith is the AI in every post. A robot with a TV for a head, capable and literal and a bit put-upon. He does exactly what he’s given, and he knows when what he’s been given is rubbish. The humans make the mess and Keith notices.

The strips see work from the AI’s side of the screen. That’s how I imagine AI would feel about us if it had feelings (who knows).

He started as a paper cut-out in the corner of my post images. Now he has his own comic strip, Keith’s AI Adventures, which is an agent’s journey putting up with humans. Strips will live on this site and go out on LinkedIn.

The setup

Everything runs locally on a Mac Studio with 64 GB of memory, through mflux, which runs image models natively on Apple silicon.

Two open models do the drawing. ERNIE-Image-Turbo draws the first panel of each strip from a written description of the scene. FLUX.2 klein 4B, released under Apache 2.0, then edits that panel to make the next ones. A batch of four post images takes about fifteen minutes. A comic panel edit takes about fifty seconds.

In fact, I have been quite blown away with the speed and the quality of the ERNIE-Image-Turbo model. It takes reference images very well, small tweaks are handled efficiently and generation times on an M1 are impressive. For the in depth focused updates to an image FLUX.2 klein 4B keeps the aesthetic and again is pretty fast in the grand scheme of things for an open model.

Then a few hundred lines of Python do everything else. They draw Keith’s face, set every word, add the speech bubbles and lay out the strip.

What I’ve learned

The models can’t spell

In testing, ERNIE misspelt about a third of the headlines I asked it to draw. So the model never draws a single letter. It makes a clean image and code sets the text in a proper typeface afterwards. This one rule fixed more problems than any model upgrade.

Left: the image as the model drew it, a paper cut-out man at a desk of paperwork with no text. Right: the finished post after code added the headline, Keith and his speech bubble.

They draw what’s there, never what’s missing

Ask for a pier with a gap in it and you get a perfectly good pier. Ask for an untouched coffee and you get a coffee. If the point of your picture is an absence or a small detail, an image model will quietly smooth it away. The idea has to be something big and visible, or it has to be added afterwards.

Describe the layout, not the mood

Asking for “plenty of empty space” did nothing. Asking for “the left third is plain wall and floor” worked first time. These models follow a floor plan far better than an adjective.

Every new image is a new world

This was the big one for the comic. My first strips drew each panel from scratch, and Keith’s kitchen changed colour between panels while he wandered across the room. A comic where the furniture moves is a dream sequence. The fix was to draw the first panel once and make every later panel an edit of it. Same room, same camera, same people in the same places, and only the poses change. The edit model puts Keith’s screen on the same pixels from one panel to the next.

Two pairs of comic panels. Top: panel 2 drawn from scratch, and the woman and Keith have swapped sides of the room. Bottom: panel 2 made as an edit of panel 1, the same room and positions with only her pose changed.

Say who you mean

Tell the edit model “the robot shrugs” and it will happily make the woman next to him shrug instead. The prompt has to point at someone by position, as in “change only the robot on the right”. It also gave Keith a third arm once. Somebody still has to look at every panel.

Keep the punchline away from the model

Keith’s screen is drawn blank, and code draws his face on it afterwards from a set of fifteen expressions. In a comic the expression usually is the joke, so it’s the last thing I’d leave to chance. It also means animating him later is a frame swap rather than a re-render. Working with Claude Code this was a really quick stage to implement.

Keith as the model draws him, with a blank screen, beside the same image with a side-eye face drawn on the screen by code.

The pictures were the easy bit

Once the pipeline worked, the hard part turned out not to be the images at all. It was the jokes because a) I’m not that funny b) I don’t want to be sacked or blacklisted for roles.

Sometimes, even Claude comes up with a cracker but nothing leaves automatically and is always reviewed.

What’s next

There’s a backlog of five strips, starting with Keith being introduced at an all-hands as the company’s new AI agent. He takes that word rather literally. They’ll appear here as they’re signed off, and later some of them will move, Keith blinking and loading and switching off when he’s had enough.

Open source image generation is ready for real work if you let it do the part it’s good at. The model draws the room. Everything that has to be right is still up to us.

The first three strips

Two-panel comic. Steve, an exec at his laptop, asks Keith why he can't find the data in the spreadsheet. Keith, holding a huge printout, replies: "Because, Steve, you've got more tables in here than IKEA. You try finding it." Four-panel comic in a meeting room. A director says "We need an AI strategy." Keith asks what the current strategy is; she says "Panic." Keith's screen shows loading dots, then he smiles and points at her: "Good news. I can do that at scale." Two-panel comic in an office kitchen. An analyst tells Keith he made up a statistic. Keith, holding a mug and smirking, replies: "Eighty-four per cent of people do."

Over time Keith may well get a page of his own.