Portfolio

Work

Three products that share one platform. Aard and MyOpenGov each publish a body of public knowledge, statistics and law, in a form that people, code and AI agents can use. Thylas builds on both.

Aard: embedding macroeconomic intelligence in agentic workflows

Live

What

Aard is a tool that embeds macroeconomic intelligence into agentic workflows.

Why

Macroeconomic and other official data are the evidence behind most economic and policy questions, but agentic tools typically work poorly with these primary data sources, and so resort to secondary citations, which are narrow and sometimes incorrect. This has happened because macroeconomic and official data lack a coherent, AI-native interface that enables discovery and reasoning over the data itself.

Example

A CFO may ask: "Identify the overseas suppliers in countries whose forecast macro and forex drivers may impact our bill of materials over the next 12 months."

Architecture

Global data sources are modelled as a graph, with nodes representing each dataset, its structure, its dimensions and the codes each dimension can take: about 6 million nodes in all. The website and gateway are hosted on Cloudflare, with replicated origin servers in Sydney and Paris for lower-latency responses and fallback. Each origin holds the whole catalogue.

Scroll sideways to see the whole diagram.

A request enters at the edge, crosses a private tunnel to the nearest origin, and comes back as a description and an exact source URL. The data itself comes from the agency.
  1. 1
    Two ways in. AI assistants connect over MCP (Claude, Copilot Studio and other clients). Code calls the REST API, described in OpenAPI 3.1. Sign-in is OAuth 2.1 with PKCE and dynamic client registration, or an API key.
  2. 2
    Gateway at the edge. A Cloudflare Worker checks who is calling, applies per-plan rate limits and monthly quotas, and records usage. It sends Oceania and East and South-East Asia to Sydney, and everyone else to Paris.
  3. 3
    A private, signed hop. The gateway signs the caller's identity with Ed25519 and reaches the origins only through encrypted tunnels. The origins have no open ports.
  4. 4
    Two complete origins. Sydney and Paris each run the MCP server with their own full copy of the catalogue: a Neo4j graph of about 6 million nodes describing every dataset, Postgres for labels, and Qdrant for search by meaning. Either can take all traffic while the other is updated.
  5. 5
    Harvest pipeline. A separate server collects each agency's SDMX structure files (dataflows, codelists, constraints). It holds back any release that failed, came back empty or shrank, and copies the rest to both origins. Raw snapshots are archived in object storage.
  6. 6
    The data stays with the publisher. Aard describes datasets and builds exact, checked query URLs. The caller downloads the figures from the agency, so they are always the publisher's current release, shown with its licence.
  7. 7
    Website. aard.ai, also a Cloudflare Worker, handles sign-up, API keys, billing through Paddle, and the documentation.

Status

Aard (Aard MCP) is live and runs autonomously at aard.ai and api.aard.ai, served from Sydney and Paris, with users from around the world. Aard is listed in the official MCP Registry and other MCP directories, and Microsoft Copilot Studio connects to it through standard OAuth discovery.

MyOpenGov: Australian law as a versioned, addressable dataset

Live since September 2026

Why

Government agencies are experiencing an increased volume of correspondence and requests resulting from the public's access to AI tools; however, these AI tools are poorly directed by the online presence of the agencies themselves, with websites out of date and not designed with AI in mind. In order to build a tool that understands when content is out of date (Thylas, below), we need a data asset that captures the meanings enshrined in Australian law. This data source has been created and made publicly available at myopengov.au. MyOpenGov makes the terms used in Australian law findable, citable and machine-readable.

Architecture

MyOpenGov uses a modular architecture that cleanly separates harvesting, processing and serving. Every defined term and provision has a permanent address. It is hosted on Cloudflare, with the semantic component supported by a hosted Qdrant vector database.

Scroll sideways to see the whole diagram.

Building (left) and serving (right) meet only at the versioned release. Every consumer, our own website included, builds from the same release.
  1. 1
    Publishers. The Federal Register of Legislation and the state and territory legislation sites.
  2. 2
    Source fetchers. Every request is throttled, made off-peak and time-limited. Each download is checksummed into a snapshot that is never changed, with durable copies in object storage.
  3. 3
    Vocabulary producer. Extracts defined terms and concepts, builds the taxonomy and concept schemes, gates quality, and keeps a registry of permanent addresses in PostgreSQL. The registry is backed up after every build to an encrypted offline drive and to object storage.
  4. 4
    Versioned release. A self-contained set of files (RDF, tables, addresses and test vectors) under a semantically versioned contract, with a manifest of checksums.
  5. 5
    Switching data safely. The pack builder turns a release into R2 packs and a new D1 database for that data version. New data loads beside the old, is checked on a preview, then takes 10% and finally all traffic. The previous version stays loaded for rollback.
  6. 6
    Vocabulary Worker. Has no public route. It answers the permanent address of every law, term and provision, point-in-time views and history, search, RDF and the data API.
  7. 7
    Site Worker. Serves myopengov.au: pages, security headers, rate limits, Markdown for AI agents, WorkOS sign-in and API keys. It reaches the vocabulary only through a private service binding.
  8. 8
    One release for everyone. Thylas and partners build from the same release, so every product sees the same addresses and wording.

