12.3.2026

Monad: An Agent-Designed LLM Inference Architecture

Normal Computing

At Normal, we build inference systems designed to increase the interactivity and lower the energy and cost of running AI - this is exemplified by our in-memory computing architecture - Kelvin. We believe that achieving substantial gains in efficiency requires model, software, and hardware co-design. We use AI to significantly accelerate that process in our own hardware development.

Typically, models are optimized to fit existing hardware, a dynamic Sara Hooker describes as the “hardware lottery” [1]. We turn this on its head and fix a model (Qwen3.6 35B-A3B) and a target device (an AMD Alveo U200 FPGA), and let the whole system be optimized around that model. We wanted to understand how much performance we could gain by optimizing the entire system around the workload, as well as how much of that complex engineering process could be undertaken by largely unsupervised AI agents.

To find out, we gave a team of agents direct access to the full stack and the board itself, from performance models and RTL to the bitstream, firmware, kernels, and serving software. Over about 40 days, the agents developed Monad1, an inference accelerator that serves arbitrary prompts end to end. Monad's architecture is distinct from Kelvin's, though we are using similar methodologies for aspects of Kelvin's microarchitecture and software design.

On requests with 2,048 input and 256 output tokens, Monad achieved 3.05 tokens per second at batch size 1 and 3.73 at batch size 6, including prefill. At batch size 1, decode alone reached approximately 55% of its achievable weight-bandwidth ceiling.

The collapse of abstractions

A modern AI accelerator is a composite in Leibniz's sense: it is assembled from the outputs of separate teams. The model team picks a precision, the compiler team picks a schedule, and the architects design and freeze a spec. RTL, verification, and physical design each then inherit the frozen output of the team above them. The split exists because no one person can hold the model, the compiler, the microarchitecture, and the floorplan in mind at once. As a result, the industry divided the problem into abstraction layers with their own teams. Every handoff loses information and slows the engineering loop.

We did not divide the problem that way. The whole project lived in a single repository. One lead agent moved across the entire stack, from the model checkpoint down to the board. It coordinated parallel subagents, each working at one abstraction level: roofline and transaction-level modeling, cycle-accurate simulation, RTL and verification, synthesis, firmware, kernels, the compiler, and the serving layer (Figure 1). The abstraction levels were still there, and the agents kept them consistent with one another. They just no longer marked boundaries between different teams.

Human input was limited to the setup. Before the project started, one engineer set out guiding principles, tools, and the APIs between abstraction levels. Only two inputs were fixed: the model to be served (Qwen3.6 35B-A3B) and the target device (an AMD Alveo U200 FPGA with 4× 32 GB DDR4 DIMMs). No architectural constraints were imposed. The agents' goal was to maximize throughput (tok/s) while minimizing time to first token (TTFT).

In this framework, architecture and specifications took on a different meaning compared to conventional chip design flows. The high-level architecture was constantly refined, and sometimes completely reworked, based on high-level simulations (H1 and H2 in Figure 1 which are informed by analytic and event-driven simulations), which are in turn calibrated and revised by higher-fidelity, lower-level simulations all the way down to cycle-accurate models, RTL, and FPGA measurements such that they captured the constraints of the hardware and measured timings of real operations. Likewise, the microarchitecture specification evolved alongside the cycle-accurate reference model and the kernels. There was no spec freeze. The spec was an artifact that evolved with the design. The only thing that stayed fixed was the workload the hardware was meant to serve.

Diagram of interconnected hardware and software abstraction levels, from workload and roofline estimates through FPGA implementation and runtime measurements.
Figure 1. Hardware (H) and software (S) abstractions follow from the workload. Higher-level models are refined through lower-level simulations and FPGA measurements.

What the agents built

