I build with agents, and for them.
Applications where agents do useful work, and the tools, context and model routing that make the work dependable. Grounded in Python and backend work, and carried through TypeScript into interfaces, integrations and complete systems.
Agents widen what one person can build. I keep the judgment about what is worth building and check that it works.
- Backend
- API
- Frontend
- Database
- Auth
- Background jobs
- Agent setup
Agent-Native Approach
Trying widely, narrowing by judgment
Frontier models now do what no person can, most of all where an answer can be checked. OpenAI published more than 700 results on open maths problems at once, the Riemann Hypothesis was proved with Claude, and Moderna's AI-designed mRNA cancer vaccine passed its phase 3 trial. Models outperform the best specialists in security, reverse engineering, 3D and biology. Yet on simple things that nothing can check, they rarely land the first time: they misjudge what to build, build more than asked, call work done too early and nudge a label out of line, often without noticing.
What stays human is taste, judgment and knowing enough to guide the work. It took a mathematician to prove the Riemann Hypothesis with Claude. AI can judge a result, but not whether it's what I want, which is rarely clear at the start. Unlike a painter, I don't start from a finished picture, but seeing versions shows which is better and closer to where it should go, and each one makes the next call clearer. So AI and a person do more together than either alone, and the work goes round the loops below, rarely in order, with something always trimmed before it's done.
What AI enables
Agents implement most of the work, from a throwaway script to a whole frontend. They bring the specialist knowledge and the maths that turn a rough idea into something concrete, and they take on the groundwork people once did by hand: SQL and schemas, strings and paths, preprocessing and scraping, even a whole ETL step pieced together from context. Because a try costs little, they build several versions of a prompt, a method or a page, so choices are made on real results.
What enables AI
Each piece of work gets a purpose, and a context designed with the agents: the references, the frame, and the instructions and skills every agent starts from. Checks cover structure as closely as behaviour, how the code is organised as well as whether it runs. Agents walk me through what they build, so I understand the projects deeply where it matters without becoming the bottleneck. That makes a mistake easy to trace to its source, and a problem easy to reframe when an agent is stuck. Whatever was overdone is cut: old branches, redundant tests, caches and scripts.
Agentic Engineering
Instructions, skills, hooks, tools and schemas for agents
How I shape what agents do, in three forms. Prose they read: instructions and skills, synced across five harnesses and tuned in an ongoing loop, like reinforcement learning on the setup rather than the weights. Code that sets their workflow and context: tools whose inputs and outputs are designed to imply how an agent should work, and hooks. Schemas that fix the shape of an answer, from judges' scores to results passed between graph steps. My own agents run as tool loops or workflows.
Move across the score, tap a step, or use the arrow keys.
The tools, their rules and the themes on the loop are real; the PDF pages and the Token Saver session are invented for illustration.
Legal Document Extraction
From deterministic workflow to autonomous agents
It turns scanned legal PDFs into exact tables, ready for RAG: liability clauses from tenders, each paired with the mitigation that governs it. Each step gets only as much autonomy as it needs: code where rules suffice, a model call where reading takes judgment, and an agent only for repairs no one can list in advance. The model never writes a clause's words: it names the first and last lines, and code copies what lies between. Each line is named by Hashline, a line number and short hash adapted from the oh-my-pi coding agent. Clauses are matched to their mitigations half on shared wording and half on embedding similarity.
Prepared Markdown from a sample tender
- 41#603d53## 12 Insurance and liability
- 42#3aebb8### 12.1 Public liability
- 43#38b700The Contractor shall maintain public liability insurance
- 44#8a6920against death, injury and damage to property arising
- 45#159a0cfrom the Works, for not less than the amount stated in
- 46#85b198the Contract Data, until completion of the Works.
- 47#bc6cd7### 12.2 Liquidated damages
- 48#729b35If the Works are not complete by the Completion Date,
- 49#49e8acthe Contractor shall pay the Employer the daily rate
- 50#83a52estated in the Contract Data.
Step 1, Read: A vision model, not OCR
One model call per three pages
A vision model, not OCR, reads the pages into Markdown, and every line is named by its number and a hash of its text: a Hashline reference.
- A row runs over the page break
- Running headers and page numbers
- An equation set as an image
- Text that is a screenshot
Splits the row at the page break, carries the page number and header into the table, garbles the equation and skips the screenshot.
One row, no page clutter, the equation in LaTeX and the screenshot read, with the PDF's own text layer checking the wording.
Hashline
44#8a6920:against death, injury and damage to property arising
- Line 44 still has 8a6920: used
- Moved up to three lines, one match: used
- Otherwise refused
Repair and Clean edit by it, Point marks lines with it, and Copy checks it.
Step 2, Repair: The agent picks its tools
Agent loop, OpenAI Agents SDK
One agent mends joins between page batches, like the one at line 44, and marks the sections for code to cut apart. It edits by Hashline, not apply_patch, so weaker and differently trained models stay reliable.
apply_patch retypes the lines to find themRetypes the old lines to find them; one slip and nothing matches.
Hashline names the lines it readNames the lines by number and hash and writes only the new one; a changed line is refused.
It began as a fixed LangGraph workflow of fix and review steps; repairs can't be listed in advance, so it became an agent.
Step 3, Point: The model marks the lines
One model call, structured output
The model returns only where each clause starts and ends, as two Hashline references; its schema has no field for the words.
- tender_doc
- General conditions
- clause_header
- 12.1 Public liability
- start_ref
- 43#38b700
- end_ref
- 46#85b198
Step 4, Copy: Code copies the words
Code
Code checks both hashes, then copies the lines between them word for word; a stale reference copies nothing.
- clause_content
- The Contractor shall maintain public liability insurance against death, injury and damage to property arising from the Works, for not less than the amount stated in the Contract Data, until completion of the Works.
- 43#38b700 matches line 43
- 46#85b198 matches line 46
Step 5, Match: Wording and meaning
Code and one embeddings call
Every mitigation header is scored against the clause's header, half on wording and half on meaning; the best pairs only at 0.5 or above.
12.1 Public liability
12.2 Liquidated damages
- Lexical
- Best of character match, word overlap and containment; when both headers have section numbers, those count for half.
- Embedding
- Cosine of Gemini embedding vectors: the same meaning in other words.
Liquidated damages stays empty: a gap a reviewer can see beats a confident guess.
Step 6, Clean: The same agent, on JSON
Agent loop, reading and editing only
The same agent tidies the JSON rows, removing slips like a heading marker left in a clause header; an edit that breaks the JSON is refused.
{
"clause_header": "### 12.1 Public liability" "12.1 Public liability",
"mitigation": "Public liability insurance",
"metadata": { "liability": {
"start_ref": "43#38b700",
"end_ref": "46#85b198"
} }
}Model Atlas
Comparing models on the benchmarks that matter
Index sites each mix strong and weak benchmarks, and their headline numbers get quoted as if they settled which model is best. Model Atlas collects only the strong ones, each admitted against written standards. It scores every model the same way and keeps four questions apart: intelligence, agentic reliability, speed and value. Speed and value weigh each task's time and cost against models of similar quality, so a model can't look efficient by doing less.
The benchmarks are the real portfolio; the sites, which benchmark comes from where, positions and tower heights are illustrative. The evidence card's models are invented; the efficiency card's are real but unnamed. The landing screen is a screenshot; the last two cards are live.
Vhrase
Paying for the model, not the app
A year of dictation
Regular use: about 8 minutes of speech in 100 dictations a day
- Wispr Flow Pro$15 × 12, models included
- $180
- Superwhisper Pro$8.49 × 12, models included
- $102
- VoiceInk Soloonce
- $25
- Vhrase
- $0
Plus models for VoiceInk or Vhrase
- Cloud, est.
- $24
- Open-source
- $0
At list prices
Dictation apps such as Wispr Flow charge $12–15 a month. Wanting the models themselves, and control over how speech becomes text, I built Vhrase for the Mac menu bar. The AI parts are familiar ground; the Swift app around them is vibe-coded, in a language I don't know, and judged by how it behaves. Paying the providers directly costs about $2 a month for regular use, or nothing with open-source models on the Mac. Speaking and typing suit different thinking: typing is slower, for weighing each sentence; speaking is faster, for thinking a problem through aloud.



