dropthejase teaches Louis to look up the live law

The Louis assistant can now read current case law, legislation and regulator guidance straight off the web, instead of relying only on what it was trained on or the documents you hand it.

searchintegration

dropthejase gave the assistant a controlled web-browsing tool, locked to a short list of official sources - the EU courts and EUR-Lex, the British case-law archive BAILII, and UK regulators including the Information Commissioner's Office, the Financial Conduct Authority and Companies House. When you ask about a recent ruling or a piece of guidance, it can fetch the page and cite it with a link, rather than guessing from memory.

The approach is deliberately lightweight. An earlier version wired in a full managed browser; dropthejase ripped that out in favour of a simpler page-fetcher. The trade-offs are honest: it reads plain static pages only, can't log into anything, and trims very long documents. The trusted-source list can be updated without a redeploy.

So what Worth a look for anyone who wants a legal assistant that points to current, official sources - with limits clear enough that you know when to double-check it.

View this fork on GitHub →

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

Commits in this thread

4 commits from dropthejase/louis, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
9196cbc5 feat(browse-web): add web browsing tool with S3-backed domain allowlist Jason Lee 2026-05-15 ↗ GitHub
commit body
Adds browse_web tool to the main agent using fetch() + HTML stripping.
Domain allowlist loaded from admin S3 bucket (browse-allowlist.json) at
container startup, with hardcoded fallback if S3 unavailable.

Introduces AgentStack (shared admin config bucket + AgentCore Browser
resource) and wires ADMIN_BUCKET_NAME through ApiStack props, agentCoreRole
IAM policy, and deploy-agent.sh env vars.
5a568f43 feat: merge feature/web-search - browse_web tool with S3-backed domain allowlist Jason Lee 2026-05-15 ↗ GitHub
80ff0272 docs(readme): add Web Search to Additional Features Jason Lee 2026-05-15 ↗ GitHub
f6da49c2 feat(infra): remove AgentCore Browser infrastructure Jason Lee 2026-05-15 ↗ GitHub
CfnBrowserCustom, BrowserExecutionRole, BROWSER_ARN env var, and
AgentCoreBrowser IAM policy removed. browse_web tool (plain HTTP fetch
with S3-backed allowlist) is unaffected.

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-349.md from inside the repo you want the changes in.

⬇ Download capture-thread-349.md