The result of this process is an LLM inference accelerator running Qwen3.6 35B-A3B, a mixture-of-experts LLM model, with W8A8 and mixed W4A8 results measured on an FPGA which we call Monad. It is built around a 48×48 INT8 multiply-accumulate (MAC) array, 32 FP32 vector lanes, and a direct memory access (DMA) engine that streams from all four DDR4 channels of an AMD Alveo U200 FPGA in parallel (Figure 2), and it serves arbitrary prompts end to end. On the latest bitstream, at 145.5 MHz with the mixed W4A8 checkpoint and software overlap, the board reaches 3.73 tokens per second at batch size 6 and 3.05 at batch size 1, up from 2.56 / 1.88 for the first W8A8 board at 100 MHz. These end-to-end rates use 2,048 input and 256 output tokens per request and include prefill.

The agents developed Monad's architecture using roofline and event-driven simulations, continuously revising it as cycle-accurate simulations, synthesis, timing, and FPGA measurements became available. In prior work on Redwood [3], agents implemented an architecture specified by two human architects. In Monad, the architecture itself was part of the agent-led design process and evolved through 57 recorded revisions.

Headline statistics:

  • Around 40 days of development.
  • 114 subagent traces in the supplied export, alongside the main conversation.
  • 719 commits, including merges spanning performance models, specs, RTL, verification, software, and synthesis.
  • 32,872 agent responses, 15.0 billion input tokens including cache reads, and 21.9 million output tokens including thinking.
  • 401 human prompts in the available logs: about 27.9 hours of estimated human engagement and 267.1 hours of estimated agent activity after removing overlap.
Architecture diagram of the Monad inference accelerator, showing matrix and vector engines, memory channels, control and data paths.
Figure 2. Monad maps the target model's matrix and vector operations onto dedicated engines, streaming weights across four memory channels.

Design journey

The source of truth

The exported compute graph of the LLM was the anchor. It recorded every op with its shape and data type. Some ops ran in integer arithmetic, some in bfloat16, and some in fp32, depending on whether they were matrix multiplies, delta-gate, norms, or softmax. The agents ran a precision audit that checked every op across four locations: the compute graph, the transaction-level model, the spec, and the RTL. Where they disagreed, the disagreement became a tracked issue that an agent would resolve.

The agents evaluated the accuracy cost of each precision choice against the reference before committing to it. W8A8 (8-bit weights and activations) was accepted, and the decision flowed straight into the RTL. Later, the same machinery carried the design to W4A8, changing number formats in the weight path from the compute graph all the way down to the RTL.

The compute graph proved just as valuable for verification:

  • A golden reference at every level. Real weights and activations from the graph drove the block scoreboards, the cycle model, and the chip-level tests, so every level was checked against the same numbers.
  • End-to-end on the FPGA. Board runs were judged against the graph's reference outputs, which is how numerical errors on the card were caught and traced.

Fitting Monad on the U200

Any chip trades off power, performance, and area (PPA). On an FPGA, area is effectively fixed: the die and its resources are already set and power optimizations are limited given the static power draw of the card and its memory. An application-specific integrated circuit (ASIC) offers far more freedom, as the designer chooses  area and cell library, and the layout is much more flexible. For the FPGA, that leaves two important design tradeoffs: whether the design fits, and how fast it runs.

The agents' first architecture did not fit at all. Initial RTL designs needed more logic and memory than the U200 had by over a factor of 2. So the agents went back to the event-driven architecture simulation level, found the best size that fits, and carried the change down through every level:

  1. One agent re-priced the area model using synthesis results.
  2. Another re-selected the architecture at the event-driven level with the corrected costs, landing first on 64 vector lanes and, by the fifth round, on 32.
  3. Others carried the change down through the cycle model, the specs, and the RTL, and re-ran the chip-level gate and coverage.

After a number of failed synthesis runs, the agents built a physical model of per-block area and routing zones on the U200 and fed it back into the architecture search. The lesson propagated upwards: physical layout constraints became an input to the architecture designs and did not follow after.

