@alharlow111

ToggleLogic

Free-tier model routing for OpenClaw — sticky owner overrides, static routes, a deliberately-simple cheapest-default, and a structured audit stream. Bring your own provider credentials; no benchmark engine or model registry included. PATENT PENDING. An optional, separately-licensed ToggleLogic Intelligence layer adds benchmark-driven automatic selection.

Current version
v1.0.0
code-pluginCommunitysource-linked

ToggleLogic (Free Tier) — model routing for OpenClaw

PATENT PENDING. Source-available under the ToggleLogic Free-Tier License (see LICENSE) — free, limited, revocable use; all rights reserved. Not open-source; not MIT/Apache. © 2026 Motherboard, Inc. · https://togglelogic.ai/

ToggleLogic routes each OpenClaw request to a model you control — bring your own provider credentials, declare intent, and let the plugin apply your choices. This free tier gives you:

  • Owner overrides (sticky, learnable). Tell your assistant "use Opus for this" and a deployment-side switch writes a sticky override the plugin applies above everything else — until you switch back. ToggleLogic is the generic mechanism; your deployment owns the "remember it / prompt to switch back" workflow.
  • Static / intent routes. Map tasks to models in configuredRoutes.
  • A deliberately-simple cheapest-default. Name the cheap model you want as the default; the plugin defaults to it unless an override or route says otherwise.
  • A structured audit stream of every routing decision (NIST 800-53 AU-2/AU-3/AU-12 schema bar).

It does not include — and never ships — the patented ToggleLogic Intelligence engine (benchmark-driven automatic model selection) or the Toggle Registry. The free cheapest-default is a dumb static preference: it never inspects your request, never consults a model registry or benchmark, and embeds no model names or prices. Automatic benchmark-driven selection is the separately-licensed Intelligence layer; if installed, this plugin detects it and defers to it (see intelligence config). To license it: https://togglelogic.ai/

Install (from ClawHub)

openclaw plugins install clawhub:togglelogic

Enable routing (opt-in) in ~/.openclaw/openclaw.json:

{
  "plugins": {
    "entries": {
      "togglelogic": {
        "enabled": true,
        "hooks": { "allowConversationAccess": true },
        "config": {
          "mode": "cheap",
          "cheapHeuristic": { "default": "anthropic/claude-haiku-4-5" },
          "features": { "routing": { "enabled": true } }
        }
      }
    }
  }
}

Modes

ModeBehavior
autoLicensed Intelligence layer if present → else the cheap default if configured → else passthrough
passthroughDefer every selection to OpenClaw's default (log only)
configuredApply configuredRoutes (static task→model map)
cheapApply the deployment-declared cheapest default (dumb, static)
intelligenceDefer to the separately-licensed Intelligence layer (not included)

Owner overrides apply above the mode in all cases.

Config reference

See openclaw.plugin.json configSchema for every field: mode, logging, configuredRoutes, cheapHeuristic, intelligence, ownerOverride, features, audit.

License

Use of this Software is governed by the ToggleLogic Free-Tier License (LICENSE). It is free to use but revocable, reserves all of Motherboard, Inc.'s rights including its pending patents, and prohibits redistribution and competing use. It is not an open-source license.

Source and release

Source repository

alharlow111/togglelogic-free

Open repo

Source commit

21bc779632

View commit

Install command

openclaw plugins install clawhub:togglelogic

Metadata

  • Package: togglelogic
  • Created: 2026/06/18
  • Updated: 2026/06/18
  • Executes code: No
  • Source tag: 21bc779632

Compatibility

  • Built with OpenClaw: 2026.6.5
  • Plugin API range: >=2026.5.2
  • Tags: latest
  • Files: 19