Status

Live and free to use at myopengov.au since 26 September 2026; version 2.0 of the data contract has been live since 22 October 2026. It covers Commonwealth Acts and legislative and notifiable instruments, and state and territory sources are being added. Legislative text is published under CC BY 4.0 and derived data under CC BY-NC 4.0.

Thylas: website governance linked to law and official data

In development

Why

Government agencies are experiencing an increased volume of correspondence and requests resulting from the public's access to AI tools; however, these AI tools are poorly directed by the online presence of the agencies themselves, with websites out of date and not designed with AI in mind. Thylas has been built in response to these stated needs (it is not fully launched, as the tenders we anticipated have not yet been issued).

Government and regulated organisations run large public websites that must stay accurate, accessible and lawful, and that AI agents now read too. Site-quality tools check links and accessibility, but not whether a page still matches current law or the latest official figures. Thylas brings content governance and AI readiness to Australian government organisations, and shows what other tools cannot: the legal concepts each page uses and the official statistics it cites.

Architecture

Thylas crawls an organisation's public websites and assesses every page against published standards. The diagram shows the current staging system.

Scroll sideways to see the whole diagram.

Every Thylas service runs on Cloudflare; only vector search runs on a separate server. Legal and statistical knowledge comes from MyOpenGov and Aard.
  1. 1
    Web app. Content teams work through findings and reports in a React Router app on Workers. Sign-in is through WorkOS.
  2. 2
    API Worker. REST /v1 with an OpenAPI description, and an MCP endpoint with OAuth, so a customer's own tools and AI agents can run checks.
  3. 3
    Harvest Worker. One Durable Object per site holds its crawl state, a per-host gate keeps request rates polite, and each crawl run is a durable Workflow that resumes after a failure.
  4. 4
    Core Worker. Keeps each organisation's and each site's data in its own Durable Object. It runs the content assessments (accessibility, agent readiness, readability, duplication, freshness, broken links), matches concepts and serves search. Every finding cites the published standard it rests on.
  5. 5
    Page corpus. Captured pages are stored in R2 and only ever shown from a separate sandboxed domain, thylas.page, so captured scripts cannot reach the app.
  6. 6
    Legal concepts from MyOpenGov. Phrases on each page are matched, by position, to concepts and defined terms in Australian law. An organisation can see which pages a new bill or amendment touches.
  7. 7
    Official data from Aard. Statistics that a page cites are linked to their official source, checked for accuracy, and flagged when the publisher releases new figures.
  8. 8
    Vector search. Qdrant on a private server in Sydney, reached only through an authenticated tunnel.
  9. 9
    Notify Worker. Email alerts first; Microsoft Teams and Slack are planned.

Status

In development. The staging system runs the whole pipeline (crawling, assessments, legal concept matching and links to official data) against real public websites, behind Cloudflare Access. Next: the first government organisation.

Thylas grew out of Fresh, a proof of concept (called Current inside the app) that crawled one public government website in September 2026. The figures below come from that crawl. Its scores come from a simple rule-based check, and some labels, such as the date, the greeting and the agent confidence, are placeholders.

The Fresh proof of concept, labelled Current, showing its overview of humanrights.gov.au: 19,576 pages mapped with 1,080,752 internal links, 9,304 time-sensitive pages, 3,210 needing review, a review queue of flagged pages and a completed crawl.
The overview of one monitored website: pages mapped, time-sensitive pages, the review queue and the latest crawl.
Fresh's expanded page view for the Know your rights page: freshness risk 32 (Watch), the page address, the captured screenshot of the page and its captured text, with Mark verified and Propose update buttons.
The expanded view of one page: its freshness score, its address, the screenshot and text captured by the crawler, and actions to mark it verified or propose an update.

Side projects

Two projects built alongside the work, each in its own way: a conventional web application on a managed platform, and a learning app that runs entirely on one computer.

The Impact Target: helping teams improve performance

Pre-launch

Why

When working on a collaboration evaluating the ROI from EDI Standards in the tech industry (tedistandards.com; see my ROI calculator on that site), I discovered that the academic research on team performance had not been clearly tied to the research that underlies our understanding of motivation and behaviour in the workplace (and elsewhere).

Integrating these in a way that is useful for understanding and improving team performance has been an ongoing side interest since that time; this app is the fully functioning survey tool that will support launch once I've finalised the writing and synthesis.

The Impact Target brings that research into one model of team performance, 14 components across three levels from the team down to each member's motivation, and measures it with anonymous survey rounds.

