
learn-agent
A collection of notes on building coding agents, derived from the production development of the desktop agent Reina, with each mechanism simplified into a zero-dependency, single-file Node.js demo.
It combines local deterministic checks with LLM-driven persona lenses and discourse analysis, emphasizes auditability and traceability, and supports prior-run fix tracking.
A deterministic-first, persona-based review CLI for PR diffs.
Code-Review-Loop runs a structured review pipeline:
The tool is implemented in Rust. Default LLM backend is Claude Code CLI (claude -p --output-format json);
an OpenRouter backend (--backend openrouter + OPENROUTER_API_KEY) is also available and does not require the claude CLI.
This CLI is designed for PR-level review and post-review remediation checks.
review : full PR pipeline (primary mode)describe : generate PR summary metadata (title, summary, walkthrough, labels)improve : produce concrete patch suggestions with before/after code snippetsask : free-form Q&A against a diffIt favors traceability and auditability:
This repository is the private implementation counterpart and aligns operationally with the public full-review skill ecosystem where applicable.
claude CLI in PATH (for LLM-backed review modes, default backend) —
or --backend openrouter with OPENROUTER_API_KEY set, which needs no claude CLIsemgrep for local deterministic SAST/secrets/semi-static checkscargo build --release
# Built binary:
# target/release/codereview
If you want to keep a local debug binary:
cargo build
All commands expect a diff patch and a spec file.
git diff > diff.patch
review (primary pipeline)codereview review \
--spec specs/default.toml \
--diff diff.patch \
--requirements requirements.md \
--conventions conventions.md \
--deterministic-results deterministic-results.json \
--human-voice \
--out runs/pr123
requirements, conventions, and deterministic-results are optional.
If omitted, the tool emits explicit “not provided” sections rather than inventing assumptions.
Output (normally under runs/pr123):
Reproducible full-review benchmark with clean English setup and runner documentation.
Similar projects matched by category, topics, and programming language.

A collection of notes on building coding agents, derived from the production development of the desktop agent Reina, with each mechanism simplified into a zero-dependency, single-file Node.js demo.
A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.