Chris-o-O/mike-explor

Exploratory fork adding OpenRouter multi-model routing, Voyage AI legal-tuned semantic search, and a multi-tenant org/persona layer that injects firm and user context into every chat.

Small exploratory fork with two meaningful features. Active enough to ship 925-line and 1,420-line commits. No signs of continued development beyond this initial feature push. Worth evaluating for the OpenRouter adapter, semantic search pipeline, or persona injection pattern -- each can be extracted without adopting the whole fork.

View on GitHub →

Chris-o-O built two substantial features on top of the base willchen96/mike codebase. The first brings in OpenRouter as a third LLM provider (GPT-4o, Mistral Large, Llama 3.3 70B, Gemma 3 27B, others) using the OpenAI SDK pointed at the OpenRouter API, alongside a Voyage AI semantic search pipeline using voyage-law-2 1024-dimensional embeddings stored in pgvector. Documents are chunked and indexed fire-and-forget on upload; search is exposed as a chat tool and a project page widget.

The second feature adds a multi-tenant organization model with member roles, email-based invites, and a per-user persona (role, practice areas, jurisdictions, bar number, custom instructions) that gets prepended to every chat system prompt. Firm-level custom instructions in the org record apply to all members. The persona logic is isolated in persona.ts, making it portable.

Both features landed in a single PR merge.

What's in it

Direction

multi-tenantpersonasintegration

Activity

Themed changes and pull requests touching this fork, newest first. Themed changes that haven't been turned into a public post yet still appear — they're real work even without a published writeup.

Threads of work (detailed view)

4 threads have been distilled into posts.

Org layer and per-user persona injected into every chat system prompt

Chris-o-O added a multi-tenant organization model and a per-user persona that gets prepended to every chat and project-chat system prompt. The persona carries user role, practice areas, jurisdictions, bar number, a personal custom instruction field, and a firm-level custom instruction from the org -- making the assistant context-aware of who it's talking to.

OpenRouter adapter and Voyage AI semantic search added in one commit

Chris-o-O dropped OpenRouter multi-model support and a pgvector semantic search pipeline in a single 925-line commit. Each is gated by its own env var and follows the existing provider abstractions, so they can be adopted independently.

Pull requests (detailed view)

1 PR touch this fork — inbound (filed against it) or outbound (filed from it). State icons match the editorial dashboard.

✅ Merged (1)