Apache 2.0 components

What is open source, and how complete it is on its own.

The Sufficiency Engine interface and its baseline-heuristic implementation are Apache-2.0. A separate proprietary implementation of the same interface is distributed under its own licence.

PackageLicence
metedThe CLIApache-2.0
@meted/gatewayThe gatewayApache-2.0
@meted/providersAdapter interface + OpenAIApache-2.0
@meted/evalComparative evaluationApache-2.0
@meted/configSchema, modes, policyApache-2.0
@meted/engine-interfaceContract, loader, baseline engineApache-2.0
@meted/engineThe production Sufficiency EngineProprietary

The open-source product is complete

baseline-heuristic is a complete Sufficiency Engine: lexical and structural heuristics over task type, complexity, requested detail, explicit length constraints, item counts, supplied code, conversation state and model capabilities. It runs in-process with no model calls and no network, and it is what runs when nothing else is configured.

Sample output in this documentation is illustrative unless it is labelled as a recorded run.

What the open-source repository gives you

  • The full gateway, with streaming, tool calls and error passthrough
  • All four modes, including Observe Mode
  • The whole CLI
  • The evaluation harness and 76 built-in prompts
  • The Cloudflare deployment
  • A working Sufficiency Engine

You can run Meted in production, indefinitely, without installing anything proprietary.

What the proprietary engine adds

It implements the same interface and loads in the same place. To compare the two, point engine.module or engine.wasm at it in meted.config.json and run meted eval with each, then compare output tokens, sufficiency and under-allocation.

See Proprietary Sufficiency Engine.

Using the pieces separately

// Just the sizing
import { createBaselineEngine, runEngine } from '@meted/engine-interface'

// Just the gateway, mounted in your own app
import { createGateway } from '@meted/gateway'

// Just the policy layer, against decisions from somewhere else
import { resolveAllocation } from '@meted/config'

Licence

Apache License 2.0. Full text in LICENSE.

CODE_OF_CONDUCT.md is the Contributor Covenant v2.1, used under CC BY 4.0.

Was this page helpful?