An engineering team made of agents.
A team of agents, with a person at every gate.
A design for writing safety-critical software documents and code with AI agents, where a person approves each step and an independent team checks the work.
It already runs end to end. Here is the receipt.
This is the results card the workflow printed at the end of one real run on a Windows machine, from a sample brief. A brief went in, ten agents did their jobs, and the run stopped at the publish gate to wait for a person. None of these numbers are illustrative.
intake, planner, requirements, design, code and unit tests, test procedures, test code
checker, verification, QA
Honest footnote: QA raised 7 warnings, all the same note. The run was started in auto-approve mode, so no person signed off each step along the way. That is what the human gate is for in a real project.
Build it the way a real engineering team is built.
Software for aircraft is not written by one person. It is written by people with separate jobs, and checked by other people who report to someone else. This design copies that structure with agents, so the same checks and balances apply.
The human team
The agent team
One run, three ways to see it.
The same system and the same run, shown flat and step by step, as 3D blocks you can spin, or as the five layers of the stack. Pick a view.
Press play and watch a project move through the team.
Every agent writes to one shared record and tells the Orchestrator it is done. The Orchestrator releases whoever is next. Nobody talks to anybody directly. The amber layer underneath is MCP, the connector to the certification platform. Click any box to see what it does, then publish at the end.
Selected agent
Each agent has one job, reads from the record, and writes back to it after a person approves.
Reads
The record only
Writes
Its own items, after a human gate
Twelve agents, three teams. Spin it, click one.
Drag to turn the scene. Click any block to see what that agent does and how it has done in my own test runs. A plain-code Orchestrator sits above all of them and never writes a requirement. The flat, step-by-step version of the same run is in the Step by step tab, so you have both.
These come from my own runs on invented sample briefs with cloud models. It is a small sample, not a benchmark. Three early runs are left out because the command-line tool broke during them. Medians are over finished runs only.
Five layers, and a person on top.
The same system seen from the side. Drag to turn it, pull the layers apart, and click one to see what it does.
Selected layer
Each layer only talks to the one directly below it. A person sits above all of them.
What happens inside each step.
Every agent runs the same loop, on a model the project is allowed to use, and when the audit finds a problem it goes back to the agent that owns it.
Every agent runs the same loop.
Pull the input, draft, check it, ask a person, write it down, tell the Orchestrator. If the person asks for changes, the loop goes around again with their words attached.
- 01The agent pulls its input from the record. It never gets a handoff payload from another agent.
- 02It drafts with a model. A person chooses cloud or local for the whole run.
- 03It checks its own draft for missing coverage and copied text, and redrafts before anyone sees it.
- 04A person reads the draft. They can approve, or type what to change and send it back around the loop.
- 05Only after approval does the draft go to the record. The write is recorded with who approved it.
- 06The agent tells the Orchestrator it finished. The note is a pointer to the record.
- 07The Orchestrator releases the next agent, which reads what was just written.
The model runs where the project allows it.
The planner picks cloud or local once, for the whole run. For restricted work the choice is made for you, and the code enforces it instead of a policy document.
Cloud model
- Stronger and faster
- Data leaves the machine
- Good for open projects
Local model
- Everything stays on the machine
- Smaller, so jobs are kept narrow
- Required for restricted work
- Checked before the run: reachable, installed, loaded
- Restricted runs: the operating system blocks everything except this machine
A finding goes back to the agent that owns it.
Compliance never talks to development. A launcher, either a person or the run script, reads the findings and sends each one to the agent that wrote the item. Everything downstream of that agent reruns.
The team that builds it cannot talk to the team that checks it.
In a real project, QA is not supposed to be friends with the person whose work they are auditing. The code enforces that. Try breaking it.
Development team
intakeplannerreqdesigncoding + uttest proceduretest codeWrites to the record. Cannot see compliance findings.
Compliance team
checkertest adequacyqaReads the record. Writes findings to its own area. Uses no model, so nothing grades its own work.
Wall one is in the code: the teams cannot message each other or read each other's areas. Wall two is the operating system: the audit runs as its own process on a read-only copy of the record, with writes allowed only in its own folder and the network switched off. When it finishes, the real record is checked byte for byte. If anything changed, the audit is thrown away.
The gate opens only when the audit is clean and still matches the current record. Edit anything after the audit and it closes again until the audit is rerun. This is the same view the compliance team sees while a real audit runs.
Every requirement has to trace all the way down.
Requirement, design, code, test, and test procedure. If any link is missing, the audit says so. Break something and watch the verdict change. The requirements below are invented for the example.
| High-level requirement | Low-level | Code | Test case | Procedure |
|---|
One requirement, all the way down.
This is real output from a finished sample run, not a mock-up. A pilot asks for a mute button, and seven agents turn that one sentence into requirements, code and a test that proves the 500 millisecond limit. Every arrow is a link stored in the record, so the audit can walk it in both directions.
- 1Customer requestwritten by the intake agent
cr-5The system shall silence the gear warning tone when the pilot operates the gear warning mute button.
- 2System requirementwritten by the planner agent
sr-5traces to cr-5The software shall stop the gear warning tone output within 500 milliseconds of receiving an active gear warning mute discrete from the pilot control panel.
- 3High-level requirementwritten by the requirements agent
hlr-5traces to sr-5safetyverified by testThe software shall de-assert the gear warning tone output within 500 milliseconds of the gear warning mute discrete from the pilot control panel becoming active.
- 4Low-level requirementswritten by the design agent
llr-10llr-11both trace to hlr-5The gear acquisition module shall set the MUTE_ACTIVE flag in the 50 millisecond cycle in which the gear warning mute discrete from the pilot control panel reads active.
The warning tone module shall de-assert the gear warning tone output within 100 milliseconds of the MUTE_ACTIVE flag asserting.
- 5Source codewritten by the coding agent
warning_tone.ctagged llr-11/* LLR: llr-11 */ static bool warning_tone_mute_gate(bool tone, bool mute_active) { /* MUTE_ACTIVE overrides the hold and de-asserts the tone immediately. */ if (mute_active) { return false; } return tone; } - 6Test case and procedurewritten by the test procedure agent
tc-9tp-9trace to hlr-5Verify that with the gear warning tone output asserted and the gear warning mute discrete from the pilot control panel becoming active, the gear warning tone output is expected to de-assert within 500 milliseconds.
- 7Test codewritten by the test code agent
test_gear_warning_tone_mute_deassert.ctagged tc-9built and passed/* TC: tc-9 */ static void test_tc9_mute_deasserts_tone_within_500ms(void) { ... /* Pilot control panel mute discrete becomes active. */ g_mute_din = true; while (elapsed_ms < TC9_DEASSERT_LIMIT_MS) { gear_acquisition_task(); elapsed_ms += TC9_TICK_MS; ... if (!warning_tone_is_asserted(&w)) { deasserted = true; deassert_ms = elapsed_ms; break; } } CHECK(deasserted == true); CHECK(deassert_ms <= TC9_DEASSERT_LIMIT_MS); }
Text is copied word for word from the run's record on an invented landing gear brief. The two code panels are trimmed for length, nothing is reworded. If any link in this chain were missing, the checker would refuse the audit.
A passing test proves nothing until you break the code on purpose.
The verification agent makes small deliberate defects in a copy of the code, then checks whether the tests notice. Any defect the tests miss goes back to the test agent with the exact line. The counts here are illustrative.
int gear_warning(int alt_ft, int gear_down) { if (alt_ft < 500 && !gear_down) { return 1; /* warn */ } return 0; }
One mutation: change < to <=. A good test set fails at exactly 500 feet. A weak one never tries that value and the bug survives.
Publishing happens once, so every guard sits in front of it.
The certification platform has no update and no delete. Whatever is written stays written. So nothing goes in during the run. It goes in at the end, after the audit, and only if a person says yes.
Audit must be ready
Publishing refuses if the compliance team has any open failure.
Bound to what was audited
A content fingerprint, not a timestamp. Change one word after the audit and publish stops.
No stale records
If an upstream agent reran, every record downstream of it is flagged until it reruns too.
A person says yes
The plan lists every MCP call it will make. Nothing is sent until a human confirms.
Read it back
After writing, the same records are read from the platform and compared with what was sent.
A brief goes in. An audit-ready package comes out.
Every item is traced to the one above it, every draft was approved by a person, and the record says who and which model made it.
Requirements
Customer, system, and high-level requirements, one per behavior in the brief.
Design
Low-level requirements and short module descriptions, each tied to a requirement.
Source code
C code that builds, with unit tests, committed to git.
Verification
Test cases, test procedures, and results from running them against the real code.
Traceability matrix
Requirement to design to code to test, in one table, rebuilt on every audit.
Audit report
The verdict, every finding, and whether the project is ready for a human audit.
Provenance
Who approved each item, which model drafted it, and when, so auto-approvals are visible.
Publish plan
The exact list of platform calls the package would make, shown before anything is sent.
I came to this from testing the platform first.
Working on a certification platform for DO-178C and DO-254 projects meant finding where it fails before designing anything that writes into it. That is why the safety guards look the way they do.
Defects found and documented
UI behavior, data integrity, and access control issues in the platform, several critical enough to go straight to engineering.
Point documentation review
Reviewed the platform's own technical documentation against the same standards it supports, across traceability, source control, and test procedures.
Standards worked through
DO-178C and DO-330 training covering assurance levels, requirements traceability, and tool qualification.
Agent framework designed and built
The two-team workflow on this page, worked out with the engineering lead and built in Python with a regression suite that runs without calling a model.
Six things I would tell the next team.
A model should not grade its own work
The compliance team uses plain rules instead of a model. The same kind of mistake does not get checked by the same kind of mind.
Passing the audit is not the same as being good
The audit says the record is complete and traceable. Whether the requirements are right is a person's call, which is why the gate exists.
Pass pointers, not payloads
Agents hand off a note that says where the work is. The next agent reads the record, so there is one source of truth.
Design around what the platform cannot do
No update, no delete, and no document content writes. That one fact decided when and how publishing happens.
Test the checkers too
I broke the record on purpose, missing tests, orphaned links, stale downstream items, and confirmed the audit caught each one.
Small models need small jobs
Asking a small local model for one narrow addition and merging it in code beat asking it to rewrite everything.
What is not proven yet
- The full flow has run on sample briefs with a cloud model. The local-model path for restricted work still needs its own run.
- The agents' output is only as good as the requirements a person approves.
- Records written to the platform cannot be edited later, so rework has to finish before publishing.
What is done, and what is next.
Done
- Seven development agents and three compliance agents, run by a plain-code Orchestrator.
- Human gate at each agent, with feedback that reaches the redraft.
- Firewall between the teams, enforced in code and again by the operating system, so the audit cannot change the record it is checking.
- Audit gate, content fingerprint, stale-record check, and guarded publish with read-back.
- A publishing step that only runs after a clean audit: a document agent renders the design description and test report straight from the audited record (no model, so the documents cannot drift from it), and an importer writes and reads back.
- A test-strength check that can be switched from a warning to a hard stop, so a weak test set blocks the audit.
- Each development agent now sends back its own draft when links are missing or an id repeats, before a person has to look at it.
- A regression suite that runs without calling a model.
- Local-model safeguards: a readiness check that stops a run at once instead of quietly degrading, smaller jobs per call, per-agent model choice under the same restricted-work rules, a repair step that shows a model its own rejected code, a fixed memory window so long prompts are not silently cut, and a watchdog that only stops a run that has gone quiet.
- A first small slice written to a sandbox project and read back clean.
Proven so far
- Full runs on invented sample briefs, with a cloud model.
- Generated code builds and its tests pass.
- The audit catches deliberately broken records.
- A full end to end run on a second operating system (Windows, through WSL): audit ready, 8 of 8 requirements traced, 24 of 24 planted defects caught, publish gate held for a person.
Passing the audit means complete and traceable, not that the requirements are right. That judgment stays with the person at the gate.
Next
- A full run on a local model for restricted work, using the new safeguards (built and tested with stand-in models, not yet proven on a real local run).
- A full publish to a sandbox project, then read back.
- Attach the generated documents to the platform by hand, since it cannot accept document content yet.
- A trial on a real, non-sensitive project with an engineer reviewing every gate.
The words on this page, in plain English glossary
DO-178C
The standard that governs software in airborne systems. It asks for proof at every step: what the software must do, how it is built, and how it was tested.
High-level requirement
A statement of what the system must do, written so it can be tested. One per behavior in the customer brief.
Low-level requirement
A finer-grained statement of how a piece of the software will meet a high-level one. The code is written against these.
Traceability
An unbroken chain from a requirement, to its design, to its code, to the test that proves it. A gap anywhere is a finding.
MCP
Model Context Protocol, a standard way for an AI agent to use another system's tools. Here it is how agents read from and write to the platform.
Orchestrator
The plain-code controller that releases each agent when the one before it finishes. It uses no AI, so it behaves the same way every time.
Firewall
The rule that development and compliance never message each other. Only the shared record connects them, so QA stays independent.
Mutation check
Deliberately breaking a copy of the code to see whether the tests notice. A test that passes both ways is not proving anything.
Provenance
The record of who approved each item, which model drafted it, and when. It makes any auto-approval visible to the auditor.