Lenovo × AGI House Build Day · Nov 8, 2026

The hybrid inference and continuous learning platform for on-device AI agents

On-device agents that learn from the cloud.

Wrap your app's agent in one line. The phone answers first, private by default. A frontier model in the cloud handles what the phone can't, and every escalation trains the next on-device model.

Over time the phone handles most requests: fast, offline, private. Whatever still leaves the device is redacted and logged.

  • On-device inference
  • Optimization
  • Data safety
Member Support Airplane mode
Move my dentist appointment to Friday
reschedule_appointment(day: "Fri")
Done. Your dentist visit is now Friday at 10:30.
Handled on device
I want to appeal my denied claim
Escalated · redacted · logged
I've flagged this for review. I'll finish when you're back online.

Illustration. Real screenshots from the demo app are below.

Today, an app's support agent sends every message to a frontier model.

  • Secondsof latency on every turn
  • Per-messagebill that grows with usage
  • Members' dataleaves the phone each time

How it works

The phone answers first. The cloud teaches.

Every request hits the router first. Confident ones stay on the device; the rest go to the teacher, whose answer goes back to the app and also becomes a training label. Each round, a new adapter ships to the phone, so fewer requests need the cloud.

GradientHarbor loop On the phone, a request goes to the router. Confident requests are answered by the on-device student. Others are redacted and sent to the cloud teacher. Teacher answers become redacted training labels; the trainer ships a new adapter back to the student each round. ON THE PHONE IN THE CLOUD Requestfrom the app Routerconfidence · validators StudentLFM3-1.7B · MLXanswers locally RedactorPII → placeholders Teacherfrontier model Datasetredacted traces TrainerLoRA fine-tuneevery round confident escalate redacted answer, re-filled on the phone label new adapter → fewer escalations GradientHarbor loop (stacked) ON THE PHONE IN THE CLOUD Requestfrom the app Routerconfidence gates StudentLFM3-1.7B · MLXanswers locally RedactorPII → placeholders Teacherfrontier model Datasetredacted traces TrainerLoRA, every round confident escalate redacted label new adapter
  1. 1

    Route

    Student confidence (token logprobs) and output validators gate each request live on the phone. Out-of-distribution checks run asynchronously in the cloud.

  2. 2

    Escalate, redacted

    Hard requests go to the teacher right away, with names, IDs and amounts swapped for placeholders first.

  3. 3

    Learn off the request path

    Teacher answers and a 1% shadow sample become training data. Labeling and retraining never slow a reply.

  4. 4

    Ship a new adapter

    Each round, a LoRA-tuned student lands on the phone and the share of escalated requests falls.

One line

Wrap the agent you already have.

GradientHarbor sits around an OpenAI-compatible client in Python, or HarborKit in Swift on iOS. It captures messages, tool calls and outcomes, and every response tells you which model answered and why.

  • Nothing else in the app changes
  • The cloud keeps serving until the student is ready
  • Bring any teacher, including open-weight models
let agent = Harbor.wrap(student: .local("lfm3-1.7b-insurance"),
                        teacher: .cloud(teacherURL), task: "member-support")
let reply = try await agent.respond(to: message, tools: tools)
reply.route   // .student or .teacher, plus the gate that fired

Focus

Built for the edge, not just cheaper in the cloud.

On-device inference

The student runs inside the app on an iPhone Air (A19 Pro, 12 GB) via MLX Swift, and keeps working in airplane mode.

Optimization

Distill into the smallest model that holds accuracy, drop reasoning tokens, shorten tool prompts, quantize to 4-bit and cache the fixed prompt prefix.

Data safety

Customer data stays on the device by default. What leaves is redacted first, limited to escalations and opt-in traces, and shown in a privacy ledger.

Data safety

Data leaves only when it has to, and you can see every time it does.

  • Local by default. Traces are encrypted at rest on the device. Nothing syncs without opt-in.
  • Redact before escalation. Names, member and policy IDs, birth dates, phone numbers and claim amounts become placeholders. The phone fills the real values back in locally.
  • Never-leave intents. A request that mentions a diagnosis or medication is answered on the phone or handed to a human, never sent to the cloud.
  • Train only on redacted traces. Any trace where the PII scanner still finds a match is rejected.
  • Fail closed. If the outgoing scan flags a request, it doesn't leave the phone.
Privacy ledger example entry
Gate
out of distribution
Sent to cloud
Appeal the denial of claim [CLAIM_ID_1] for member [MEMBER_ID_1], amount [AMOUNT_1].
Kept on phone
Real IDs, name, amount
Raw PII fields sent
0

Demo

A support agent inside a mock insurance app.

A fictional insurer's iOS app with Policy, Claims, Appointments and a Support chat. The agent has eight mock tools over the member's local data. In the demo the app runs in the iPhone Simulator and the fine-tuned model runs on the laptop with MLX, the same weights the phone loads. When it books or moves an appointment, the Appointments screen updates. Insurance and health data are the strongest case for keeping work on the device.

  • get_policy
  • check_coverage
  • get_claim_status
  • file_claim
  • find_provider
  • book_appointment
  • reschedule_appointment
  • escalate_to_human