The screens are real, and the recording pill is my screenshot with its background removed by image generation. The Refine example is invented, with real kinds of fix; the Restyle sentence and its Rephrase are the app's, and the other two styles follow their instructions. Costs are estimated for regular use from a published 90-day dictation log at list prices, with an illustrative month-to-month shape; app prices come from the pricing pages of Wispr Flow, Superwhisper and VoiceInk.
LLM Evaluation
Scenarios, judges and criteria for LLM output
Evaluation has been part of my LLM work since the early days of advanced RAG. In one pipeline, a model labelled event descriptions to build a fine-tuning dataset for a large recommendation system. Code checked each label against the allowed list, a judge model rated it, and a poor label was corrected and checked again. More recently I built a coding agent for prompts: it edits a simple agent's prompts and skills, so people who don't code can tune that agent and every prompt follows one standard. Each revision is tested on the same scenarios, some with a simulated user, and a panel of judge models scores every answer; the results go to Langfuse.
Interface Design
UI without a frontend background
I am not a frontend designer, yet I have made many interfaces: agents write the code, through a workflow my instructions and skills set. A design starts from its subject and from references, open choices come back as options for me to pick from, such as image-generated concepts or a buffet of variants, and the defaults that give away an AI-generated page are avoided. The chosen direction is then built on one set of components and styles, refined without losing its character, and checked on the rendered screen, by the agent and by me.








Every screen is a real capture of one of my own projects, and the usage dashboard shows my own figures. The chat and data screens give their models made-up names, the extraction library holds the app's made-up sample documents, and Jevis plays its scripted rehearsal.
Tech Stack
The languages, frameworks and platforms I work with
Almost all of my work runs on OpenAI and Anthropic models, through Codex and Claude. I have been learning AI since university, starting from AI fundamentals and computer vision, then NLP and LLM, then LLM applications, with fine-tuning and ASR along the way.
Languages
PythonTypeScriptJavaScriptSQL
AI & Agents
OpenAI GPT / CodexAnthropic Claude / Claude CodeGoogle GeminiAgentic AIMulti-Agent SystemsLLM OrchestrationModel RoutingAgent Skills / Hooks / PluginsContext EngineeringTool CallingStructured OutputsRetrieval / RAGMCPFastMCPLangChainLangGraphOpenAI Agents SDKVercel AI SDKLLM EvaluationLLM-as-a-JudgeLangfuseOpenTelemetry
AI & ML
EmbeddingsASRWhisperOCRVLMsSynthetic DataFine-TuningHugging FacePyTorch
Data & Automation
PlaywrightWeb ScrapingBeautiful SoupSeleniumPyMuPDFPandasNumPyPolarsPySparkSQLitePostgreSQL
Application Engineering
PydanticZodFastAPIFastifyHonoREST APIsWebSocketsDockerReactViteNext.jsAstroChrome Extensions
Cloud & Platforms
VercelVercel AI GatewayGCPCloud RunVertex AICloud StorageBigQueryCloud SQLCloudflareCloudflare D1ConvexGitHub Actions


