Step 4 of 4 · Learn to buildWritten for fiscalists, not engineers

Your judgement is the scarce part. Learn to make it run.

Four short tracks on how open engines, agents and protocols work, taught with real open projects and real statute. No code to write before lesson five of any track. Every lesson ends with something you can check against the law.

  1. Plain language first. A term is defined before it is used.
  2. Every lesson uses a real open project, never a mock-up.
  3. Every tax claim cites its article. Every AI output gets a second pair of eyes.
  4. Nothing here is tax advice. It is how to build the tools that carry yours.
01 — Start where you sit

Pick your role. Get a route.

The tracks are short enough to take all four. The order that pays off first depends on what you do all day.

Route for In-house tax team

Evidence first, then the rules, then the agents.

You will approve what your team and your suppliers build, and answer the auditor about it. Start with what to demand from any AI output, then learn enough rules as code to read what gets built, then write one skill for your own work.

In this order
  1. Evidence and review~1.5 hours
  2. Rules as code~2 hours
  3. Agents and skills~2.5 hours
First lesson: The four-eyes rule for AI output
Gaps this route leads to
02 — First, the words

16 terms, in tax terms.

The words used across the site, each explained once, with a real project you can open. Read these before any track.

03 — The tracks

Four tracks. Twenty lessons.

Each track is an afternoon. Lessons are listed as outlines while they are being written; the "try it" box in each track works today, with projects from the list.

01

Rules as code

Foundationsabout 2 hours5 lessons

After this you can · read a rule written as code, say what it computes, and spot where it drifts from the article it claims to implement.

Gaps this helps with
  1. Why statute makes bad spreadsheets10 minoutline
  2. Reading an OpenFisca formula without knowing Python15 minoutline
  3. Catala: the law and the code, side by side15 minoutline
  4. Test, diff, review: what "open" changes for a fiscalist15 minoutline
  5. Exercise: score a rate change and check it against the act30 minoutline
Try it in 15 minutes

Open PolicyEngine UK, change one income-tax threshold, and read off what it does to a household. That is a reform scored in the open.

Open PolicyEngine UK
02

Agents and skills

Practitionerabout 2.5 hours5 lessons

After this you can · write a SKILL.md for one bounded tax task, with sources, checks and a stopping rule, and have a colleague run it.

  1. What an agent does, and what it must not10 minoutline
  2. Anatomy of a SKILL.md15 minoutline
  3. Your first skill: the EU reverse-charge check30 minoutline
  4. Sources, citations and refusal: the receipts rule15 minoutline
  5. Exercise: adapt an open skill to your own workpack30 minoutline
Try it in 15 minutes

Read the Israeli tax and VAT agent skills as documents, not as code. Look for the sources each one names and what it refuses to do.

Read tax-and-finance (Israel)
03

MCP and APIs

Practitionerabout 2 hours5 lessons

After this you can · explain to IT which tax sources an agent should reach through which tool, and read a tool list to see what an MCP server can and cannot do.

  1. APIs in one page: VIES as the example10 minoutline
  2. What an MCP server is, in tax terms15 minoutline
  3. Reading a tool list: what the agent is allowed to touch15 minoutline
  4. Connecting an agent to legislation and case law20 minoutline
  5. Exercise: validate 50 VAT numbers with an agent and keep the log30 minoutline
Try it in 15 minutes

Open the tool list of vies-mcp-server. One tool, one job, one input. Then open mcp-fiscal-brasil and count the tools. That difference is the whole lesson.

Open vies-mcp-server
04

Evidence and review

Foundationsabout 1.5 hours5 lessons

After this you can · ask a vendor or a colleague for the benchmark, the log and the citation before you accept an AI answer, and run the four-eyes check yourself.

Gaps this helps with
  1. Why benchmarks beat demos15 minoutline
  2. The four-eyes rule for AI output10 minoutline
  3. Logs, prompts and the audit trail your auditor will ask for15 minoutline
  4. Where the gaps are, and why that is your opening10 minoutline
  5. Exercise: review an agent-drafted VAT memo against the directive30 minoutline
Try it in 15 minutes

Read the TaxCalcBench results table. Find the gap between the best engine and the best model. That gap is why humans still sign.

Open TaxCalcBench
04 — Do it with open tools

5 jobs, done with what is on the list.

Each guide is a route to listed tools for one job: the steps at a high level, what to check before you rely on it, and the track to read next. They are not lessons, and nothing here is tax advice: a person decides.

Check a VAT number from an agent

