Too much at once? See the simple version: Meet Ayewon

How Jarvis Is Built: What’s Ours, What’s Measured, and What We Haven’t Proven Yet

The short version: after One Morning With Jarvis went up, people asked a fair question: is this anything special technically, or just a chatbot with a good prompt? This post is the answer, written for engineers and anyone else who wants to see how it’s built. Every number here comes from git history, the source code or the session logs, and the box at the end shows how to count them. Where we haven’t proven something yet, we say so.

A note on the name: Jarvis is what I named my Ayewon, the AI assistant in the A1Ai Workspace. You can name yours whatever you like.

Not technical? Ayewon in Plain English covers what it does and how it works, without the engineering.

642commits to the Workspace app since July 30
0of them reverted
~7,450automated test cases in 662 test files
325tools behind one permission gateway
0.7%of what Jarvis knows is loaded when a session starts
122numbered improvements in Jarvis’s own upgrade queue since August 20

Counted on November 21 and 22, 2026, from the Workspace app’s git history and source, Jarvis’s own repository and notes, and the Claude Code session logs.

First, what’s ours and what isn’t

Anyone technical will ask this first, so here it is up front. The intelligence is Claude, made by Anthropic. The agent that runs in each terminal tab is Claude Code, also Anthropic’s. Prompt caching, which makes long sessions affordable, is a feature of their platform, and so is the file format Jarvis uses for its lessons. We didn’t build any of that, and we’d be suspicious of anyone who claimed they did.

Anthropic’s

  • The model (Claude)
  • The agent runtime (Claude Code)
  • Prompt caching
  • The memory file format

Ours

  • What Jarvis knows about the business, and how little of it loads at a time
  • The A1Ai Workspace app and its 325 tools
  • The permission gateway every tool call goes through
  • The self-upgrade loop and the automation scout
  • The habit of checking every change after it’s made

The model is the engine. Everything on the right is what makes it useful to a real business on a Tuesday: the right context, the right tools, and limits it can’t talk its way around.

Context: load the index, not the archive

Jarvis’s notes on the business are 489 notes and 138 lesson files, about 8.6 MB. A new session loads about 59 KB of that, or 0.7%: its operating rules (35 KB), a one-line index of its lessons (15 KB), and a digest of what’s in flight (about 8 KB). It opens the full note on a project only when that project is the job.

Two details matter more than the headline number.

  • The size limit was measured, not guessed. The digest used to have a 16 KB budget. It reported itself as complete while delivering nothing at all, because above a certain size the runtime stops putting startup context into the conversation. We went through 148 real session starts in the logs and found that ceiling sits between 9,606 bytes (the largest that arrived) and 10,260 (the smallest that didn’t). The budget is now 9,000 bytes. If the digest ever has to shrink, it steps down a ladder (full, trimmed, minimal, failed) and opens with a warning banner naming what’s missing, so a short context never passes for a complete one.
  • Open projects are files, not one growing document. The list of open projects had grown into a single 240 KB section, with one entry a single 34,795-byte line. The digest could only fit titles and was dropping 50 of 88. Each project is now its own file with its status and dates in a header (230 files today, 169 open), and a script rebuilds the index from those headers. Running it twice produces byte-identical output, so it’s safe to run any time.

The payoff shows up in the token counts from the morning in the video. From midnight to 10:39 AM the agents read about 466 million tokens, and 97.2% of that was a re-read from the cache, which costs a tenth of fresh reading or less. Only 0.33% of all tokens was the model’s own output. A small, stable context is what makes the cache work.

One gateway, three assistants, 325 tools

The A1Ai Workspace is a desktop app that connects a business’s website, email, CRM, tasks, ads, analytics and social accounts. It exposes 325 tools over the Model Context Protocol (MCP), the open standard AI assistants use to call software. Three different assistants use them: Jarvis in the terminal, the assistant inside the app, and the chat sidebar. All three go through the same handler, so a fix to one tool reaches every assistant the moment it ships.

