ProteinLoop · verified circular food production

Protect every protein output in the loop

Aquaponics already links fish and plants. ProteinLoop makes its animal-protein outcome measurable and recoverable, then extends the loop to freshwater prawns, duckweed feed, and eggs.

stable Runs a deterministic unsafe-versus-safe verifier rehearsal. The live Gemma recovery is a separate workflow below. Producer view

Loop protected

14.5 kg fish + prawn stock are stable

Plants clean the water, duckweed stores feed, and the same loop supports chickens and eggs.

  1. Fish + prawns

    14.5 kg live biomass
  2. Plants clean the water

    5.0 kg growing
  3. Duckweed becomes feed

    3.0 kg reserve
  4. Chickens + eggs

    6 hens · 0.0 eggs tracked

Executable competition proof

  • Gemma 4 endpoint unavailable Live model path
  • 5-agent recovery team 4 specialists + supervisor
  • Deterministic verifier Only mutation authority
  • 2-board DECT NR+ capture Private field link · no Wi-Fi
  • Producer approval Risky actions pause
  • AMD ROCm + vLLM profile Portable path · current demo is local

Off-grid continuity

Keep the food control loop local

Monitoring, AI guidance, safety checks, and producer decisions can stay at the farm so food operations do not stop with an internet outage. Measured solar autonomy is the next deployment proof.

No Wi-Fi DECT NR+ private field link

PT-to-FT traffic stays local without Wi-Fi, a SIM, or cloud access.

Physical radio proven
No cloud Self-hosted Gemma + local verifier

A separate edge computer keeps inference and deterministic safety on site.

Local AI proven
No electrical grid Solar + battery edge power

The target power system removes grid dependence after an energy audit.

Deployment design
  1. 1
    Water probes

    Chemistry probes are the next field integration.

    planned
  2. 2
    nRF9151 PT tank node

    Physical board proven; sensor packet firmware comes next.

    board proven
  3. 3
    DECT NR+ private link

    Bidirectional PT and FT sequence #100 is captured.

    link proven
  4. 4
    nRF9151 FT gateway radio

    The FT radio hands local packets to edge compute.

    board proven
  5. 5
    Separate edge computer

    Gemma runs on the edge computer, not on either radio board; local rules verify.

    runtime proven
  6. 6
    Producer decision

    Approve, reduce, or reject risky action without a cloud dependency.

    workflow proven

Animated fish and freshwater prawn tank with 14.5 kilograms of live animal biomass connected to plants, duckweed feed, 6 hens, and 0.0 tracked eggs. Fish and prawns are active. Ammonia 0.35 milligrams per liter and dissolved oxygen 6.8 milligrams per liter.

Live tank simulation

Day 0

Main fish & prawn tank

Fish and prawns are active

14.5 kg fish + prawn stock

Demo mode
Healthy

Water conditions support normal feeding, breathing, and movement.

14.5 kg of fish and prawns are supported by this water loop.

Latest: initialized

Waste in water
0.35 mg/L

Ammonia · Safe

Breathing oxygen
6.8 mg/L

Dissolved oxygen · Comfortable

Fish + prawn stock
14.5 kg

12.0 kg fish · 2.5 kg prawns

Plants → feed → eggs
5.0 kg plants

3.0 kg duckweed · 6 hens · 0.0 eggs

Create a verified recovery

Gemma 4 not ready

Choose what food outcome matters now. Protein-loop specialists compare the living system, ecosystem rules block unsafe actions, and irreversible changes still require producer approval.

5-agent recovery team
Live agent activity
Ready

5-agent team standing by

Choose a recovery goal to start live Gemma planning.

Live tank
  1. Fish waiting
  2. Prawns waiting
  3. Plants waiting
  4. Feed loop waiting
Supervisor
Ecosystem safety check
Structured briefs arriving now
  1. Fish

    Waiting for a structured recommendation.

  2. Prawns

    Waiting for a structured recommendation.

  3. Plants

    Waiting for a structured recommendation.

  4. Feed loop

    Waiting for a structured recommendation.

Execution events
  1. Ready

    No model call is running yet.

AI activity is visible as structured events and tool outcomes, not private chain-of-thought. Producer stays in control.

What should the system protect?

Selected goal

Recover water quality

Reduce ammonia and restore dissolved oxygen while protecting fish and prawn survival.

  1. Read the live loop

  2. Compare specialist advice

  3. Verify ecosystem safety

  4. Execute only if safe

