CACHO.DEV
CONTACT
← WORK CASE STUDY — 03 / 14

BUILDING THE CONTEXT LAYER FOR A FACTORY OS

FIRST RESONANCE — FIRST AI ENGINEERING HIRE

ROLE STAFF SOFTWARE ENGINEER
TIMELINE DECEMBER 2025 — APRIL 2026
STACK MCP / PYTHON / LANGCHAIN

INTRODUCING ION INTELLIGENCE — FIRST RESONANCE, JUNE 2025 (BEFORE I JOINED)

First Resonance, founded by former SpaceX engineers, makes ION, a factory operating system used by hardware companies such as Joby Aviation and Astranis. I joined in December 2025 as the company’s first AI engineer. There was no AI team yet, so the job was to build the first pieces and show where AI was useful in a factory.

The MCP server

The first thing I built was an MCP server that gave a model structured access to ION: parts, inventory, work orders and supply-chain data. Our clients used it directly.

The main job was finding bottlenecks. The server could look across a factory for workstations with slack, meaning stations that had the capacity to take on work. It could also go through the steps of a process and point out the ones holding everything else up. A third use came from the same data: helping users improve their process documentation.

We started with a one-to-one migration: every GraphQL operation in ION became an MCP tool. That left the server with more than 30 narrow tools, so a big part of the work after that was consolidating them into fewer, broader ones.

An agent that drives the UI

The second piece was an agent built in Python with LangChain, running on the same MCP server. It reads the UI state of the page the user has open and can update that state live. Instead of answering in a chat box, it changes what’s on the screen.

The model ran as its own service, and I designed its security model. A guardrails LLM screened every request for prompt injection before it reached the agent, the caller’s JWT was passed through to every tool call, and PostgreSQL row-level security limited what each call could touch. React and Next.js components and GraphQL APIs let it carry out changes, and Inspect AI evals checked its behavior.

Both pieces used the same server, so a tool added for one was available to the other.

Claude Code

I also built the company’s internal Claude Code setup: shared skills, rules and automated tooling for the engineering team. That rollout has its own case study.

firstresonance.io →

KEY OUTCOMES
01

Joined as the company's first AI engineer

02

Built an MCP server over ION's parts, inventory, work orders and supply-chain data, used directly by clients

03

Used it to find bottlenecks: workstations with spare capacity, slow process steps, and gaps in process documentation

04

Migrated ION's GraphQL operations to MCP one-to-one, then consolidated the resulting 30+ tools

05

Built a Python/LangChain agent that reads and updates the user's UI state live, secured by a guardrails LLM, JWT propagation to every tool call and PostgreSQL row-level security, and checked with Inspect AI evals

PYTHON · LANGCHAIN · MCP · GRAPHQL · POSTGRESQL · INSPECT AI · CLAUDE CODE

← PREVIOUS TWELVE LABS NEXT → CLAUDE CODE ROLLOUT

NEED THIS KIND OF DEPTH ON YOUR TEAM?

HELLO@CACHO.DEV →