Architect Labs says its AI agents designed a general-purpose CPU from scratch — compiler, ISA, microarchitecture, RTL, verification, layout. On interaction nets, Frostbite claims 4.59× performance per watt over a conventional in-order core across 25 workloads. All of it is still simulation, the comparison core is unnamed and simple, and software must be rewritten in a new language. Here's what the architecture actually is, and what the claims do and don't show.
The design of our Qwen3Guard guardrail for Open WebUI stands or falls with three measured findings — jailbreaks that only rate "Controversial", PII the model does not flag at all, and a 0.6 B verdict in two-thirds of a second on CPU. That part is written up elsewhere. This is the second half of the story: how the filter, its configuration and its updates deploy and re-deploy without anyone ever opening the admin panel — because paste-and-pray is exactly how guardrails start to rot.
Open WebUI stores filter functions as Python source in its SQLite database and loads them per request. The officially supported write path is the admin HTTP API. For GitOps that means the repo holds one file — qwen3guard_filter.py — and an installer that converges the instance onto it. Converges, not appends; the interesting part is the state machine.
The installer compares the SHA-256 of the live content field against the repo file. Four outcomes:
POST /functions/create, then activate (and since v0.13 the first function of an instance auto-activates — check, don't assume);POST /functions/id/{id}/update with the full form;POST /functions/id/{id}/toggle (body-less);Valves are always set explicitly via POST /id/{id}/valves/update, so instance-level environment luck cannot silently change policy: block on Unsafe, block on Controversial + Jailbreak category, fail closed when the guard model is unreachable. Then a verification pass re-reads the function and asserts type, active flag, global flag and content hash. Run it twice; the second run must be a no-op. Run it after editing the filter; it must converge.
The deployment needed an API key before there was a human admin session. Open WebUI stores API keys in the same SQLite database (api_key table) and gates their use behind a config flag that ships off. The bootstrap is two writes inside the running pod — no restart, no downtime, WAL mode allows concurrent writers:
con = sqlite3.connect('/app/backend/data/webui.db', timeout=10)
uid = con.execute("SELECT id FROM user WHERE role='admin'").fetchone()[0]
con.execute("INSERT INTO api_key (id,user_id,key,data,expires_at,last_used_at,created_at,updated_at) VALUES (?,?,?,?,?,?,?,?)",
(str(uuid.uuid4()), uid, 'sk-'+secrets.token_hex(32), None, None, None, int(time.time()), int(time.time())))
con.execute("INSERT INTO config (key,value) VALUES ('auth.enable_api_keys','true') ON CONFLICT(key) DO UPDATE SET value=excluded.value")
One catch worth remembering: minimal container images strip your usual tools — no shell utils, no obvious python on PATH. We found the interpreter by enumerating /proc/*/cmdline and taking the running server's own binary. The token then lives in a Kubernetes secret; every later step (installer, check, CI) reads it from there. No key material in git, ever.
These are the API quirks we hit while converging, none of them documented:
Valves must be a nested class. The loader checks hasattr(function_module, "Valves") on the filter instance. A module-level class parses fine, stores fine — and is silently ignored at runtime, while /valves/* endpoints answer 401. The first version of our filter had exactly this bug: configuration looked applied and never was./valves/update takes a flat dict. Not {"valves": {…}}. Wrapped payloads half-work on some versions and return an empty dict on others.sha256(repo) == sha256(live) drifts forever. Normalize both sides explicitly.auth.enable_api_keys unset you get 403: Use of API key is not enabled in the environment — convincingly phrased like a permissions bug.Three artifacts close the loop: an L2 contract test (exists / type=filter / active / global / hash matches repo file — an exit code CI can gate on), a twelve-case matrix against the real guard model in-cluster (safe, unsafe by category, jailbreak variants, PII redaction), and unit checks for parsing and redaction that run without any network. Together they turn "the filter is probably still on" into a question with a machine answer. Six months from now, when the instance gets upgraded and the function cache goes cold, the CI check will be the one to notice — not a student complaining about unfiltered content.
The whole chain — model seed, token seed, installer, L2 check, matrix — is five scripts in the deployment repo and one command on top. If you run Open WebUI for more than one person, the admin panel is a nice toy and the installer is the product.