Every call passes a permission gateway before it runs. The rules, from the source:

  • Three tiers. Tier A is read-only and always allowed. Tier B writes data. Tier C is high-impact: sending, publishing, deleting, spending money.
  • The default is “ask a human.” Any assistant without its own policy waits for approval on every Tier C action, and on Tier B writes marked for review. Approvals land in the app as cards that show the exact action and why it’s waiting.
  • Who’s calling is proven, not claimed. An early version trusted a caller name, which is just a string any code could fill in. The gateway now decides from which connection the call came in on, and a call whose identity isn’t established falls to the safe default.
  • Nobody watching means nobody approves by default. A write from a scheduled, unattended session always waits for a human, whatever that assistant’s policy says.
  • No preview loophole. A Tier C action can’t be dry-run, because a preview of something a human should see first would be a way around the approval.
  • Writes into outside systems have a floor. For custom connections a business adds itself, every write waits for approval until that tool has succeeded once with a human’s yes. If the record of those approvals can’t be read, the floor holds.

One honest note: on my own setup, I’ve set my Jarvis connection to run writes without the approval queue, because I’m in the conversation. There, the checkpoint is Jarvis showing me the exact words and waiting for my yes, which is an instruction it follows, not a lock. Clients’ assistants start on the default, where every high-impact action waits for approval.

The code: 642 commits, zero reverts

Every one of the app’s 551 non-merge commits carries a Claude co-author line. The agents write the code, and I direct it. That makes the obvious question “does it hold up?” Here’s what the git history says.

Plus the first commit on July 30. Total: 642.

  • Zero reverts. Not one commit in the app’s history undoes another.
  • About 6% are fixes. Of the 551 commits that aren’t merges, 35 mention a fix in their subject line. Zero reverts could also mean problems were fixed forward instead of backed out, so the fix rate belongs right next to it.
  • 91 merges. Agents work on separate branches in parallel, and the work is merged back.
  • About 7,450 test cases in 662 test files, next to 1,651 TypeScript source files. The most recent commit fixes what a fresh new-customer install test turned up.

Two limits on what this proves. Git only covers the app’s code, so the website, CRM and email work Jarvis does sits outside it. And we didn’t run the test suite for this post, so we’re reporting how many tests exist, not a pass rate.

Hallucinations: rare, because everything gets checked

In my experience, Jarvis makes things up very rarely. That’s an observation, not a measurement, and we haven’t published a rate. But it isn’t luck either. Models do make things up. The system is built so that a made-up answer gets caught before it matters:

  • It verifies outcomes, not intentions. After an email it reads the Sent folder. After a site change it compares the live page before and after. On the morning in the video it looked at 209 screenshots and images of its own work, at desktop and phone widths, before calling things done.
  • Claims get checked against the source before they go public. A line I said on camera about weekly hours was cut from that video because the logs didn’t support it.
  • It remembers what went wrong. 138 lesson files load as a one-line index. Some examples: a new YouTube channel can only upload 10 videos a day; a WordPress embed made before a video goes public caches the failure; a Sent folder proves an email was submitted, not delivered; and a find-and-replace inside a serialized database value breaks it, because those values carry their own length.
  • Every real miss is written down. Jarvis keeps a log of its own real misses (143 dated entries so far, with a high bar: an actual failure or rework, not nitpicks), and a separate log of problems it finds in our tools (more than 140 entries). Each one ends in a fix, a new rule or a lesson. That log is what will let us turn “very rarely” into a number.

It improves itself, on a schedule, with the doors locked

Early every morning, a scheduled, unattended Jarvis session picks the next item from its own improvement queue and does the work. It only counts as done when type-checking and the full test suite pass and the change is committed. The queue started with UQ-001 on August 20 and reached UQ-122 this morning, with 79 commits carrying those numbers and 71 entries in the run log. The improvement in the One Morning video (follow-up reminders that say how overdue they are) came from one of these runs.