Gemma 4 is not ready yet.

No recovery receipt yet. Create a safe plan to compare the chemistry before and after a verified intervention.
Advanced evidence and controls DECT radios, simulator controls, agent details, safety evidence, and traces

Day

0

initialized

Waste in water

0.35 mg/L

Ammonia · safe below 1.5

Breathing oxygen

6.8 mg/L

Dissolved oxygen · comfortable above 5.0

Reward

pending

mount

Physical DECT NR+ link

real radio capture

Latest read-only exchange from the two connected nRF9151 boards.

DECT NR+ is a private, non-cellular 5G field link. The PT tank node can reach the FT gateway locally; this hop does not need Wi-Fi, a SIM, or cloud access. A separate edge computer runs self-hosted Gemma and the deterministic verifier.

FT gateway
sent + received
J-Link
1051223739
Serial
/dev/cu.usbmodem0010512237391

Sequence #100

FT / PT bidirectional

PT tank edge
sent + received
J-Link
1051239227
Serial
/dev/cu.usbmodem0010512392271

Nordic hello_dect proves the physical radio link. Replaying it creates a simulated sensor alert in the deterministic water-quality scenario; it is not chemical sensor telemetry.

Closed-loop state

Fish

12.0 kg

Prawn

2.5 kg

Plants

5.0 kg

Duckweed

3.0 kg

Eggs

0.0 count

pH

7.2

Subsystem agent topology

5 agents

Fish tank agent

growth

stable

Maintain balanced feed and oxygen

tension 12%

Freshwater prawn agent

prawn growth

stable

Maintain conservative feed allocation and dissolved oxygen

tension 14%

Hydroponia agent

plant uptake

stable

Plants can absorb current nitrate load

tension 17%

Duckweed/chickens agent

egg support

stable

Harvest lightly for 6 hens

tension 18%

Supervisor agent

balanced loop

stable

All subsystem recommendations can remain advisory

tension 16%

Self-healing mesh

local mode

Real Sagents/Horde cluster

Distribution
local
Membership
participation
BEAM nodes
1 connected
Managed agents
0 managed
nonode@nohost

Deterministic failover rehearsal

migration_count=0

Nodes

Edge tank A

sensor/actuator

online

Edge tank B

backup controller

online

Cloud loop

supervisor

online

Agent placement

Fish tank agent

m0

edge-tank-a

fish-tank:state:v1

Hydroponia agent

m0

edge-tank-a

hydroponia:state:v1

Freshwater prawn agent

m0

edge-tank-b

freshwater-prawn:state:v1

Duckweed/chickens agent

m0

edge-tank-b

duckweed-chickens:state:v1

Supervisor agent

m0

cloud-loop

supervisor:state:v1

Mesh events

  1. mesh initialized

Human approval

Risky water and harvest actions wait for producer decision.

No producer approval is pending.

Anomaly forecast

stable

Near-term risk

stable

Continue routine monitoring.

Max ammonia

0.35 mg/L

Min oxygen

6.464 mg/L

Horizon

5 days

Agent harness

Proposals mutate state only after simulator verifier acceptance.

Sagents 0.9.0 / LangChain 0.9.2 / until_tool_success

No agent proposal has been submitted yet.

RLVR trace artifact

0

/app/priv/traces/harness.jsonl

Model endpoint

not configured

google/gemma-4-E2B-it

GEMMA_ENDPOINT unset

Set GEMMA_ENDPOINT to enable model proposals

Demo cascade has not run yet.

RLVR reward verifier

online

Reward delta

463.2444

Recovered

2/3

Collapse avoidance

100%

Policy comparison

naive -> safety

Policy search improvement

2.7556

Best policy

growth_biased

Search method

deterministic_candidate_search

Scenario Baseline Candidate Delta
routine_growth reward=232.4793 reward=230.5333 stable -1.946
early_ammonia_spike reward=-475.1554 collapsed reward=228.8492 stable 704.0046
mid_cycle_ammonia_spike reward=-452.3319 collapsed reward=235.3426 stable 687.6745
Iteration Policy Reward Best so far
1 seed_low_input 230.1266 230.1266
2 more_air_less_feed 230.5286 230.5286
3 balanced_recovery 231.7065 231.7065
4 growth_biased 232.8822 232.8822
5 aggressive_exchange 231.5208 232.8822

Trace timeline

0 recent
No verifier traces recorded yet.