How Law-Bunker works
Built on Fireworks AI
Law-Bunker has two goals. The first is to help people understand the law better: real court rulings with everyday facts, explained in plain English, in my own voice. The second is to learn how open-source models work by building a real tool on top of them. It is built with a lawyer in the loop: the models find the rulings and prepare the groundwork, and I read, explain and record every story myself, so nothing is published without me. Every model in the pipeline is open-source and runs on Fireworks AI, with one exception, marked *.
How it works
The work moves through ten steps. Each step has one job, takes in one fixed thing and hands on one fixed thing, so any step can be fixed, or have its model swapped, without disturbing the others.
-
Find machine
Skims court opinion feeds, court-record searches, local news and legal blogs for rulings worth explaining: an everyday fact pattern people grasp at once, a real court order, and a legal issue worth discussing. Mostly non-political. What counts as interesting isn't fixed — it shifts with the cases I pick each day and the feedback I give.
DeepSeek V4.1 Flash · low effortHands on: the likely cases
-
Locate the order machine
Tracks down the order itself — in CourtListener, on the court's own site, or by searching — fetches it from its permanent source and splits it into numbered pages, so every claim can be traced to a page.
No model for the fetching · DeepSeek V4.1 Flash, low effort, to match the right documentHands on: the order, page by page
-
Structure machine
Tags each ruling by topic and by dimensions of analysis, from a list that grows as we add stories, and pulls out the parties, the court, where the case stands, the holding and the key quotes, each with its page number, so every citation can be verified later.
DeepSeek V4.1 Flash · medium effortHands on: a structured record of the ruling
-
Prepare machine
Writes a teaching guide — the topics to cover and what to say about each: the hook, the legal question, the rule, what the court did and why, what happens next, the takeaway — with a page citation on every point. Code then checks that every cite and quote really sits on its page.
Kimi K3 · high effortHands on: a teaching guide with page cites
-
Review and select me
I review the proposed stories, their teaching guides and the orders side by side, pick one, and record a draft run-through in my own words.
No modelHands on: my draft recording
-
Revise and polish machine me
My draft is transcribed and polished in my style. A judge from a different model family reads the polished script against the ruling and a list of criteria, and flags anything that fails; it never rewrites. The polisher revises and the judge reads it again, until it passes. Then I accept or reject each change, one sentence at a time, and decide on any flag still open.
Whisper large-v3* · Kimi K3 · DeepSeek V4.1 Flash, high effort, as judgeHands on: a script that passes
-
Re-record and loop me
I re-record from the script. If a take doesn't land, the script goes back through step 6. When I'm satisfied, I release it for publication.
No modelHands on: my approved final recording
Steps 6 and 7 repeat until I'm satisfied: record, transcribe, polish, judge, record again.
-
Audio cleanup machine
The models decide what to cut; the home server does the sound. Using the transcript's word timings, a model marks flubs, false starts and dead air. Free audio tools on the home server then remove background noise, make the cuts and even out the loudness to podcast standard. My original is never changed. Neither Fireworks nor OpenRouter offers a model that cleans up sound, which is why this step is split that way.
Whisper large-v3* timings · DeepSeek V4.1 Flash · free audio toolsHands on: the cleaned recording
-
Transcript machine
A transcript of the final recording is generated, checked once more against the ruling and the script I approved, and published with the cleaned audio and a link to the ruling.
Whisper large-v3* · DeepSeek V4.1 FlashHands on: the story on this site
-
Learn machine me
Once a story is finished, Learn gathers every decision I made along the way — the cases I picked and passed over, the changes I accepted and rejected, the flags I upheld, what I said differently from the script — generalises them, and proposes them as rules and analytical principles. I accept, edit or reject each one. Nothing changes until I approve it, and every approved rule becomes a new, numbered version of the prompt, so any change can be undone.
Kimi K3 · high effortApproved rules go back to steps 1, 3, 4 and 6, so the next morning's picks, guides and scripts sound more like me.
* Whisper runs via OpenRouter because I needed audio inference.
How I use it
Preparation runs overnight. In the morning there are three prepared cases waiting, each with its teaching guide next to the ruling, and a short note on my phone with what's ready and what it cost.
- Pick. I read the teaching guides beside the rulings and choose the one worth telling.
- Draft. I record a draft from the guide, the way I'd explain it to a friend, into a synced folder. A small home server picks it up and matches it to the case by its name.
- Transcribe. Speech-to-text turns it into text. Filler — "um", false starts, repeated words — is removed by fixed rules, never by a model.
- Polish. I choose a full polish in my style, or a light clean-up that only fixes slips and keeps my order and my jokes. The changes are computed in code, one sentence at a time.
- Judge. A model from a different family reads my script against the ruling and flags anything that doesn't match — a wrong court name, say, or a holding stated backwards. It never rewrites: the polisher revises until the judge passes the script. Then I accept or reject each change and decide on any flag still open.
- Record the final. I re-record the finished script. When I'm happy with it I release it: the audio is cleaned up, its transcript gets one last check, and only then is it published.
- Review the lessons. After each finished story, the rules Learn proposes wait for me, each with the decisions it came from. I accept, edit or reject them.
Recording is a loop, not a single pass. If the judge turns up a problem or a take doesn't land, I record again and the script goes back through transcription, polish and judging — as many times as it takes. On real cases it has already gone round more than once.
How it improves my output
After every finished story, Learn looks at the decisions I made — including how the script I was given compares with what I actually said, sentence by sentence — and turns the differences into concrete rules with evidence. Those rules shape the next picks, guides and scripts — but only the ones I approve.
On the first real case, McCain v. Mary Mahoney's, the machine gave me 817 words and I said 821. Of its 43 sentences:
A few of the lessons it drew:
- No signposting. I cut every "That concludes Act One" and wove the transitions into the story instead.
- Short punchlines. "Seafood, fraud, and 29 tons of fish with falsified passports" survived; the wind-up before it did not.
- Plain-English glosses. "Denied him leave to amend as futile" became "did not give him permission to amend his complaint to change these allegations and perhaps continue his lawsuit."
- Name the court every time. For listeners, "the District Court said" beats "the court" with context they can't scroll back to.
Building it
I don't write code. Law-Bunker was built as a working partnership: I set the rules and made every editorial decision, and AI coding assistants turned them into the pipeline. A few principles held throughout:
- Lawyer in the loop. Nothing goes up without me. I pick every case, record every story in my own voice, accept or reject every suggested change, decide on every flag the judge raises, record the final myself, and approve every rule the pipeline learns. The models find, structure, prepare, polish and judge; they never publish.
- Steps with contracts. Each of the ten steps is built and tested alone against a fixed hand-off before the next is joined to it. A bad hand-off is rejected loudly.
- A stand-in for the lawyer. While it was being built, a small, cheap model played my part at every step marked "me", so the plumbing could be tested end to end without me. Its output is marked, never published, and never learned from.
- Simulated days. The machine steps are run over past dates, using only information available on each day, before anything runs live.
- Everything on the record. Every model call keeps its prompt, model, settings and cost. Any news article used to find a story is archived privately with a timestamp, as the fair-use record; its text never appears here.
- Hard spending caps on every paid service, checked before each call.
- Fireworks AI's own guidance as the standard — its recommended models for each kind of job, prompt caching (the ruling goes first, word for word, in every call about a case), and no features that store prompts or outputs.
What it costs to run
Running costs only, from the pipeline's own spending ledger as of 20 October 2026. The website itself runs on Cloudflare's free tier, and court records come from the free tier of CourtListener.
These figures are an example, not a track record. They come from a very small number of samples — a test run over two past days — so treat them as a rough guide. I'll update them as more data comes in.
An example month, by step
At the planned pace — three rulings prepared every day, one or two of them voiced (1.5 on average), and Learn running after each finished story — Law-Bunker would cost about $0.80 a day, or $24 a month.
| Step | Model | Basis | Per month |
|---|---|---|---|
| 1 · Find | DeepSeek V4.1 Flash | feeds screened in batches, about 4 calls a day | $0.82 |
| 2 · Locate the order | DeepSeek V4.1 Flash (matching only) | 3 cases a day; the fetching itself uses no model | $0.04 |
| 3 · Structure | DeepSeek V4.1 Flash | 3 rulings a day | $1.37 |
| 4 · Prepare | Kimi K3 | 3 teaching guides a day | $14.63 |
| 5 · Review and select | No model | me | $0.00 |
| 6 · Revise and polish | Whisper* · Kimi K3 · DeepSeek V4.1 Flash | 1.5 stories a day, two judge rounds each | $4.91 |
| 7 · Re-record and loop | No model | me; each extra round goes back through step 6 | $0.00 |
| 8 · Audio cleanup | DeepSeek V4.1 Flash · free tools on the home server | 1.5 recordings a day | $0.53 |
| 9 · Transcript | Whisper* · DeepSeek V4.1 Flash | 1.5 finals a day | $0.49 |
| 10 · Learn | Kimi K3 | 1.5 runs a day | $1.12 |
| Total | $23.89 | ||
* Whisper runs via OpenRouter because I needed audio inference.
Each step's figure comes from that test run of the ten-step version, with a stand-in model playing my part and one of my own recordings for the audio steps. A seven-minute recording is the basis for the audio figures.
Rulings that have to be bought from PACER are extra, and are bought by hand only when a story is worth it.
On the horizon
What's planned next. None of it exists yet.
Shorts
Each story as a 45–60 second vertical video.
Case tracker
Updates when a case we covered moves in court.
In the press
How the news covered each ruling — and what it got right or wrong.
Corrections & reader reports
A public log of every correction, and a way to report an error.
Suggest a case
Send in a ruling with a story worth telling.
Podcast feed
Every story in your podcast app, arriving on its own.
Browse by topic
Stories grouped by topic and dimension of analysis, with search across every transcript.