An unattended agent is exactly where you want hard limits, so these runs are locked down by permission rules that hold even when nothing else is asking for approval. They can’t call any connected tool, can’t use the web tools or the usual download commands, can’t push to git and can’t send email. Anything that would need one of those gets written up for me to review instead. The command that registers these schedules refuses to apply from an unattended session, so a scheduled run can’t give itself a new schedule.

A second weekly job, the automation scout, reads the session logs stored on this machine, minus the projects I’ve excluded, and looks for work I keep doing by hand. It proposes at most two candidates a run, each with dated evidence. It has proposed 10 so far, and none gets built without my yes.

Failures we learned from

Experts trust a system more when they can see how it failed. Three from our logs:

A script that reported success while destroying data

The one-time script that split the open-projects list into files was run again after the list had become a generated index. It read the index as if it were the original notes and overwrote 24 project files with stubs, twice, while every line of its output read as success, including a byte-count check. The fix had two parts: the script now refuses to run once the index exists, and a separate, repeatable script became the only way to rebuild it. The lesson we kept is that a success message only shows the script finished. You still have to check the result.

A context budget that said “complete” and delivered nothing

Covered above: the startup digest reported a full load while the runtime was silently dropping all of it for being too large. Measuring the real ceiling from 148 sessions, and adding a warning banner to every partial load, closed it.

A one-character edit that corrupted a database value

Cleaning a punctuation mark out of website copy, a find-and-replace reached into a serialized database column. Serialized strings store their own length in bytes, so swapping a three-byte character for a one-byte one broke the value. The rule now: stored values are only changed by decoding and re-encoding them through their own format, never by patching bytes.

What we haven’t proven yet

  • A hallucination rate. We have the miss log and the session logs to compute one. We haven’t yet.
  • A task success rate. We measure activity (sessions, tool calls, files, commits), not how often a task finished right the first time.
  • A test pass rate. Not run for this post.
  • Scale beyond one operator. Everything here is one person running many sessions on one machine. Those sessions share files and coordinate by message (one asked another not to double-post a social schedule this week), not with locks. That works for one operator. Whether it holds for a team is untested.
  • Cost per morning at API prices. The token counts are published above, so anyone can work it out. We run on a subscription plan, which isn’t the same thing as unit economics.

Check the numbers yourself

How each number was counted

Git numbers are from the Workspace app’s main branch, by author date:

git log --format=%ad --date=format:%Y-%m | sort | uniq -c
git log --grep="This reverts commit" --oneline | wc -l
git rev-list --no-merges --count HEAD
git log --no-merges --format=%s | grep -iwcE "fix(es|ed|ing)?"
git rev-list --merges --count HEAD
git log --no-merges --format=%B | grep -ciE "co-authored-by:.*claude"

Test cases are lines that open an it( or test( block in the 662 tracked test files, so it’s a close count, not an exact one. The 325 tools are the distinct tool names registered in the app’s MCP tool modules. Startup size is the files a session loads, measured on disk. Token counts are from the Claude Code session logs, where every model call records what it read from cache, what it added, and what it wrote. The self-upgrade count is the numbered items in the work queue and the commits that carry their numbers. The co-author share counts commits whose message carries a Claude co-author trailer.

See it under a real workload.

This post is how it’s built. One Morning With Jarvis is what it does: 21 AI sessions, 1,800 tool actions and a full day of client and company work, in about 5 hours on the clock.

Watch One Morning With Jarvis

Ready to put AI to work in your business?

We run the AI so you can run your business. Book a free 30-minute call and see it working for you.

Podcast Form

AI Assistant

Thank you for taking the time to review us, please let us know how your experience has been!
12:30
Newsletter

Stay up to date on what we are doing and ai as a whole.

Contact Us

Need some more details, help, or just want to say hello? Let us know!