Gustav Fredrikson
I build distributed systems, infrastructure, developer tooling and autonomous agents.
- Contact
Selected work

Independent research on stacking open guardrail models in front of an LLM. Two guards of the same kind add about half a layer, while a harm guard plus an injection classifier work like 2.4 independent layers. An adaptive attacker still gets past both.

A local Kubernetes lab for CKA practice. It builds real kubeadm clusters, breaks them on purpose and grades your repair by the state of the cluster.

Daily practice for Högskoleprovet, the Swedish university admissions test. Each session is built from your own mistakes and the subtests where you have the most points to gain.

My master's thesis at Uppsala University, written with Nordnet. It puts layers of safeguards around an LLM customer-service chatbot and measures what they add, using garak red-teaming benchmarks and scripted customer conversations.
Notes
All notes →My training plan is eventually consistent
What endurance training taught me about desired state, stale data, reconciliation and human overrides.
Not every model call needs to be an agent turn
How a small typed decision model gates my five-minute coach poll, what it is not allowed to decide, and how it earns the right to suppress a wake.
Guarding state-changing MCP tools with preview, apply and undo
How I let an agent prepare changes to an external calendar without making every tool call a write, and what the design still leaves open.
Open source
Anubis
Found a false “cookies disabled” failure while opening my master’s thesis on DiVA; fixed it with a bounded server-side retry and regression tests.
garak
Added LangServe support with unit tests, so garak could red-team complete RAG applications rather than only their underlying models.
About
I'm a software engineer in Stockholm, currently at Irori.
My work and side projects are mostly distributed systems, platform engineering and AI systems. I'm most interested in systems that have to keep state, recover from failure and run with increasing autonomy.
I studied Engineering Physics at Uppsala University, where my master’s thesis looked at safeguarding LLM applications in financial services.