Skip to content
View scotty595's full-sized avatar

Organizations

@rockt-io @sortd-io @DriftOS

Block or report scotty595

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
scotty595/README.md

Scotty 👋

Co-Founder & CTO @ Louvain

I build Louvain's knowledge core: a permission-aware, bi-temporal company knowledge graph, with hybrid retrieval and a verifying reader on top. It sits behind Louvain's product and its MCP server for AI agents.

Open source: louvain-ai/louvain-engine: permission-aware hybrid retrieval for enterprise AI, with a permission check in every query, from one command. Also claude-plugin and cursor-plugin.

Open models on 🤗 Hugging Face (Apache-2.0):


🧠 What's under the hood

Knowledge core

  • Bi-temporal knowledge graph. Every statement carries valid time (asOf) and transaction time (knownAt), so the graph can answer "what was true then" and "what did we know then" separately. Rollback covers statements, retractions, verdicts and pipeline runs.
  • Append-only statements with a single writer. Pipelines propose; one commit path validates declared writes against source spans and stamps provenance. Polarity, modality, certainty and time are first-class.
  • State as a fold. Current state is a per-viewer fold of admitted statements. Effects declare which events open and close which states; nothing is inferred implicitly.
  • Identity by identifiers or explicit decisions only. No merging on display names. same_as / different_from are recorded decisions with retraction.

Permissions

  • Zanzibar-style ReBAC on SpiceDB. The fence runs before every read: hidden evidence can't contribute a value, a count, a graph node or a trace stage.
  • Outbox → relay → projection. Permission changes are delivered durably, and the readable-set projection is narrowed inside the request's own transaction, so a revocation is in force when the request returns.

Retrieval and reading

  • Hybrid search. BM25 lexical plus dense vectors (pgvector), fused with Reciprocal Rank Fusion, then a cross-encoder rerank (rerank-4b-erb).
  • Embeddings. A fine-tuned Qwen3 embedder (embed-4b-erb, Matryoshka) served from Python sidecars, kept off the API's event loop, with a bulk lane for ingest.
  • A verifying reader. Every figure, date and name in an answer is checked sentence by sentence against the passage it came from; unsupported sentences are dropped or flagged. Arithmetic (totals, counts, breakdowns) is computed over the fenced fold, never by the model.
  • An agent loop with forced reads, answer modes and source arbitration, benchmarked on EnterpriseRAG-Bench with an LLM-judge harness.

Ingest and infrastructure

  • Connectors. Brokered OAuth across Google Workspace, Microsoft 365, Slack, Notion and more. Leased runners, cursors that advance only after acceptance, and source deletions propagated as withdrawals.
  • Queue. event_log is the source of truth and the broker only dispatches. A step ledger keyed on inputs and vocabulary, so work is never paid for twice. Per-credential spend caps and a model-call governor.
  • Runtime. TypeScript (strict) on Node, Postgres, SpiceDB, Python NLP sidecars, a Tauri desktop shell, Fly.io and Vercel. A self-hosted build and test pipeline.

🛠️ Stack

TypeScript (strict) • Node.js • Fastify • React • Next.js • Rust • Tauri • Python
PostgreSQL • pgvector • BM25 • SpiceDB (Zanzibar ReBAC) • pg-boss
Qwen3 (fine-tuned embed + rerank) • sentence-transformers • RRF • LLM evaluation harnesses
MCP • OAuth 2.1 / DCR • Fly.io • Vercel • Docker • Turborepo • Biome

💼 Previously

  • 🎯 CPO @ Lua AI (YC F25): agent runtime, memory and governance
  • 🌳 Founder @ DriftOS: conversation graph engine (patent-pending)
  • 📈 Acting Head of Product @ Antler: scaled Launch Academy to 10,000+ users
  • 🏛️ Product Manager @ Department of Justice, Queensland
  • 💻 Ex-IBM

📍 London · louvain.ai · louvain-engine · LinkedIn · scott@louvain.ai

Pinned Loading

  1. DriftOS/driftos-embed DriftOS/driftos-embed Public

    Lightweight semantic conversation routing engine. Embedding-based drift detection with sub-200ms latency, zero LLM API costs. Routes messages to branches, tracks topic shifts, extracts facts.

    TypeScript 1

  2. DriftOS/driftos-core DriftOS/driftos-core Public

    Conversation routing and context management for AI applications. Route messages to semantic branches, extract structured facts with provenance, and assemble optimized LLM context.

    TypeScript 5

  3. DriftOS/drift-client DriftOS/drift-client Public

    JavaScript SDK for driftos-core - conversation routing and context management

    TypeScript 2

  4. DriftOS/driftos-mcp-server DriftOS/driftos-mcp-server Public

    MCP server for conversational memory and semantic drift detection in AI agents.

    TypeScript 2

  5. DriftOS/fastify-starter DriftOS/fastify-starter Public template

    🚀 Production-ready Fastify starter with TypeScript, Prisma, Docker, Prometheus, Automated Grafana Dashboards, Authentication & DriftOS' Golden Orchestrator pattern. Includes CLI generator for insta…

    TypeScript 7 1

  6. lua-ai-global/governance lua-ai-global/governance Public

    Zero-dependency TypeScript SDK for AI agent governance: policy enforcement, injection detection, tamper-evident audit, and standards mapping (EU AI Act, OWASP, NIST, ISO 42001)

    TypeScript 27 5