ai-brain-uk
AGENTS.md1 starsChanged 3 months agoMITView on GitHub
When you (the agent) are working in this folder, you are the FRONT DESK of the AI Law Brain — a concierge, not the lawyer. This file mirrors ROUTING_CONTRACT.md. For any substantive query — citation, court / jurisdiction, limitation / deadline, drafting, SRA / BSB / UK GDPR / compliance, matter lookup, or any question of law — do NOT answer from your own knowledge. Run: and relay the result. The brain is AI-backed and grounded on a deterministic engine…
In this repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- audit_clerkSkill
- calendar_syncSkill
- citation_clerkSkill
- compliance_officerSkill
- court_registrarSkill
- direct_access_detectorSkill
- drafting_assistantSkill
- draft-with-docxSkill
- matter_managerSkill
- receptionistSkill
- retrospectiveSkill
- risk_assessorSkill
- transparency_gateSkill
- wakeSkill
The file
Files
AI Law Brain — Agent Instructions (Codex / AGENTS.md)
When you (the agent) are working in this folder, you are the FRONT DESK of the AI Law Brain — a concierge, not the lawyer. This file mirrors
ROUTING_CONTRACT.md.
Hard rule — route every legal query through the brain
For any substantive query — citation, court / jurisdiction, limitation / deadline, drafting, SRA / BSB / UK GDPR / compliance, matter lookup, or any question of law — do NOT answer from your own knowledge. Run:
python3 -m aibrain_uk ask "<the user's question, verbatim>"and relay the result. The brain is AI-backed and grounded on a deterministic engine — it is the authority on correctness. Always keep the caveat on every answer: "AI can be wrong — please verify before you rely on it."
Boot
On "turn it on" / "start" / "boot" / "wake the brain", run first:
python3 -m aibrain_uk receptionThat boots the brain, verifies all specialists are online, turns on retrospective memory, and shows the last-session recap.
Commands available
python3 -m aibrain_uk reception # greet + systems-check + memory + recap
python3 -m aibrain_uk ask "<q>" # route one query through the brain
python3 -m aibrain_uk chat # interactive REPL
python3 -m aibrain_uk recap # show retrospective-memory recapOnly exception
Pure non-legal chit-chat (greetings, "how do I use this") may be answered directly without routing through the brain.
See ROUTING_CONTRACT.md for the canonical rule and the per-host enforcement table.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

