Lucian Schwartz-Croft rebuilds Mike into an EU-law assistant

EU-Mike narrows the tool to European legislation - and teaches it to stop guessing when you paste a loose citation.

chat-uii18n

Lucian Schwartz-Croft has rebranded this fork as EU-Mike, repointing the whole chat experience at a dedicated EU-law assistant and giving it European styling throughout.

The change worth noticing sits under the hood. Paste a loose, free-text reference to a piece of EU legislation and the old behaviour was unhelpful in two ways: the assistant would either invent the exact official document identifier or refuse to act until you supplied one. Now it makes its best guess, shows you which document it thinks you mean, and waits for a yes before pulling anything from the official EU law database. Type a precise identifier yourself and it skips straight ahead. The assistant also now answers in English by default rather than mirroring your language.

So what Anyone building a research assistant on top of Mike should look at the confirm-before-fetching pattern - it kills the hallucinate-or-refuse problem that plagues citation lookups.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

3 commits from lucianschw-dev/eumike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
840135db Frontend EU-Mike branding + tightened EU-law system prompt Lucian.schw 2026-05-17 ↗ GitHub
commit body
Frontend:
- New EuBanner component (real EU flag SVG with 12 five-pointed stars
  on EU blue, plus 'EU-Mike' name and 'Created by Lucian Schwartz-Croft'
  credit) mounted at the top of every authed page
- Primary color switched to EU blue (#003399) in light and dark themes
- mikeApi.ts streaming chat POST routed to /eu-law-chat so the new
  endpoint is actually exercised by the UI
- Browser tab title and OpenGraph metadata updated to 'EU-Mike'
- Old fixed-position footer removed (banner replaces it)

Backend:
- EU_LAW_SYSTEM_PROMPT_EXTRA tightened: when the user gives a free-text
  citation, the LLM must show its inferred CELEX/ECLI and get user
  confirmation before fetching. Explicit identifiers from the user
  still go straight through.
3d1289e9 Remove website link from README lucianschw-dev 2026-05-17 ↗ GitHub
Removed website link from the README.
ce6c70fe Rename project to EU-Mike and update README lucianschw-dev 2026-05-17 ↗ GitHub
Updated project description to reflect the new name and features of EU-Mike, including added EU law tools and integration with EUR-Lex.

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-467.md from inside the repo you want the changes in.

⬇ Download capture-thread-467.md