ContractSpec use cases

ContractSpec use cases

ContractSpec contracts define product behavior once, then project it across applications, agents, workflows, integrations, and evidence systems.

ContractSpec contracts are explicit product rules that software and agents can share. Use them to build coherent application modules, govern agentic workflows, power safe app regeneration, connect systems through scoped adapters, and prove what happened through evidence and replay.

Full-stack product contracts

Build application modules where API, UI, data, events, policies, and tools stay aligned from one explicit product layer.

Use for

  • internal tools
  • admin cockpits
  • billing modules
  • dashboards
  • customer portals
  • product modules
  • operations apps

Contract building blocks: operation, event, type, form, data-view, presentation, policy, feature, app-config, translation, theme, migration

Agent and workflow contracts

Define what AI can propose, what humans must approve, which tools can run, which policies apply, and what evidence is captured.

Use for

  • AI operations workflows
  • approval-heavy workflows
  • agent tool calls
  • human-in-the-loop automation
  • CompanyOS solutions
  • FDE deployments

Contract building blocks: agent, workflow, operation, policy, event, job, integration, harness, telemetry

App builder and regeneration contracts

Give app builders and coding agents explicit product rules so generated software can be inspected, regenerated, tested, and changed without losing the original intent.

Use for

  • app builders
  • coding agents
  • CLI generation
  • template systems
  • product regeneration
  • internal platform tools

Contract building blocks: product-intent, app-config, feature, operation, form, data-view, presentation, theme, translation, harness, test-spec, migration, workspace-config

Integration contracts

Connect external systems through scoped, governed adapters with explicit reads, writes, permissions, policies, and evidence trails.

Use for

  • Stripe
  • Gmail
  • Google Calendar
  • CRMs
  • accounting systems
  • identity providers
  • internal APIs
  • operational tools

Contract building blocks: integration, operation, policy, event, job, telemetry, evidence/replay

Evidence and replay contracts

Define proof scenarios, replay behavior, test harnesses, evidence receipts, and verification rules for AI-native systems.

Use for

  • auditability
  • AI workflow testing
  • agent evaluation
  • deterministic replay
  • compliance evidence
  • production proof
  • FDE handover

Contract building blocks: harness-scenario, harness-suite, test-spec, telemetry, event, workflow, job, evidence/replay

From substrate to operating product

CompanyOS runs governed AI workflows on ContractSpec.

See how CompanyOS uses ContractSpec contracts to run governed AI workflows: AI proposes, humans approve, and every decision is logged and replayable on the same explicit contract layer.

Start with the substrate

Define behavior once. Project it everywhere it must stay aligned.

ContractSpec is the open contract layer for AI-native software. Start with one drifting module, or read what a ContractSpec contract actually is.