Skip to content

Projects

In Development

Orchestration Lab

Control plane for AI work: tune local models, expose them as our own provider inference, and route across hosted providers using cost, latency, quality, and health metrics.

Last updated: Jul 2026

Control plane

Local + hosted inference under one spine.

Unified generate() across local + cloud · strategies: cost / latency / quality · health-checked custom endpoints

Move over the viewport · idle for ambient motion

3D viewport loads on desktop when visible

Live viewport Standby

01 — Facts

Project signals

My Role

Systems / Platform

Tech Stack

AI Orchestrator SDK, Custom provider adapters, Local inference, Queues, Observability, Human-in-the-loop

Key Metric / Proof

Unified generate() across local + cloud · strategies: cost / latency / quality · health-checked custom endpoints

Scope

In scope: local model serving as custom provider, multi-provider adapters, routing strategies, metrics & fallbacks, durable workflow spine. Research notes cover enrichment tuning that feeds the local endpoint.

Next / Status Note

In Development — local custom provider + hosted adapters under one orchestrator. AI Orchestrator SDK is the published product output.

Stack

  • AI Orchestrator SDK
  • Custom provider adapters
  • Local inference
  • Queues
  • Observability
  • Human-in-the-loop

Inference map

Local models + hosted providers under one control plane

We tune local models for enrichment and product jobs, expose them as our own provider inference, and let the orchestrator route across that endpoint and third-party APIs using cost, latency, and quality metrics.

Lab product output

AI Orchestrator SDK

The open Node.js SDK this lab ships — unified generate / stream / embed across local custom providers and hosted adapters, with strategy routing and automatic fallbacks.

Install
Click to copy

02 — Brief

Narrative

How local tuning, custom inference, hosted providers, and metrics fit together as one control plane.

Spine

Orchestration Lab is the spine for Recash AI products — not a feature buried inside PromptQT or Virabase. It decides which model answers a job: a local model we tuned ourselves, or a hosted provider, based on measurable signals.

  1. Product output

    AI Orchestrator SDK

    The open Node.js package this lab ships — unified generate / stream / embed, key rotation, streaming, and automatic fallback across local custom providers and hosted adapters.

    • generate()
    • generateStream()
    • embedContent()
    Install
    Click to copy
  2. Our inference

    Local model tuning → custom provider

    We fine-tune and evaluate local models for enrichment and product-side tasks — classification, extraction, summarization, private workloads. They register as a custom provider in the orchestrator pool: baseUrl, optional health-check, auth headers, and request/response templates — the same surface as cloud adapters.

    Product code calls one API. Whether the answer came from a machine we run or from OpenAI / Google / Anthropic is a routing decision, not a rewrite.

    • baseUrl
    • Health check
    • Auth headers
    • Templates

    Research note: local model tuning for enrichment →

  3. Hosted adapters

    Supporting other inference providers

    First-class adapters cover major hosted APIs. Strategies pick the next model; metrics decide when to stay local vs go hosted — with fallbacks when a provider fails or rate-limits.

    • OpenAI
    • Google
    • Anthropic
    • Custom / local
  4. Decision layer

    Metrics that drive the route

    Strategies can be composed — for example cost then quality — so ties break cleanly. Observability on the spine (queues, retries, human checkpoints) sits above this layer so PromptQT Studio and Virabase agentic briefs stay auditable.

    • Cost Prefer the cheapest viable model — often local for high-volume enrichment.
    • Latency Prefer the fastest path when UX is interactive.
    • Quality Prefer the highest-tier model when the job demands it.
    • Health Skip unhealthy local endpoints; fall through to the next provider.

    Example strategy ['cost', 'quality']

  5. Open foundation

    Publishable control plane

    Related research on enrichment tuning is linked below as artifacts under this project. The SDK is what those patterns become in the open.

    Package
    Click to copy

Live product

See Orchestration Lab in the browser

A Full HD product view inside a laptop stage. Preview only — open the live site to interact.

Open Orchestration Lab → davoodmood.github.io

View only · Full HD preview · open to interact

Add New Playlist

-
00:00
00:00
Update Required Flash plugin
-
00:00
00:00