Architecture

A Next.js application hosted on DigitalOcean, supported by a Postgres-compatible database on CockroachDB.

Scroll sideways to see the whole diagram.

Every request passes through one data access layer before it reaches the database. Scheduled work comes in through the same routes.
  1. 1
    Leads and admins sign in with WorkOS AuthKit to set up their organisation's structure, launch assessment rounds and read reports.
  2. 2
    Team members answer through a tokenised survey link, with no account to create.
  3. 3
    One authorisation boundary. Every read and write passes through the data access layer, which checks the caller's role. The edge proxy only redirects.
  4. 4
    Anonymity by design. Reports aggregate answers and suppress any group too small to keep its members anonymous.
  5. 5
    Field encryption. Sensitive fields are encrypted in the application with AES-256-GCM before they reach the database.
  6. 6
    Database and releases. CockroachDB Cloud through Prisma. DigitalOcean App Platform deploys each push to the main branch and applies migrations first; if one fails, the previous version keeps serving.
  7. 7
    Services. WorkOS for identity, Stripe for billing, Resend for email through an outbox (each message goes once even when a job retries), and OpenAI for written advice.
  8. 8
    Scheduled work. A Cloudflare cron Worker calls the app's protected scheduled routes every 15 minutes, hourly and daily, for example to launch assessment cycles that are due and to send digests.

Status

This is a 'Sunday evening' side project only, and still pre-launch with no deadlines. The application is built, functional and deployed at theimpacttarget.com, but is not yet open to teams. It is awaiting replacement of the AI-generated text with the actual research and synthesis.

Brain: notes that become a knowledge graph to study

In personal use

Why

AI has increased the volume and variety of content I consume. I personally need tools to help me crystallise and retain some of that knowledge, and this app is an early attempt to achieve that. Brain automatically turns notes and documents into knowledge that lasts: it places each new idea in one growing knowledge graph, connects it to what is already there, and quizzes its user on it with spaced repetition, general ideas before details.

Architecture

An LLM reads each note and pulls out its concepts; everything else runs on one computer, in one Node process with one SQLite file.

Scroll sideways to see the whole diagram.

Notes go in through the browser and Claude extracts their concepts. The graph and cards are rebuilt from what Claude returned, so they can change without another model call.
  1. 1
    Capture from anywhere. Notes are written on the desktop or on a phone, where the app installs on the home screen and reaches the computer over home Wi-Fi behind a token. Each note is saved at once and queued.
  2. 2
    Extraction by Claude. The server sends each note in turn to Claude through the Claude Code CLI, with the current catalogue of concepts. Claude returns the concepts, where each sits from broad to detailed, how they relate, and claims that can be checked. The result is validated against a schema and stored with the note.
  3. 3
    A graph rebuilt by replay. The knowledge graph and the cards are rebuilt from the stored extractions, so changing the rules never costs another model call. Each concept has one broader parent, and when a note covers a detail without its general context, the missing broader ideas are added. Cards (definitions, claims, kinds or parts, and how two ideas relate) keep stable IDs, so review history survives every rebuild.
  4. 4
    General ideas first. Study puts due reviews first and schedules them with FSRS spaced repetition. New cards go general first across all topics: every topic's top-level ideas before any detail. A map outlines the hierarchy, and "Study this branch" walks one topic in depth.
  5. 5
    Phone and desktop agree. Reviews go into a durable outbox in the browser and sync with the server's review log. Every device replays the same events through FSRS, so due dates match on every device.
  6. 6
    One process, one file. A single Node process serves the app and the API, and one SQLite file holds the notes, their extractions and the review log. It can be backed up while the app runs.

Status

A working version is in personal use, on desktop and phone. Unit tests cover the graph, the cards and the scheduling, and browser tests run in Chromium, Firefox and WebKit. Next: dropping in images, PDFs, audio and video as well as text notes.

Screens from the current version, filled with demo notes on how a bill becomes law in the Australian Parliament.

Brain's home screen: today's counts of due and new cards, a note about Question Time being typed, and recent notes tagged with their concepts.
Home: today's study counts, and a note being written.
The concept map: 34 concepts and 77 cards, with Australian government and politics at the top and the legislative process, bills and royal assent beneath it.
The concept map, most general ideas first.
A study card answered: what two conditions turn a bill into an Act, the answer, its source note, broader and narrower ideas, and four grade buttons.
A card mid-session: the answer, its source note and related ideas.
The concept page for Second reading: its place in the hierarchy, a definition from the notes, Study this branch, and related and builds-on links.
A concept page: definition, related ideas and what it builds on.
Brain on a phone: today's counts and a note being typed.
On a phone: writing a note.
Brain on a phone: an answered card about section 15AB of the Acts Interpretation Act, with four grade buttons.
On a phone: grading a card.