Documentation

Molly OS Documentation

Molly AI by Core Labs is a sovereign, model-agnostic inference orchestration platform. It runs local by default, routes intelligently across your own hardware and external APIs, and lets you build private AI specialists — no ML engineering required.

Overview

Introduction

Molly is a sovereign multi-agent orchestrator. Rather than sending every request to a single external model, Molly manages a fleet of task-specialized adapters over one quantized base model, and routes each request to the cheapest, most private, most capable place it can run.

The guiding principle is your intelligence, your hardware, your rules. Inference runs on-device by default and only escalates outward when your policy explicitly allows it. Nothing leaves your control unless you say so.

Core idea

ONE quantized base model → MANY LoRA specialists → coordinated by a CEO multi-agent orchestrator → executed across a 4-tier privacy hierarchy (T0–T3) with local as the default.

Who Molly is for

  • Teams that need data residency and cannot ship sensitive data to third-party clouds.
  • Builders who want a private AI specialist for their own domain without hiring ML engineers.
  • Developers who want an OpenAI-compatible API they can point at existing code.
Getting started

Quickstart

Molly exposes an OpenAI-compatible API, so if you already use the OpenAI SDK you can switch by changing the base URL and key.

1

Create an account

Sign up and open the dashboard at app.iamolly.ai.

2

Get an API key

Generate a key from your workspace settings. Keep it secret — treat it like a password.

3

Make your first call

Use the OpenAI-compatible chat completions endpoint. The orchestrator picks the tier and specialist automatically.

First call

# Python — OpenAI-compatible client
from openai import OpenAI

client = OpenAI(
    base_url="https://api.iamolly.ai/v1",
    api_key="YOUR_MOLLY_API_KEY",
)

resp = client.chat.completions.create(
    model="molly-orchestrator",
    messages=[{"role": "user",
               "content": "Summarize this contract clause."}],
)
print(resp.choices[0].message.content)
Note

Because the API is OpenAI-compatible, the orchestrator handles tier selection and specialist routing behind the scenes — your code stays the same.

Core concepts

The CEO Multi-Agent Orchestrator

At the center of Molly is the CEO orchestrator — a coordinating agent that interprets each request, decomposes it into subtasks, and delegates to the right specialists. It behaves like a chief executive assigning work to a team of experts.

What the orchestrator does

  • Understands intent and breaks complex tasks into steps.
  • Selects specialists — chooses the LoRA adapter best suited to each subtask.
  • Chooses the tier — decides where execution happens under your routing policy.
  • Composes results from multiple specialists into a single coherent answer.
Core concepts

Specialists (LoRA Adapters)

Instead of running many large independent models, Molly loads one quantized base model and swaps in lightweight LoRA adapters — each a compact specialist trained for a specific domain or task.

Efficient

Adapters are small deltas on top of a shared base — many specialists, minimal memory overhead.

Composable

The orchestrator can call several specialists for a single request and merge the results.

Yours to grow

Point Molly at your data to auto-train a new specialist for your own use case.

Portable

Adapter deltas travel across your fleet without moving the underlying base model.

Core concepts

4-Tier Routing (T0–T3)

Every request is routed through a four-tier privacy hierarchy. Local execution is the default, and escalation to higher tiers is policy-gated — Molly will not reach for an external API unless your policy permits it.

TierWhere it runsNotes
T0 DefaultOn-deviceRuns directly on the local machine. Most private, no network dependency.
T1LANOther machines on your local network — shared local capacity.
T2Self-hostedYour own servers / private infrastructure.
T3External APIThird-party providers — used only when policy explicitly allows.
Policy-gated

Local is the default; escalation to LAN, self-hosted, or external tiers is governed by policy you control.

Core concepts

Sovereign & Federated Execution

Molly is sovereign: intelligence lives on your hardware and operates under your rules. When multiple nodes collaborate, Molly uses federated learning — nodes share adapter deltas, never raw data.

How federation works

  • Each node trains and improves specialists on its own local data.
  • Only adapter deltas (the learned weights) are exchanged — raw data stays put.
  • Improvements aggregate across the fleet without centralizing sensitive information.
Data never leaves

Federation moves what was learned, not what was seen. Your raw data stays local.

Core concepts

Continuous Self-Improvement Loop

Molly improves over time through a closed loop: traces → eval → distilled adapters.

1

Traces

Real usage produces execution traces that capture how tasks are handled.

2

Eval

Traces are evaluated to identify where quality can be improved.

3

Distilled adapters

The best behaviors are distilled into new or refined LoRA adapters and deployed.

Core concepts

Multimodal

Molly's orchestration model is multimodal — specialists can be composed across different input and output modalities, coordinated by the same CEO orchestrator and governed by the same routing policy.

Text Structured data Documents Multi-modal specialists
Build

Plug-and-Play Training

Build your own personal AI without being an engineer. Point Molly at your data source and it will auto-train, evaluate, and deploy a specialist for you — no ML pipeline to build, no infrastructure to wire up.

The workflow

1

Connect a data source

Point Molly at your data. It stays under your control — training respects your tier and residency policy.

2

Auto-train

Molly trains a LoRA specialist on top of the shared quantized base model — no manual pipeline work.

3

Neutral evaluation

A neutral judge evaluates the candidate specialist for quality before it ships.

4

Deploy

Once it passes eval, your specialist is deployed and the orchestrator can route to it automatically.

What to expect

  • No ML engineering required — the train → eval → deploy loop is automated.
  • Evaluation is handled by a neutral judge, so specialists are gated on measured quality.
  • New specialists join the fleet and improve over time via the self-improvement loop.
Sovereign by design

Training happens under your policy. Across a fleet, only adapter deltas are shared — raw data is never exported.

Trust

Privacy & Security

On-device by default

Inference defaults to T0 on-device. External tiers are only reached when your policy explicitly allows it, so sensitive workloads stay local unless you choose otherwise.

Data residency

You control where execution and training happen across the T0–T3 hierarchy. In federated setups, nodes exchange adapter deltas, never raw data, keeping information within its home boundary.

Merkle-tree provenance

Molly maintains Merkle-tree provenance, giving a verifiable, tamper-evident record of how models and adapters were produced and changed.

Verifiable

Merkle provenance means lineage can be checked cryptographically — you can prove what went into a specialist.

Reference

Pricing Summary

Because Molly runs local-first, much of your inference can happen on your own hardware, with external tiers used only when your policy allows. For current plans, token packs, and tier details, see the pricing page.