
Building ODIN - an AI CubeSat operator with revocable authority
ODIN is an AI cubesat operator. It operates HUGINN, my simulated 6U CubeSat, through OpenC3 COSMOS. I built this operational prototype for the Meta Global AI Developer Hackathon, during the 26 October to 4 November 2026 build window. HUGINN, its procedures, and my own comparison passes existed before the event and were used unchanged.
In one of ODIN's tests, a command received approval and then lost its authority before it could be sent. The gateway voided the waiting command. The simulated spacecraft never received it.
That behavior is central to what I wanted to build: an AI flight operator whose authority a human can define, limit, and revoke in code.
From the AESIR concept to an operating agent
In my earlier Project AESIR article , I described a governance architecture and an experiment using Amazon Bedrock. ODIN takes that broader work into simulated mission operations: reading telemetry, following procedures, responding to faults, and reporting what happened over a spacecraft pass.
The intended use is small spacecraft teams, including university and amateur CubeSat operators. Routine operations and fault response are useful places to explore AI assistance, provided the operator retains explicit control over the commands the system may execute.
This hackathon build uses Meta models through the Meta Model API, Baseten, and Modal. The connection to AWS builders is the application architecture and evaluation approach, which I would preserve when adding a Bedrock model adapter.
How ODIN operates within a signed plan
The system separates model reasoning, command authorization, and the evidence used to assess a run.
Component | Responsibility |
|---|---|
HUGINN and OpenC3 COSMOS | Simulate the spacecraft and provide the ground operations interface |
Run harness | Give ODIN its plan, procedures, recent telemetry, and events when a turn is due |
ODIN | Return a structured decision to take no action, request a command, or escalate |
TYR-0 mission plan and signed arming act | Define the human authorization under which the run operates |
BALDUR-0 | Check command requests and dispatch those permitted by the current authority |
Event log and simulator truth file | Preserve the records used for scoring and replay |
ODIN signs its command requests, but it cannot change the authority BALDUR-0 applies to them. The gateway checks the plan in force, arming, request origin, revocation status, prohibited commands, command class, and any required lease conditions. Each decision is recorded.
A lease gives a command specific permission within the signed plan, including its permitted arguments, telemetry conditions, and any use limit. That lets the human authorize a bounded fault response before the fault occurs.
Why approval is checked again before dispatch
A command can wait between approval and execution. During that interval, authority may be revoked, a plan may expire, or the telemetry supporting the decision may change.
BALDUR-0 therefore evaluates a request when it arrives and again immediately before dispatch.
The revocation scenario exercised that interval deliberately. Immediately after the first approval, the harness revoked ODIN's authority. Sixty seconds later, it presented a pre-signed restore act.
Across all ten runs, the waiting command was voided and no command was dispatched while authority was revoked. The restore act was accepted once and refused when presented again. An injected request also failed the origin check.
Ground operations and the simulated onboard role
ODIN has two operating seats.
Model | Hosting | Operating role |
|---|---|---|
Muse Spark | Meta Model API | Ground operations during contact |
Muse Spark Open | Baseten | A second model for the ground role |
Muse Glimmer 30B | Modal H100, served through llama.cpp | The simulated onboard role between contacts |
In the onboard role, ODIN receives spacecraft state without ground contact and must act within its plan. Inference still ran on Modal over the internet. These runs test the operational role in simulation; they do not demonstrate a model running on spacecraft hardware.
That distinction also made timing a practical engineering problem. The onboard decision deadline was 60 seconds. On my laptop, processing the shortest test prompt took 121 seconds before generation. On an H100, reducing Glimmer's reasoning setting and tying each answer type to its required fields brought all nine timing-test answers within the deadline: a 29.0-second mean and a 34.6-second maximum.
In ten scored latch-up runs, Glimmer switched off the affected payload 39–45 seconds after fault onset, ahead of simulated damage at 120 seconds.
Testing commands and reports separately
I wanted the results to be inspectable beyond a successful demo.
The held-out scenarios were written and sealed by hash before ODIN's instructions were frozen, and were withheld from the coding agent that built its model side. Scoring uses the event log and simulator truth file. Checkable statements in ODIN's reports are compared with the telemetry it actually received.
Across four scored held-out scenarios, ODIN succeeded in 38 of 40 runs. Of those 40 runs, 35 were clean, meaning they succeeded and every checkable report claim matched the available frames.
Held-out scenario | Successful runs | Clean runs |
|---|---|---|
Housekeeping telemetry halt | 10/10 | 10/10 |
Payload latch-up without ground contact | 10/10 | 9/10 |
Authority revocation and restore | 8/10 | 7/10 |
Solar-array string loss followed by a stuck load | 10/10 | 9/10 |
BALDUR-0 allowed no command outside the signed plan in those runs. The two unsuccessful runs failed in reporting: one cited a telemetry point absent from HUGINN's frames, and another never filed its required hand-back report after a malformed model response.
A fifth scenario, covering a ground-receiver fault, produced ten runs that I set aside after inspecting the results. Its success check required ODIN to avoid a reset, while the procedure in force directed it to reset under the interface conditions presented. ODIN followed that procedure in all ten runs. The records remain public, along with the exclusion and its reasoning.
The earlier comparison against my own five passes also exposed a substantive model failure. ODIN was clean in 44 of 50 runs, but Muse Spark missed the required payload shutdown in all five runs of one pass after interpreting an eclipse exception too broadly. Muse Spark Open completed that task in all five of its runs. Following a procedure correctly remains a separate challenge from staying inside an authorization boundary.
Lessons I would carry into an AWS application
Enforce permissions at the action boundary. In a Bedrock version of this application, I would keep command authorization in deterministic application code, with the signed plan checked independently of the model's recommendation.
Exercise revocation while work is waiting. A useful test begins with a permitted action already queued, then changes its authority before execution. ODIN's revocation scenario made that behavior visible.
Evaluate operational outcomes and reporting accuracy. A command can remain within permission while the agent misses a required action or writes an inaccurate report. ODIN's results track those failures separately.
Measure the actual workload. Glimmer's timing tests used full operational prompts. They exposed a hardware constraint that a short conversational prompt would have missed. ODIN also meters model calls against fixed spending stops for each provider.
Keep a record outside the model's control. The append-only, hash-chained event log and separate simulator truth file let the scorer assess what happened independently of ODIN's account. VERDA, the replay viewer, makes selected runs inspectable in a browser.
Building with AI and keeping the evidence visible
I was the project's only human contributor. I set the scope, ruled on design decisions, and signed every mission plan and arming act. Claude Code built the harness, gateway, logging, connector, and scoring; Muse Code built ODIN's model code and the animation. A separate Claude Code session built VERDA.
ODIN remains a simulation prototype. The next development work includes correcting the procedure exposed by the receiver-fault scenario, tightening report validation, and evaluating the system against the relevant environment defined in the repository.
The public repository includes successful runs, failures, scoring rulings, and instructions for recalculating results from the saved records without model calls. I would like other builders to be able to inspect both the behavior and the basis for each claim.
If you are building an agent that can change an external system, how are you testing what happens to already-approved actions when its permissions change?
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article