amal66/mike
amal66 is reshaping Mike into a hardened, self-hostable platform for building jurisdiction-specific legal AI.
This fork, run by amal66, takes Mike and pushes it toward being a serious, deployable foundation for legal-tech work rather than a demo. The bulk of the effort goes into reliability, security, and making the thing safe to run in production: input limits, server-enforced usage quotas, defenses against documents trying to manipulate the AI, file vetting by actual content, and logs that deliberately forget who touched what.
The other half of the story is extensibility. amal66 reworks Mike so you can swap in your own AI models or storage, bolt on jurisdiction-specific legal sources through a plugin system, and pack up reusable legal workflows as files that travel between setups. There's a Python toolkit for developers and a one-command local setup, so this is clearly aimed at people who want to build on Mike, not just use it.
It reads as a deliberate, engineering-led fork: heavy on testing, CI, and self-hosting groundwork, and honest about what it has parked for later. If you care about running legal AI on your own terms - your models, your jurisdiction, your servers - it's worth a click through to GitHub.
What's in it
- Bring-your-own engine Swap in your own AI models or file storage as a contained job, instead of being locked to one provider.
- Jurisdiction plugins A plugin system for bolting local, jurisdiction-specific legal sources onto Mike without rewiring the core.
- Portable legal workflows Reusable legal know-how packs up into shareable files that move between Mike setups, no database required.
- Production-grade hardening Prompt-injection defenses, real file vetting, server-side usage limits, and security headers aimed at real deployment.
- Privacy-minded logging User and document identifiers are pulled out of the logs and activity records are treated as sensitive data.
- Self-hosting on day one A one-command local setup and a Python developer toolkit make Mike something you can stand up and build on yourself.
Direction
infrastructuresecurityintegration
Activity
Show 1 more
Threads of work (detailed view)
amal66 turns Mike into a bring-your-own-engine platform
The fork rebuilds how Mike connects to AI models and file storage so swapping either one becomes a small, contained job instead of open-heart surgery.
amal66 hands Python developers a front door into Mike
A ready-made toolkit lets engineers plug into Mike's features without wrestling with the plumbing underneath.
amal66 turns Mike into a kit for jurisdiction-specific legal AI
A new plugin system lets you bolt local legal sources onto Mike without rewiring the core.
amal66 closes the books by hardening the plumbing - and admitting what it can't
The final stretch of amal66's fork tightens reliability and self-hosting while openly parking the credential-heavy work for later.
amal66 puts Mike's riskiest parts under test
This fork is treating an automated test suite as a shippable feature, not an afterthought.
amal66 puts a fence around documents the AI can't trust
A defense against documents that try to hijack the AI by smuggling instructions into their own text.
amal66 puts a real lock on the meter
Per-user message limits now get enforced on the server before any expensive AI call fires - not just shown in the interface.
amal66 lets legal workflows pack up and travel
A fork owner is turning reusable legal know-how into shareable files that move between Mike setups without touching a database.
amal66 puts the database under lock and key
Three changes that make amal66's fork harder to misuse and harder to corrupt - work borrowed straight from the upstream project.
amal66 is teaching Mike's AI calls to fail gracefully
Two changes stop a flaky AI provider from freezing the app or surfacing errors that didn't need to surface.
amal66 makes Mike something you can run on your own servers
A new one-command setup lets anyone stand up Mike's full web-and-API stack locally instead of wiring it together by hand.
amal66 stops its legal logs from remembering who touched what
A cleanup pass pulls user and document identifiers out of this fork's logs and treats activity records as sensitive data, not debugging exhaust.
amal66 makes Mike check what files actually are, not what they claim to be
Uploaded documents now get vetted by their real content, so a renamed or mislabelled file can't sneak past as something it isn't.
amal66 hardens how Mike guards stored keys and download links
A trio of security fixes pulled from upstream that make secret handling sturdier without breaking anything already in place.
amal66 puts guardrails on how much Mike will swallow and serve
A reliability pass that caps oversized requests, paginates long chat histories, and makes crashes leave a trail.
amal66 puts a ceiling on what the app will swallow
A round of plumbing work caps how much a single request can demand and keeps the system standing when something goes wrong.
amal66 closes a door that let users read each other's data
A fork tightens who can open structured documents - and fixes a bug that several Mike forks all hit independently.
amal66 is getting Mike ready for real deployment
A quiet but practical round of hardening aimed at running Mike in production rather than on a laptop.