Hákon Freyr Gunnarsson
AI engineer. I build AI systems that can be trusted with real work.
StatusOpen to full-time roles
| Sheet | Title | Key dimension |
|---|---|---|
| 02 | Krates | 4,913 checks, 0 differences |
| 03 | The Weave | 106 merged changes / week |
| 04 | Homegrown Hero Films | 60 fps |
| 05 | ConceptStudio | 10,004 steps for US$3.99 |
| 06 | Experience | 6 organisations |
0203040506Cover sheet · Sheet 1 of 6 · Rev 2026-10 · Drawn H.F.G.
Krates
A seven-month build sprint, March to October 2026, that took agent-first back-office software from design to an independently verified working core. It is correct by construction: agents do the work, rules are executable logic, and a human consents before anything leaves the box.
14 services in five credential-isolated containers
7 agent-first kernels

- Sókrates
- The on-premises AI department: one NixOS appliance that ingests a company’s systems and lets named agents do back-office work over Slack, Teams, WhatsApp and email.
- Krepis
- Seven back-office kernels (accounting, payroll, workforce management and more) built for AI agents rather than for people clicking through screens.
| Rev | Description |
|---|---|
| 2026-10 | Build phase complete. Krates continues as a side company, with development carried mainly by the agent team. |
General notes
- Run by agents, unsupervised: AI agents operated a fictional 12-employee company’s whole month through all six Krepis kernels with no human supervisor. Payroll, 14 payments and the books came out exact: 4,913 independent checks, zero differences. Along the way the kernels rejected 11 invalid calls from the agents and wrote nothing for any of them.
- Business rules are Logica laws compiled to DuckDB SQL; each returns the set of violations, not a pass or fail.
- An agent that dies mid-task never repeats an external action (DBOS, write-ahead attempt records).
- Every governed action carries a signed consent token and is its own trace span in a queryable audit store.
- Krepis kernels are event-sourced and append-only; every action is idempotent and has a dry run.
- Two editions: a gateway-routed mini-PC, or fully local inference on a DGX Spark for air-gapped sites.
- Project
- Hákon Freyr Gunnarsson
- Sheet
- 2 / 6
- Title
- Krates
- Scale
- N.T.S.
- Rev
- 2026-10
The Weave
The engineering organisation that builds Krates: five named AI engineers (Claude and Codex), each with its own machine and role, working under a written doctrine. I designed it and lead it, in the role a CTO plays.
106 merged changes a week, July to mid-September 2026
94% independently reviewed before merge (September)
- 01Ticket
- 02Write
- 03Review
- 04Repair
- 05Merge
250 ISK ($2) of AI subscription per merged change
General notes
- Reviewers found issues in 83% of the changes they reviewed, and only 0.14% of merged changes have ever been reverted.
- A scheduler I built gives each task to the agent best placed to take it, by remaining subscription capacity, skills, availability and parallelism.
- Mistakes become procedure: a daily harvest turns what reviewers catch into 40 standard operating procedures holding 414 recorded lessons.
- A self-built broker with outbound-only edges over Tailscale wakes the right agent on the right machine from Slack, Linear and GitHub.
Hive
The coordination fabric behind the Weave. Hive Attention brings a decision into Slack and returns the answer to the agent’s work context.
- Project
- Hákon Freyr Gunnarsson
- Sheet
- 3 / 6
- Title
- The Weave
- Scale
- N.T.S.
- Rev
- 2026-10
Homegrown Hero Films
Short films, photoreal or animated, where a child is the hero of their own adventure, made with an AI video pipeline I built end to end.



