Skip to main content
MithunAI Resource Center • Deep Architectural & Customer Guide

Architectural Blueprints.Workflows & Customer Guide.

A comprehensive, transparent guide to how MithunAI works, what you do as a customer, and what our engine does behind the scenes.

Explore our end-to-end system topology, compile-time security invariants, syntax-aware AST ingestion pipelines, and honest abstention guarantees designed for technical buyers and non-technical stakeholders alike.

4 NativeUniversal Connectors
< 45msSemantic Cache Latency
100%Checkable Citations
Zero LeakCompile-Time Scope
Model Gateway
MithunAI Model Gateway

Unified high-throughput proxy with semantic caching, dynamic routing & token firewall.

Metric<18ms Gateway
Agent Studio
MithunAI Agent Studio

Visual graph orchestration for multi-agent loops, sandboxed tools & human verification.

MetricAutonomous Graphs
IDE Integration
Model Context Protocol (MCP)

Read-only context server for Claude Desktop, Cursor, and Windsurf IDEs.

Metric<18ms p99
Connector
Branch-Filtered GitHub Sync

Continuous git repository ingestion with branch patterns and glob filters.

MetricReal-time Webhook
Security Invariant
Cryptographic Tenant Scope

Compile-time OrganizationScope injection guarantees zero cross-tenant leakage.

MetricZero Leak
Knowledge Core
Syntax-Preserving AST Parser

Parses code trees, Markdown, and technical manuals without tearing scope.

MetricSHA-256 Verified
Reasoning Engine
Checkable Citations & Proofs

Every answer is constructed strictly from retrieved evidence with source anchors.

Metric99.8% Accuracy
Truth Guarantee
Honest Abstention (ADR 0010)

Deterministic refusal when evidence is absent, eliminating plausible hallucinations.

Metric100% Deterministic
Infrastructure
Air-Gapped Sovereign Cloud

Deploy on private AWS, GCP, or on-premises Kubernetes with zero telemetry.

MetricIsolated VPC
Performance
Sub-Second SSE Token Stream

Lightning-fast Server-Sent Events delivering token streams with minimal latency.

Metric18ms Gateway
Model Gateway
MithunAI Model Gateway

Unified high-throughput proxy with semantic caching, dynamic routing & token firewall.

Metric<18ms Gateway
Agent Studio
MithunAI Agent Studio

Visual graph orchestration for multi-agent loops, sandboxed tools & human verification.

MetricAutonomous Graphs
IDE Integration
Model Context Protocol (MCP)

Read-only context server for Claude Desktop, Cursor, and Windsurf IDEs.

Metric<18ms p99
Connector
Branch-Filtered GitHub Sync

Continuous git repository ingestion with branch patterns and glob filters.

MetricReal-time Webhook
Security Invariant
Cryptographic Tenant Scope

Compile-time OrganizationScope injection guarantees zero cross-tenant leakage.

MetricZero Leak
Knowledge Core
Syntax-Preserving AST Parser

Parses code trees, Markdown, and technical manuals without tearing scope.

MetricSHA-256 Verified
Reasoning Engine
Checkable Citations & Proofs

Every answer is constructed strictly from retrieved evidence with source anchors.

Metric99.8% Accuracy
Truth Guarantee
Honest Abstention (ADR 0010)

Deterministic refusal when evidence is absent, eliminating plausible hallucinations.

Metric100% Deterministic
Infrastructure
Air-Gapped Sovereign Cloud

Deploy on private AWS, GCP, or on-premises Kubernetes with zero telemetry.

MetricIsolated VPC
Performance
Sub-Second SSE Token Stream

Lightning-fast Server-Sent Events delivering token streams with minimal latency.

Metric18ms Gateway
Customer Journey • Zero Operational Complexity

What You Do vs. What MithunAI Does Deeply

You provide the knowledge and choose your channels. MithunAI handles the complex AST parsing, secret redaction, dense vector math, security guards, and citation verification automatically.

PHASE 01 // ONBOARDING

Knowledge Ingestion

Setting up your unified company documentation and repository index.

WHAT YOU DO:

Paste your GitHub repo URL or upload your PDFs and docs.

Takes under 60 seconds. No manual chunking, no embedding configuration, no infrastructure provisioning.

WHAT MITHUNAI DOES DEEPLY:

Syntax-aware AST parsing & pgvector HNSW indexing.