Charts comparing measured throughput and operating frequency across revisions and lookup-table utilization against the FPGA resource budget.
Figure 3. Measured throughput and operating frequency increased from the initial W8A8 design to mixed W4A8 (top). Lookup table (LUT) utilization across 57 recorded design revisions and alternatives (bottom) shows how the design evolved within the FPGA's fixed resource budget.
Matrix engine dataflow showing the 48-by-48 INT8 multiply-accumulate array, precision handling and FP32 epilogue.
Figure 4. The matrix engine: one 48×48 INT8 MAC array serves all required precisions. BFP8 and BFP16 are handled by mantissa and exponent loaders, then an FP32 epilogue.

Closing timing across FPGA dies

Once the design fit, the challenge moved to performance and timing closure:

  • Too deep. Initial design versions had long single-cycle logic chains in the vector unit that couldn't be routed.
  • Illegal placement. Many rounds routed illegally where gather logic was packed against the DSP array.
  • Congested board builds. Adding the DDR4 controllers and PCIe IP filled the middle die which further reduced routable frequency.

The agents then wrote a post-mortem of every failed round, citing timing reports and specific log files and concluded that missing the target was mainly a problem of fill, fanout, and die crossings which another agent fixed with re-pipelining and placing.

Vector engine architecture diagram showing its execution and data paths.
Figure 5. The vector engine was the source of most timing bottlenecks and became a focus of the agents' timing-closure work.

Which decode bottlenecks could software fix?

Once real tokens were coming off the card, the work changed somewhat in nature. The agents timed all the individual instructions necessary for inference on the device and determined where the bottlenecks truly lay. This allowed for pushing performance on frozen hardware designs as far as possible with scheduling and software optimizations, and once the agents hit a ceiling and determined that the bottleneck lay in the actual hardware design, they could go back and alter that.

The software side worked on the running board, with no bitstream change. It made the engine resident, tuned the decode kernels and the weight-streaming DMA, packed batched prompts, and implemented speculative decoding from an existing draft head. Every kernel change had to produce bit-identical tokens. Measured on the board, tuning took throughput from 1.60 to 1.94 tok/s on November 5, and later from 2.33 to 2.48 tok/s, with no change to the hardware.

The hardware side ran at the same time in other worktrees. It studied clocking the DDR read path from the memory controller's own clock, allowing more outstanding weight reads, and using more parallel DMA weight read buses weights to reduce the bytes per token.

This is where moving seamlessly between abstractions paid off. When the DDR read-path study came back, the master agent could compare it directly against the software optimization. It concluded that they were roughly equivalent. It also explained why running the DDR faster gave no gain: decode was already at the limit of the weight stream occupancy, which was 93% busy at batch size 1. In a conventional flow that comparison crosses multiple teams and may take much more time to action. Every board measurement also flowed back into the models that predicted it. That loop is the subject of the next section.

How the agents verified Monad

Initially, the agents followed some of the suggestions regarding tools and methodology in the base repository, which were a handful of human authored skills, but ultimately, they developed their own verification methodology, rooted in:

  • Compute-graph-driven functional coverage. The agents derived operation coverage metrics which propagate high level mathematical operations in the compute graph all the way down to individual descriptors that run on hardware.
  • Regression tests. By the end of the project, 609 tests ran in CI. The suite included linting and checks that the generated specifications still agreed with the models.
  • Formal checks. The agents used formal verification to check control properties such as FIFO overflow and deadlocks. They also used a theorem prover to verify arithmetic in the datapath against its mathematical specification in the compute graph. This checks properties for all inputs covered by the proof, rather than only those tested in simulation.
  • On the board. To check generation end to end, the agents compared the FPGA’s logits, the scores it assigned to possible next tokens, with those from a GPU reference run. Early board tests exposed numerical errors that the RTL tests had missed. A debugging agent traced the errors back to the RTL, and the agents rebuilt the bitstream with the fix.

Observations on agent behavior

How the subagents organized themselves

Writing RTL in this master-subagent framework was smooth: a single master agent supervised subagents implementing RTL for each block in the microarchitecture, and spawned independent verification subagents. 17 subagents took different blocks from the matrix unit and MAC engine, the vector unit and its special-function microcode, the select unit, the DMA engines, the AXI crossbar, the on-chip memory, the command processor, and the chip top. Four independent agents built the verification harness, block scoreboards, chip-level functional gate, and coverage closure and the chip was kept consistent with all the models.

