Systems tooling, AI machinery, and personal software.
I build software I depend on daily: compiled engines in modern C++, resilient infrastructure for autonomous AI agents, and local-first utilities. Everything here is developed for clarity, kept close to the metal, and hosted on my own hardware.
Crafting tools from the ground up
I am a software engineer and self-hosting enthusiast with a focus on systems programming, deterministic tooling, and high-performance engines. I believe that personal computing works best when software is predictable, self-contained, and respectful of the user's machines.
My primary passion lies in modern C++ (C++17/20)—authoring state machine compilers, JSON AST engines, and deterministic CI test gates where speed, memory safety, and strict invariants matter. Alongside systems work, I design and run autonomous multi-agent infrastructure (powering round-the-clock telemetry, media automation, and fleet operations across Debian, Raspberry Pi, and Fedora).
I distribute my own software across my fleet using self-hosted package repositories at pehkonen.dev, complete with compiled man pages and cryptographic signatures.
-
A finite-state-machine engine driven by a human-readable textual grammar. Compiles textual state definitions directly into optimized C++ lookup tables and runtime transitions, with both shared and multi-threaded runtime variants.
-
A high-performance CLI utility that packages source trees, directory structures, and file contents into clean, structured single-file artifacts for code reviews and LLM agent context.
-
A high-speed JSON processor and C++ abstract syntax tree implementation supporting RFC 6901 JSON Pointers. Ships as a standalone CLI tool and static developer library.
-
A zero-dependency local CI gate engine. Runs per-repository
gate.tomlspecs to enforce tests, static analysis, and code quality before commits leave your workstation, with graph visualization outputs. -
A sandboxed, JSON-native data transformation engine. Implements a Lisp-like functional language expressed entirely within JSON structures for safe, verifiable data pipelines.
-
A parser-agnostic, structure-aware JSON fuzzer that validates parser compliance against algebraic fixed-point laws, round-trip fidelity, and edge-case boundaries.
-
A personal, self-hosted replacement for cloud note platforms. Built with Deno, Oak, and PostgreSQL with hybrid full-text/tag search, accompanied by a fast, stdlib-only terminal client (
notes-cli). -
Curated thematic playlists and character-arc navigation for Star Trek: The Next Generation, powered by vector embeddings and semantic dialogue search.
-
An open, ground-up guide documenting real-world autonomous AI agent architecture—memory tiering, specialized skills, multi-profile routing, and Kanban operations—with all the practical lessons left in.
Personal Package Repositories
I package and distribute my software for my own Debian, Raspberry Pi, and Fedora machines. Every package includes a compiled man page and is signed with my Ed25519 repository key (repo.asc).
curl -fsSL https://pehkonen.dev/repo.asc | sudo tee /etc/apt/keyrings/pehkonen.dev.asc >/dev/null
echo "deb [signed-by=/etc/apt/keyrings/pehkonen.dev.asc] https://apt.pehkonen.dev trixie main" \
| sudo tee /etc/apt/sources.list.d/pehkonen.dev.list
sudo apt update
sudo dnf config-manager addrepo --from-repofile=https://rpm.pehkonen.dev/fedora/pehkonen.repo
Browse all available packages and architectures →
Hardware Price Tracker
A scheduled job on my own hardware prices Raspberry Pi 5 / Pi 4 boards, DDR4/DDR5 memory kits and 1 TB upgrade SSDs once a week, records the listings in a local SQLite database, and redraws the comparison graphs in Canadian dollars. The published page is just that run's output.
See the latest Raspberry Pi, RAM and SSD prices →