Tree-sitter extracts code structures, entropy scanners redact credentials, GatewayEmbedder generates vectors, and pgvector builds partition graphs.

PHASE 02 // CHANNELS

Deployment & IDE Setup

Making answers reachable to your engineers, support staff, and visitors.

WHAT YOU DO:

Add MCP config to Cursor or paste the widget script tag.

One JSON file in .cursor/mcp.json or one script tag on your public documentation site.

WHAT MITHUNAI DOES DEEPLY:

Perimeter defense & identity token minting.

Enforces request-time HTTP Origin allowlists, assigns non-human WIDGET_VISITOR principal roles, and isolates visitor sessions.

PHASE 03 // ANSWERS

Querying & Verification

Receiving answers you can verify against source code and documentation.

WHAT YOU DO:

Ask questions naturally in plain language or code.

Query how functions work, ask policy details, or request troubleshooting steps.

WHAT MITHUNAI DOES DEEPLY:

Reciprocal rank fusion & ADR 0010 grounding check.

Fuses BM25 and vector search. If verified, streams answers with exact line citations. If missing, honestly declines rather than hallucinating.

PHASE 04 // GOVERNANCE

Security & Support

Maintaining complete control, audit logs, and compliance.

WHAT YOU DO:

Review audit logs and triage unanswered questions.

Inspect where your docs have gaps and invite support staff when needed.

WHAT MITHUNAI DOES DEEPLY:

Compile-time tenancy & consented support sessions.

Applies unalterable SQL AST invariants, guarantees zero outbound telemetry, and enforces time-limited ActorType.SUPPORT sessions.

Full Architectural Blueprints

Enterprise System Architecture & Data Flow

Detailed technical schematics showing how data moves from customer sources into secure partitions, and how queries are evaluated against strict grounding invariants.

DIAGRAM 01 // BLUEPRINT

End-to-End Enterprise Architecture Topology

Sovereign Custody Model
DIAGRAM 02 // WORKFLOW

Deterministic Grounding & Honest Abstention Flow (ADR 0010)

Decision Tree
Capability Matrix Exploration

Every Platform Feature, Architecturally Explained

Explore how each delivered capability in the MithunAI platform works, what you do as a customer, and the architectural guarantees that enforce it.

FEATURE SPECIFICATION 01

Universal Source Ingestion

M3 / WS1

WHAT YOU DO (CUSTOMER EXPERIENCE)

Customer connects a GitHub repo URL, documentation domain, or uploads PDF and Word files through the console or API.

WHAT MITHUNAI DOES DEEPLY (ENGINE AUTOMATION)

Engine automatically parses syntax trees using Tree-sitter, strips secrets via Shannon entropy scanners, generates embeddings, and indexes into pgvector.

ARCHITECTURAL IMPLEMENTATION & CODEBASE LOCATION

Four native connectors unified behind a single SourceConnector port. Ingestion jobs are asynchronous Celery tasks with SHA-256 content deduplication.

Enforced Invariant:Entropy 4.5 Secret Redaction & SHA-256 Deduplication

Key Architecture Decision Records (ADRs)

Every critical security boundary and product invariant in MithunAI is backed by an authoritative Architectural Decision Record.

ADR 0010 // ZERO HALLUCINATION

Honest Abstention as Default Engine Policy

Establishes that the answering engine must explicitly state "I do not know" when the indexed corpus lacks sufficient evidence, rather than extrapolating or guessing.

Status: Implemented & Guarded by Acceptance Gate
ADR 0020 // EMBEDDING SECURITY

Widget Visitors as Non-Human Principals

Defines widget deployments as non-human principals authorized through the existing pipeline. Request-time origin allowlists stop cross-site embedding attacks.

Status: Delivered in packages/arukz-experience/src/widget/
ADR 0018 // DEVELOPER TOOLS

Read-Only Model Context Protocol Tool Server

Guarantees that external IDE clients cannot execute write, delete, or mutation requests over MCP. Tools are strictly confined to reading indexed knowledge.

Status: Delivered in arukz/experience/mcp/
ADR 0025 // OPERATOR SAFETY

Consented Read-Only Support Access Sessions

Allows MithunAI support engineers to assist customers only with explicit opt-in consent. Zero credential sharing; conversations remain private; all actions logged.

Status: Delivered in arukz/platform/support.py

Boundaries that are enforced, not documented