After that, subagents were spawned for continuous performance optimization, bugfixes, and quality of life improvements such as:

  • Studies for PPA optimization: price a dual-clock split, explore the design space with a physical model, and assess speculative decoding or a move to a different architecture.
  • Bugfixes: a back-pressure hang in the select unit, a PCIe link that went down after loading, and error-bound failures on the FPGA.
  • Quality improvements: CI and lint adoption, and turning lessons into skills.

Each subagent worked in its own git worktree on its own branch, so a speculative re-architecture could run beside a bring-up without disturbing it. The master merged what was verified and recorded which branch each agent was based on.

The system also built its own memory and every lesson became part of a skill that every later agent could load and refer to.

A system that learns its own craft

The master agent that orchestrated the design process was running on the same model throughout the design process. But what evolved was what an agent inherited when it started work on the next architectural or software revisions.

After a routing failure during bring-up, the agents added a systematic checker script to the build. It reads the synthesis log and stops the build if it finds a violation of the RTL synthesis rules. The agents kept those rules and their bring-up notes in sync across worktrees, leading to:

  • Improving the synthesis workflow. By the time they were working toward 150 MHz, the agents were running synthesis on individual blocks before committing to a full build. They used the timing reports from failed rounds to decide which paths to change and diagnose congestion hotspots.
  • Finding bugs earlier. Midway through the project, the agents added linting to the Python and RTL workflows. The first run turned up bugs in code the agents had already written.
  • Models refit to the FPGA resources. The predictions were not left as they were first written. Once the board ran, the agents:
    • recalibrated the cycle model's host-link timing against measured step times;
    • rewrote the roofline using the actual DIMMs, as a function of both the chip clock and the memory clock;

‍

The gap between what the models predicted and what the board measured shrank as a result, so later architecture decisions were made on better data. This is the loop that makes the architecture keep evolving: the design influences the measurements, and the measurements reshape the models that help finalize the design.

Degree of human steering

We want to be precise here, because "designed by AI" claims are easy to overstate. The whole design flow had an estimated 27 hours of human engagement versus around 270 hours of agent activity. Importantly, most prompts were not design input, and rather steering, status, or housekeeping.

No human wrote any RTL, spec, testbench, kernel, driver, or serving code. A handful of steering messages shaped the project, and they read more like a product owner than a designer:

  • "go back to h2 (event driven modeling), find the optimal size that fits and propagate all the changes back down"
  • "what do I gain from moving top-k sampling onto the FPGA, what do I potentially lose? think about this first"

Meanwhile, the agents ran on their own for long stretches. They worked for over 40 hours without any supervision at points.

Timeline comparing agent activity and human engagement during Monad development, with cumulative commit and token counts.
Figure 6. From 9 October to 16 November, the agents accumulated an estimated 267.1 hours of activity compared with 27.9 hours of human engagement. Cumulative activity includes 719 commits, 15.0 billion input tokens, and 21.9 million output tokens.

Benchmarking against other accelerators

Table 1. Throughput and bandwidth-based decode rooflines. Monad and other accelerator rows use Qwen3.6 35B-A3B. All roofline fractions are approximate.