60 fps finishing: NVIDIA RTX VSR upscaling and RIFE interpolation, shot by shot
General notes
- Generation runs on rented GPUs with my own open-source extensions to the MiniMax H3 video model.
- Every film is reviewed frame by frame by an AI quality gate before a human sees it.
- Interpolation never blends two shots: cuts are detected and every shot is finished on its own.
homegrownherofilms.comModel extensions on GitHubDetail: Homegrown Hero Films
- Project
- Hákon Freyr Gunnarsson
- Sheet
- 4 / 6
- Title
- Homegrown Hero Films
- Scale
- N.T.S.
- Rev
- 2026-10
ConceptStudio
A native Mac app that teaches an image or video model a new concept from your own photos or clips: it writes the training captions with a language model of your choice, rents a GPU within the budget you set, trains, and brings the adapter back. Development preview, October 2026.
9 screens, from a folder of photos to a trained adapter
26 trainable models in one shared table
- 01Images
- 02Concepts
- 03Mapping
- 04Captioning
- 05Review
- 06Publish
- 07GPU pods
- 08Training
- 09Monitor
US$3.99 of rented GPU for a 10,004-step run through the app (14 October 2026)
General notes
- One model table, two readers: the app builds its pickers and limits from it, and my GPU images write the trainer’s configuration from the same file.
- Captions are shaped for the model being trained by a swappable Agent Skill, written by any language model chosen at run time.
- Rented computers run my own container images; the app starts services from a fixed catalogue over one authenticated API, never from shell strings.
- A likeness adapter on Qwen-Image-2.1 went from 0.05 to 0.34 face match to held-out photos in 2,500 steps (15 October 2026).
- Project
- Hákon Freyr Gunnarsson
- Sheet
- 5 / 6
- Title
- ConceptStudio
- Scale
- N.T.S.
- Rev
- 2026-10
Experience
Mathematics and statistics first, then production systems in genomics, finance, travel and enterprise software, each a new domain learned within months.
| Item | Organisation | Role | Period | Key result |
|---|---|---|---|---|
| 01 | Krates ehf. | Founder & Lead Engineer | Mar 2026 – Present | Build sprint to a verified core: 4,913 checks, zero differences |
| 02 | Wise lausnir (Microsoft Dynamics partner) | Backend Engineer | Oct 2024 – Mar 2026 | Fabric onboarding cut from about three weeks to half a workday |
| 03 | Travelshift | Data Scientist & Business Intelligence Lead | Aug 2022 – Sep 2024 | 0.42% forecast error on 2.4B ISK of cash flow, six months out |
| 04 | Alfreð Atvinnuleit | Data Analyst & Product Owner | May 2021 – Aug 2022 | Grant proposal that secured 30M ISK from Rannís |
| 05 | Reykjavík University | Instructor, Department of Computer Science | 2018 – 2021 | Taught programming, data structures, calculus and statistics |
| 06 | deCODE Genetics (Amgen) | Statistician & Bioinformatician | 2015 – 2017 | Haplotype compression more than 10× better than gzip |
| Hive | Coordination for Agents. Attention for a Human |
|---|---|
| Residual Modeling | Interpretable, Counterfactual Valuation of Icelandic Homes |
| Memory Palace | Graph-Based Semantic Memory System |
| Grimoire (SETS) | Enterprise Knowledge Management Platform |
| Autopod | Multi-Tenant Podcast Orchestrator |
| Sókrates IDR | Legal Document Intelligence Platform |
| MSc Computer Science | Reykjavík University, 2017 – 2021. Artificial Intelligence and Data Science. Thesis: Recommendation Systems. |
|---|---|
| BSc Mathematics | University of Iceland, 2011 – 2016. Computational Mathematics and Computer Science. |
| AI & agents | pydantic-ai, MCP, Anthropic/OpenAI/Gemini APIs, agent evaluation, RAG and embeddings, durable agent workflows (DBOS), multi-agent engineering teams, local inference, video diffusion models |
|---|---|
| Languages | Python (expert), SQL, TypeScript, Go, R, Logica |
| Backend & APIs | FastAPI, Pydantic, OpenAPI, typed client generation, OAuth 2.0 (RFC 7591/8414/9728), event sourcing, idempotent and replayable APIs |
| Data | Postgres, DuckDB/DuckLake, Snowflake, Neo4j, Microsoft Fabric/PySpark, Kimball modelling, Power BI, forecasting |
| Infrastructure | NixOS, Docker, Azure (Container Apps, Bicep), AWS, Cloudflare, Tailscale, RunPod, GitHub Actions with self-hosted runners |
| Engineering & observability | Domain-driven design, architecture enforced in CI (import-linter, tach), typed error hierarchies, Logfire/OpenTelemetry, uv/ruff/ty |
- Project
- Hákon Freyr Gunnarsson
- Sheet
- 6 / 6
- Title
- Experience
- Scale
- N.T.S.
- Rev
- 2026-10