Screenshot coming soon
Support chat “Move my eye exam to Friday”, confirmed and handled on the device.
Screenshot coming soon
Privacy ledger The cloud saw [AMOUNT_1], not the real amount. 0 raw personal fields sent.
Screenshot coming soon
Airplane mode Routine requests keep working; the rest is flagged and queued for review.
Dashboard screenshot coming soon
Flywheel dashboard Escalation rate per round (100% → 20% → 16%), task success by model, latency and privacy.

Results

Measured, not promised.

From the overnight run on November 8: the same 152 synthetic member requests for every setup, scored against ground truth. Our main student is Liquid AI's LFM3-1.7B (1.4 GB); Gemma 4 E4B (5.5 GB) is the larger option and the model behind the flywheel rounds. Phone latency and battery come from the app's eval mode next.

91.4%Task success, our 1.4 GB Liquid LFM3-1.7B student + router (Gemma 4 E4B: 94.1%, Sonnet alone: 97.4%)
11.8%Share of requests sent to the cloud with LFM3 (Gemma round 2: 16.4%, round 0: 100%)
91.8%Task success on requests the router kept on the device (LFM3)
0Raw personal fields sent to the cloud (1,768 calls re-scanned)
86.8%Task success with no network (fine-tuned LFM3 alone; Gemma: also 86.8%)
−58%Prompt tokens per step after fine-tuning (about 2,200 → 900, both students)

Every configuration, same 152 requests

ConfigurationTask successHeld-outNovelSent to cloudp50 / stepCloud cost
Sonnet 5.5 (cloud only)97.4%100%100%100%1.31 s$1.91
Liquid LFM3-1.7B, no fine-tuning37.5%50.0%24.1%0%—$0
LFM3 fine-tuned (LoRA merged, 1.4 GB)86.8%98.0%58.6%0%1.18 s$0
LFM3 fine-tuned + router (main student)91.4%98.0%75.9%11.8%0.94 s$0.21
Gemma 4 E4B, no fine-tuning64.5%73.5%51.7%0%2.96 s$0
E4B fine-tuned, round 286.8%94.9%75.9%0%2.35 s$0
E4B fine-tuned + router, round 186.8%96.9%58.6%20.4%2.38 s$0.73
E4B fine-tuned + router, round 294.1%98.0%89.7%16.4%2.35 s$0.71

On-device latency is measured on an M5 Mac with MLX, standing in for the phone. Every run sent 0 raw personal fields to the cloud.

The flywheel, round by round (Gemma 4 E4B)

  1. Round 0100%sent to the cloud. Sonnet serves everything, 97.4% success
  2. Round 120.4%sent to the cloud after training on 250 Sonnet traces, 86.8% success
  3. Round 216.4%sent to the cloud after adding escalations from live traffic, 94.1% success

Models

A model for every job.

The student on the device is picked per app and platform; our main one is Liquid AI's LFM3-1.7B. In the cloud, one model teaches and another answers live, so each does the job it's best at.

Your agentHarbor.wrap(…)
On the device
  • Main studentLiquid LFM3-1.7B+ LoRA merged, MLX, 1.4 GB. About a second per step.
  • Large optionGemma 4 E4B+ LoRA, MLX 4-bit, 5.5 GB. Our flywheel runs.
  • Android · NPULiteRT-LMSame weights, NPU via ZETIC. Next.
In the cloud
  • TeacherClaude Opus 5.5Labels escalations, shadow disagreements and outliers.
  • EscalationClaude Sonnet 5.5Answers live when the router escalates.
  • EvalGPT-6.1 judgeAnother provider grades replies.

Opus labels training data from round 3. Rounds 0–2 were labelled by Sonnet 5.5, as in the results above. Dashed: not built yet.

Next

Where it goes after the hackathon.

Per-user adapters on the phone

Train a small LoRA on the device from that user's own traces, so personal data never leaves at all.

Android and NPU

Ship the student as LiteRT-LM for lower memory and multi-token prediction, and run the same file on Android. NPU export via LiteRT or ZETIC.

Trajectory distillation

Distill whole multi-step agent runs, evaluated by replaying against mock tools.

Race mode and outcome RL

Start student and teacher together on latency-critical paths, and move from SFT to RL once real reward signals exist.

As a company

One trace stream, compiled to every device.

The asset is the loop: redacted traces, evals and a router that knows when the student is wrong. Models become a compile target, and every build is checked by the same evals.

Next

Every runtime

Core ML and the Apple Neural Engine, LiteRT on Android, and NPUs via LiteRT or ZETIC, from the same traces.

Next

Built-in platform models

Apple stopped supporting custom Foundation Models adapters in OS 27, so for built-in models we compile the traces into prompts, tool definitions and output schemas, and train adapters wherever a platform allows them.

Then

Smaller models per app

Pruning, vocabulary trimming and quantization-aware distillation, tuned for each app's download size and battery budget.

Later

New architectures per use case

Search model shapes (depth, width, attention, vocabulary) per use case against the same evals. Research-heavy, and the furthest out.