Platform and format Bandwidth (GB/s) Throughput (tok/s) Decode BW roofline; fraction Evidence / source
Monad / Alveo U200, 145.5 MHz; mixed W4A8 37.2; deliverable weight stream End-to-end: 3.05 / 3.73
Decode only: 7.23 / 12.8
(B1 / B6)
B1: ≈13.1 tok/s; ≈55%
B6: ≈35.1 tok/s; ≈36%
Measured on FPGA.
Ryzen AI 9 HX 370 / Radeon 890M; Q4 89.6; nominal Prefill: 343.24
Decode: 22.00
≈44.5 tok/s; ≈49% Reported benchmark · Mulqueen
NVIDIA DGX Spark / GB10; NVFP4 273; nominal Prefill: 7,477.0
Decode: 67.1
≈149.3 tok/s; ≈45% Vendor benchmark · NVIDIA
  • Workload and rate definition. Monad uses 2,048 input and 256 output tokens per request at batch 1 or 6. End-to-end throughput is total output tokens divided by device execution time, including prefill. Prefill is 48.7 s per prompt; decode steps are 0.138 / 0.468 s (B1 / B6).
  • Published benchmark settings. HX 370: Vulkan, B1, 2,048-token prompt and 128-token decode at context 2,048 (f16 KV). DGX Spark: TensorRT Edge-LLM 0.10.0, B1, vanilla decoding, input/past KV length 2,048.
  • Roofline. RBW = BW/D, with D in bytes per output token. Monad uses a weight-only bound (≈2.85/6.35 GB per B1 / B6 step), excluding KV, state, and other traffic. For other accelerators the fractions are traffic-model estimates against nominal bandwidth. At batch size 1, Monad reaches approximately 55% of its deliverable weight stream decode roofline. The other platforms provide useful context, though the roofline fractions are not directly comparable.

Calculemus: from new model to new hardware

What we expect next. Today, getting a new model running well on new hardware takes months. We expect that to change in several ways:

  1. New model to working FPGA design in days, not months. When a model is released, agents read its compute graph, re-run the architecture search, regenerate and re-verify the RTL, kernels, and serving stack, close timing, and measure on the board. Measurements flow back up and the design keeps evolving. The limits become compute for synthesis and place-and-route, and board time, not engineering headcount.
  2. The design surface widens to the model itself. Precision, kernels, and eventually parts of the model architecture become variables, as long as the output stays within a desired distribution. Model and hardware are then chosen together, not one after the other.
  3. Verification and interfaces become the core engineering assets. In this project, the compute-graph reference, the coverage metrics and the interfaces between levels of abstraction were what let agents work unsupervised. We expect human effort to move toward defining these, because they decide how far agents can be trusted.
  4. Hooker's hardware lottery gets better odds. If hardware can be re-derived more easily for different models, ideas no longer just succeed by happening to suit whatever hardware exists.

What this means for ASICs. We are already using related methodologies for aspects of Kelvin's microarchitecture and software design. Before tapeout, agents can explore a much larger design space using simulation and FPGA measurements for feedback. After tapeout, they can adapt the programmable layers of the system, including compilers, kernels, and microcode, to new model releases. For Stirling, our ambition is to extend this approach beyond conventional microarchitecture design to the discovery and optimization of fundamentally more efficient physical primitives for computation.

Note

1. The name comes from Leibniz's Monadology (1714), inspired by the Greek monas, in which the world is made of "monads", simple substances that are each "a perpetual living mirror of the universe" [2]. We liked the analogy: in this project, every level of abstraction (roofline, cycle model, RTL, board) reflects and constrains the whole design, rather than being a sealed-off layer. Leibniz, who also gave us binary arithmetic, dreamed that disputes would one day be settled by calculation: calculemus, or "let us calculate." ↩

A translucent blue lattice cell enclosing progressively smaller echoes of the same geometry, with a single red point at its center.
A visual interpretation of Leibniz’s monad: each unit mirrors the structure of the whole.

Bibliography

  1. Hooker, Sara. "The Hardware Lottery." Communications of the ACM 64, no. 12 (2021): 58–65. arXiv:2009.06489.
  2. Leibniz, Gottfried Wilhelm. Monadology (1714), §56. In Philosophical Essays, edited and translated by Roger Ariew and Daniel Garber. Indianapolis: Hackett, 1989.
  3. Architect Labs. “Redwood: A Frontier AI Accelerator Designed, Verified, and Deployed from Scratch in 2 Weeks by AI.” Preprint, August 28, 2026. arXiv:2608.26418. https://www.alphaxiv.org/abs/2608.26418.