OpenPanda — second-largest contributor
Go · Preact · TypeScript · Python · SQLite
A self-hosted P2P mesh that dispatches work across agent CLIs and edge devices. 157 commits upstream — second only to the project author's 1,260.
| Module | Contribution |
|---|---|
| Windows sandbox | Native sandbox for agent-spawned processes; file writes that stay safe under concurrent readers |
| Fail-closed consent | Permission and sandbox gates that deny on ambiguity rather than fall through |
| Execution leases | Runtime leases enforcing a single owner per shared working tree; dead runs report their own cause |
| Web console | Verdict-first reporting, session rail, first-run tour, attachment picker |
Also authored the 44 KB technical defence document behind it — 15 chapters tracing a single request from intent classification through the task state machine to delivery.
open-aigc — local-first AI creation workbench
Tauri 2 · Rust · Vue 3 · TypeScript · SQLite
114k lines — 76k Rust, 38k Vue. Chat, image generation, an infinite canvas and a prompt library in one desktop app, with every generated file landing in a managed local asset store instead of an opaque cache.
- Hexagonal layout —
domain/application/ports/adapters/ipc— so provider adapters and SQLite repositories swap without touching the agent core - Asset writes go staging → SHA-256 verification → atomic commit, with a quarantine path when verification fails
- Long-running generations persist their state; a restart resumes instead of dropping the task
- The gate is real:
eslint --max-warnings 0,vue-tsc --noEmit, Vitest,cargo fmt --check,clippy -D warnings
wechat-red-packet-cv-helper — a 20× faster desktop vision loop
Python · OpenCV · dxcam · PyAutoGUI
| naive version | current | |
|---|---|---|
| one scan | 142 ms | 7 ms |
| frame capture | mss screenshot |
dxcam background grab, ~0.8 ms |
| idle polling rate | ~7 loops/s | ~139 loops/s |
Two-stage coarse-to-fine matching — a 1/3-downscale gate rejects empty frames before the full template match runs. Clicks are verified rather than fired and forgotten, and an explicit IDLE → OPENING → CLICKING → OPENED state machine prints its own per-stage latency breakdown.
MCU / SoC · C/C++ · RTOS · bare metal · HAL · KiCad
| Area | Detail |
|---|---|
| Drivers | Register-level through HAL: SPI displays, I²S digital microphones, GPIO actuators, UART, I²C sensor buses |
| Comms | CA-pinned TLS, chunked multipart upload, backoff reconnect, custom framed serial protocols |
| Real-time | Task priority partitioning, double-buffered audio queues, interrupt and DMA coordination |
| Reliability | Watchdog, power-loss recovery, layer-by-layer isolation of blank-screen and display-corruption faults |
| Hardware | Boards generated from parametric scripts rather than hand-drawn; FPC and half-hole processes; Gerber and drill export checked against fab limits before ordering |
Perception, decision and action closed on a physical device — not a simulation. The hard part is not the model call. It is making the loop survive a dropped hotspot, a power loss mid-task, and a display that fails without telling you why.
- Decisions are written down. Architecture decision records covering runtime, computer-use, model gateway, UI framework and the permission engine.
- Tests gate the merge. A full frontend and Rust gate on the desktop app; unit tests on the smaller tools.
- Security fails closed. Denied by default, approved from outside the agent, never by asking the model to behave.
- Hardening the agent-to-machine boundary: sandbox escape surfaces, lease expiry, how a denied consent should read in the transcript
- Extending the same runtime down to embedded devices, where the network is unreliable and the failure mode is physical