The platform is built as layered modules with a dependency rule that a linter checks on every change. The foundation layer imports nothing from the layers above it, so the platform core cannot come to depend on the features built on top of it.

The module dependency rule

Each layer may depend only on those listed beside it. The foundation depends on nothing.

  1. experiencedepends onplatform, knowledge, ai, agents, workflow
  2. workflowdepends onplatform, ai, knowledge, agents
  3. agentsdepends onplatform, ai, knowledge
  4. knowledgedepends onplatform, ai
  5. aidepends onplatform
  6. platformdepends onnothing
  • Checked by a linter

    The import rule is machine-enforced in continuous integration, not left to review.

  • Every capability has an API

    Each capability is reachable by a client other than our own interface, so the platform is integrable rather than a closed application.

  • The transport holds no logic

    The HTTP layer parses, calls the module that owns the capability, and serialises. There is no behaviour in it that a reviewer would have to find twice.

  • Deployable where your data has to live

    The platform runs as a containerised deployment, so it can be operated in an environment you control rather than only as a hosted service.

Where a grounded assistant earns its place

These are the workloads the delivered platform supports today: grounded question answering over knowledge you connect, inside an organisation boundary.

MITHUNAI WORKLOAD SIMULATOR
Target SLA: 99.8% GroundedActive Session

Codebase-Grounded Lookups in Cursor & Claude

Standardized Model Context Protocol (MCP)

Engineers query internal repository architecture without switching context. MithunAI indexes syntax-preserving AST chunks, code trees, and design RFCs into tenant-isolated pgvector tables.

repo: github.com/enterprise/core
AST Parsed
protocol: tools/call search_knowledge
Read-Only
Cursor IDE • MCP Assistant Terminal
Latency: 14ms
> User: How is JWT validation configured in the microservices gateway?
mcp.search_knowledge response:Match score: 0.984
// packages/gateway/src/auth/jwt.ts:42
export async function verifyTenantToken(req: Request) {
  const scope = compileOrganizationScope(req.headers);
  return jwt.verify(req.token, scope.publicKey, {
    algorithms: ['RS256'],
    issuer: `https://auth.internal/${scope.orgId}`
  });
}
Citation: packages/gateway/src/auth/jwt.ts (L42-L48)Hash: a7f82b
  • Technical documentation assistance

    Answer product and API questions from your own documentation, with citations a reader can follow back to the page — and an abstention when the docs genuinely do not say.

  • Engineering knowledge retrieval

    Connect repositories and internal documentation so engineers can ask questions across them without the answer inventing an API that does not exist.

  • Support enablement

    Give a support team a grounded assistant over the same documentation the product ships, where every answer shows its evidence.

  • Regulated and multi-tenant environments

    Operate one platform across organisations where isolation, authorization and an audit record are conditions of running at all.

Frequently Asked Questions

Technical questions, answered directly.

Everything an enterprise architect or security officer needs to verify before deploying MithunAI.

Unlike generic chat interfaces that pass entire prompts directly to models, MithunAI requires answers to rest strictly upon retrieved passages. If the indexed knowledge base does not contain sufficient evidence to answer, the Honest Abstention Engine deterministically declines the query (ADR 0010) instead of inventing plausible text.
No. Tenant scope is an enforced query-time invariant. Every retrieval query, vector search, and cache key compiles with an immutable OrganizationScope filter derived directly from the authenticated principal token. Requests omitting or crossing tenant boundaries fail closed at query construction.
MithunAI provides a standardized read-only MCP server (@mithunai/mcp-server). When configured in .cursor/mcp.json or Claude Desktop, your IDE assistants gain 3 read-only tools: search_knowledge, ask_assistant, and list_knowledge—enabling seamless, grounded code and architectural lookups while you code.
Yes. The complete platform—API gateway, ingestion workers, pgvector database, and Redis cache—is fully containerized for Docker and Kubernetes. MithunAI emits zero unauthorized outbound telemetry, allowing full deployment in restricted government, healthcare, or financial enterprise perimeters.
The embeddable web widget enforces origin verification at request time against strict domain allowlists. Furthermore, widget sessions authenticate under the non-human WIDGET_VISITOR role, which restricts authority solely to message exchange without granting access to internal documents or management endpoints.
Production Readiness

Connect your documentation. Give your customers and teams answers they can check.

MITHUNAI is in active development toward its first release. If you are evaluating how your organisation will answer questions from its own knowledge, we would like to hear what you need.