An agent has a counterparty's VAT number and must confirm it is valid before applying the reverse charge.

  1. Check the syntax and checksum first, offline: python-stdnum validates and reformats VAT and company numbers for dozens of countries, with no network call.
  2. Then ask VIES: vatcomply is a self-hosted API that validates the number against VIES and returns JSON; valvat does the same from Ruby and can return the registered name and address.
  3. Give the agent the lookup as a tool: an MCP server for VIES exists (vies-mcp-server, last commit 2025), or wrap the API in a tool of your own and keep the answer, the timestamp and the consultation number as evidence.
Check before you rely on it
  • VIES answers only for EU numbers; a UK number needs HMRC's API, and valvat's UK lookup needs HMRC Developer Hub credentials.
  • VIES is sometimes down or rate-limited; a valid number is a fact about registration, not about the customer's status as a taxable person.
  • Whether the reverse charge applies is a person's decision; the lookup is the evidence it rests on.
Read next: 03 · MCP and APIs

Read official guidance as data

An adviser wants an agent to answer from the tax authority's own guidance and cite the paragraph.

  1. Load a corpus: the French BOFiP as a Hugging Face dataset (8,804 documents with type, validity date, legal identifier and permalink) or the ATO's rulings and guidance as typed CSV and JSON Lines.
  2. Index it for retrieval by document and keep the identifier and permalink with every chunk, so each answer can cite the document it came from.
  3. For EU law, EUR-Lex is the source: free to browse, with a web service for registered accounts; cite the CELEX number.
Check before you rely on it
  • A snapshot has a date: the BOFiP dataset is dated December 2023 and the ATO card warns documents change between captures.
  • Guidance is the authority's reading, not the law; the statute and case law decide.
  • Each answer should quote the paragraph it cites, so a person can check it in one click.
Read next: 04 · Evidence and review

File a UK corporation tax return from the command line

A small company's figures are final; the return, the accounts and the computation must reach HMRC as iXBRL.

  1. Put the figures in the tool's YAML file: it builds the CT600 return, FRS 105 micro-entity accounts and the tax computation as iXBRL in HMRC's GovTalk envelope.
  2. Submit to HMRC's test gateway first with HMRC's Local Test Service, then to the live gateway with the company's Government Gateway credentials.
  3. Keep the submission receipt and the generated iXBRL with the working papers.
Check before you rely on it
  • The README scopes the tool to micro-entities under FRS 105; a company outside that scope needs another route.
  • It needs Python 3.11, Java for the test service and gateway credentials; test before live, every year.
  • One person maintains it: read the code path for the boxes you rely on.
Read next: 03 · MCP and APIs

Draft a Master File and test the draft

A group needs a first draft of its transfer pricing Master File and a way to judge whether an AI tool drafted it well.

  1. Give an agent a skill that knows the OECD structure: the ledgerskills outline drafts a Local File skeleton with the FAR analysis, method choice and an information request; the CaseMark and everything-claude-finance skills cover intercompany transactions and the three-tier documentation.
  2. Draft from the group's own documents (agreements, accounts, the value chain) and never from the skill's examples.
  3. Test the tool before trusting it: the Legora case supplies a prompt, case documents and a rubric of 175 graded criteria for a Master File; run your tool on it and grade the output.
Check before you rely on it
  • Skills are text an agent follows, not code with tests; country thresholds inside them are statements for a specialist to confirm.
  • The Legora case mixes genuine filings with fictional documents; it tests drafting, not the group's facts.
  • A Master File is a legal document: a person signs it, and the draft is where the review starts.
Read next: 02 · Agents and skills

Run a tax policy simulation

Show what a rate or threshold change does to households and to revenue, with the rules in the open.

  1. Install the country package: policyengine-us or policyengine-uk (pip), or openfisca-france; each holds the rules as code with parameters and formulas.
  2. Describe a household or load the survey microdata, define the reform as a parameter change, and compute the outcomes before and after.
  3. Report the aggregate and distributional results with the package version and the parameter you changed, so the run can be repeated.
Check before you rely on it
  • PolicyEngine's READMEs say direct microsimulation through the packages is deprecated in favour of the managed policyengine.py bundle; results are estimates.
  • These are tax-benefit models for households; none models corporate provision or Pillar Two.
  • AGPL-3.0: a service built on them must publish its source.
Read next: 01 · Rules as code

Get each track the day it ships.

Lessons go out one track at a time, to the people who asked. No newsletter, no drip. Just the lessons.

Sign-up for the tracks is not open yet.

Teach one lesson.

Know one of these subjects from the inside? A lesson is 800 words and one worked example against real statute. We edit, you get the byline.

Propose a lesson
Back to step 1The mapWhere tax work happens and by whom: a tax department and a tax authority, team by team, with what is open for each activity.