I'm Mayank, an engineer at Snowflake supporting security and connectivity. Atrium started as a tool for my own support casework, and around ten of my colleagues now use it. It's internal, so this post has no code and no company specifics: it's an architecture-level tour of what Atrium became since my first post, and what it took to turn a personal tool into a product.
In my first post, Atrium was a reviewer: a web app beside my coding agent that framed a case going in and challenged the agent's work coming out. It worked, for one user. Since then it has grown into an agentic cockpit for a support engineer's whole day, used by around ten engineers who signed up to try something new.
The second part turned out to be the harder engineering problem. Building features with agents is fast. Building something other people trust enough to open every morning is not. This post covers both: what Atrium does now, and what I learned getting it from "works on my machine" to a product.
Architecture
┌──────────────────────────────────────────────────────────────────────────┐ CRM (read-only feed) ──►│ Atrium (Python + Tornado, runs on the laptop) │◄──► Slack │ │ (validation requests) │ 1. Queue lanes follow CRM status │ │ 2. Deadlines every clock, NEXT bar │ │ 3. Proactive prep before you arrive │ │ 4. Session map one agent session per case │ │ 5. Review Verifier + investigation audit│◄──► Reviewer model │ 6. Reply refine, approve, send │ (different LLM family) │ 7. Validations Pass 1 + Pass 2 │ └───┬──────────────▲───────────────┬─────────────┘ opens / focuses │ │ hooks, events │ two-stage prep forks / resumes ▼ │ session graph ▼ (laptop closed) ┌───────────────────────────────────┴──┐ ┌──────────────────────────┐ │ Host: Cortex Code Desktop or cmux │ │ Snowflake │ │ ┌────────────┐ ┌────────────┐ │ │ SQL builds a packet ──► │ │ │ case A │ │ case B │ ... │ │ agent with NO tools │ │ │ agent │ │ locked prep│ │ │ writes the prep │ │ └────────────┘ └────────────┘ │ └──────────────────────────┘ │ Desktop: extension + browser tab │ │ cmux: workspace per case + sidebar │ └──────────────────────────────────────┘ Rule: agents propose, Atrium acts, the human decides. Three things matter in this picture. Atrium sits between every agent and every outside system, so agents can be as autonomous as they like without anything reaching a customer unreviewed. Agents now run in two places: sessions on the laptop, one per case, and a prep agent in Snowflake that works while the laptop is closed. And the host is swappable: the same Atrium drives Cortex Code Desktop or cmux.
Why it grew
AI agents changed the bottleneck in support. An agent can work through an investigation that used to take hours, and it'll happily run several at once. The engineer doesn't speed up at the same rate, and the engineer doesn't have one case: they have a queue. Each case has its own deadline, its own thread and its own agent session.
So the slow part of the day stopped being "check this answer" and became "which of these twenty cases needs me next, and is its agent already on it?" I'm all-in on agents doing more of the work. Atrium's job is to make sure the human can run a fleet of them without dropping anything.
What Atrium does now
- The queue follows the source of truth. Lanes come straight from each case's status in our CRM. Anything Atrium infers (a stale status, a closure request, an SLA at risk) is a flag, never a move. An early version tried to be clever about where cases belonged, and engineers stopped trusting it.
- Every deadline, at a glance. Each case carries its tightest clock: first response, next response, a promise made, a follow-up. A NEXT bar shows the next deadline across the whole queue and the four hours after it.
- Prep before you arrive. When a customer replies, a deadline approaches or a case is assigned, a locked-down agent investigates and leaves a prep and a draft.
- One agent session per case. Start, resume, focus or close it from the case's row. In cmux, each case gets its own workspace.
- Review that checks the path, not just the answer. The Verifier still runs on a model from a different family. The investigation audit now reads a session graph the agent records as it works and checks it against the real tool results. Every challenge is rated, so we can see whether it changed a draft.
- Reply, approve, send. An approved reply and its status change go out through the CRM's own integration, from inside Atrium.
- Validating another AI's work. Our support org runs an AI assistant that asks humans to approve its replies. Pass 1 reads the assistant's run and flags claims on weak evidence; Pass 2 carries out what it asked a human for and writes the guidance to send back.
Proactive prep: fork, don't restart
How the prep session starts matters more than its prompt.
- It forks the case's own session, inheriting every earlier query, the customer's history and the reasoning so far. A fresh session would rediscover all of it, slower and less accurately.
- The fork is locked; the original isn't touched. Write tools are removed from the fork only.
- Take over is one click. The locked session stops and the same conversation resumes with every tool restored, in the same tab. One lesson: tell the model the restriction is lifted. Models trust their own history, and otherwise assume they still can't act.
Engineering for autonomous agents
- A tool you didn't attach can't be misused. Telling a model which tools to use is a request, not a boundary: in testing, it used others anyway. Proactive sessions launch without write tools, and the server-side prep agent has none at all, checked before every run, failing closed.
- Know what your host lets a process do. A cmux pane can read and type into its neighbours, so preps there get no shell, and every command Atrium sends to cmux passes an argument-checking allow-list.
- Cost is cache writes, not prompt length. Measuring the server-side prep showed that tool calls pulling large results into context drove the bill. The fix: a plain SQL step builds a compact packet, and one call to an agent with no tools writes the prep. That's a small fraction of what a general-purpose coding agent spent on the same job, and every run stores its packet, so you see exactly what the agent saw.
- Two hosts, one capability table. On Cortex Code Desktop, a small extension opens a terminal per case and Atrium lives in the built-in browser: the easiest rollout. On cmux, every case gets a workspace grouped by lane, with deadline pills and a context meter, and a custom cmux sidebar I wrote shows what needs you, drafts ready, agents at work and parked cases, with its own NEXT banner. It's the better home for agentic work.
- Session mapping that survives real life. Different launchers, case folders at different depths, folders that move mid-session, reused terminals: Atrium combines the host's terminal map, a session hook and the cmux workspace tree to keep every case tied to the right session.
- A session graph, borrowed with gratitude. The agent records its questions, actions, evidence, findings and results as it works, so a reviewer reads why it concluded something. The model comes from our CXE team, and Atrium keeps their format, so a graph could move to their service unchanged. Their assistant's audit trail is also what makes Pass 1 and Pass 2 possible.
From tool to product
This is the part I underestimated. Building Atrium for myself took evenings. Making it work for other people took everything else.
Adoption took a hit, and that taught me the most
Atrium isn't for everyone, and the beta made that clear fast. Adoption dipped for reasons that had little to do with what the agents could do:
- Too much on screen. I'd built a cockpit for someone who lives in the queue all day. Many engineers wanted one clear view, not panels, tabs and flags all at once.
- Expectations didn't match. Some people expected a simple helper and found a full agentic workspace. When you don't understand a tool, it feels like work.
- Sign-in trouble. Expired logins, a sign-in tab left open overnight, a network blip reported as "login expired". Each one cost trust it took weeks to earn back.
- Plumbing underneath. A change in an upstream data source meant deadlines were read wrongly until a recent fix. For a tool whose core promise is "you won't miss a deadline", that hurt.
- Early bugs. A date that was off, a "sent" notice for something that wasn't sent, a prep that kept reopening. Small on their own. Together, enough for someone to uninstall.
What I'm learning about marketing
It turns out a product needs marketing even when every user is a colleague down the hall. That's a skill I'm still building:
- Progressive disclosure. The default view should answer one question: what needs me next. Everything else is there when you go looking, not in your face on day one.
- Show, don't tell. A two-minute walkthrough beats a page of release notes. Release notes are written for users now, not for me.
- Know the audience. I built for my own workflow. The engineers I'm building for have their own, and they're the ones who decide whether Atrium earns a place on their screen.
What turned a tool into a product
- Real releases. Versioned releases that engineers update to with one command, which roll back on their own if a new version doesn't start. Every change runs in a separate sandbox copy first, then goes through a pull request: protected main, CI on every change, and well over a thousand tests.
- Works for everyone. Atrium has to run on anyone's Mac with only what its dependency list says. That means no personal paths, launchers or hooks, settings in one place, and a test that fails if a personal value slips into the code.
- Measuring value. Review challenges are rated and their effect on drafts is recorded, so whether Atrium actually helps is a question we can answer with data, not anecdotes.
- A quality bar. The next release is about smoothness over features. Every core journey has to run end to end, on both hosts, with no surprises, before anything new ships.
Building it alone, alongside the day job
I still build Atrium by delegating tasks to autonomous agents. My job is the architecture, the review standards and what gets built next. But it's a team of one next to a full-time support role, and that's the honest hard part: switching from a customer escalation to a refactor and back, losing an evening to a flaky integration, and knowing every rough edge lands on colleagues who are as busy as I am. Agents make the building fast. They don't make the context switching free.
Standing on others' shoulders
- A colleague built the first version of proactive investigations and a faster data feed. Those ideas are the backbone of Atrium's prep.
- Another colleague showed me the route for sending replies and switching case status through the CRM's own integration, which turned "copy this into the CRM" into a reviewed, one-click step.
- Our CXE team's assistant, audit trail and session-graph model made process validation and the session graph possible.
- The beta testers, who told us the truth, including the parts that stung.
What's next
Partnerships
The biggest next step isn't a feature. Other engineers are building their own tools for the same problems, and we'd rather build with them than beside them: shared patterns for guardrails, verification and session handling, so the next engineer who takes this on starts further ahead.
A simpler front door
The NEXT bar is the first piece of a simpler default view: one answer to "what needs me now", across the whole queue, in Atrium and in the cmux sidebar alike. The rest of the cockpit stays one click away.
Takeaways
- Building it is the easy half. Agents make features fast. Trust, onboarding and plumbing decide whether anyone uses them.
- Not everyone wants a cockpit. Lead with one clear answer and let people discover the rest.
- Go all-in on agents, and engineer for it. A removed tool is a boundary; an instruction is a request.
- Fork, don't restart. A prep that inherits the case's session starts where you left off.
- Measure cost before optimising it. For us, cache writes mattered more than prompt length.
- Treat colleagues like customers. Releases, release notes, a quality bar and real feedback loops are what make a tool a product.
If you're turning your own tool into something your team uses, I'd love to hear what tripped you up. Tell me in the comments.
