Proof through real scenarios
Templates that show the open system in practice.
These scenarios are the fastest way to understand ContractSpec: explicit contracts, aligned surfaces, and an adoption path from OSS exploration into Studio deployment.
Browse by source
Use local scenarios for core proof, then scan the community.
Local templates show the official adoption path. Community browsing appears automatically when a registry URL is configured.
Minimal Example
Single-command starter for validating the ContractSpec basics.
Messaging Agent Actions
Live-provider messaging demo with safe action routing and deterministic proof coverage.
Policy-safe Knowledge Assistant
All-in-one template: locale/jurisdiction gating + versioned KB snapshots + HITL update pipeline + learning hub.
Visualization Showcase
Focused reference example for ContractSpec-owned visualization primitives and design-system wrappers.
Agent Console
AI agent ops console: tools, agents, runs, logs, and metrics (spec-first, regenerable).
Features: Seeded autonomous agents, Tool registry, Run execution history, Metrics, Markdown and React views
AI Chat Assistant
Focused template: full ai-chat with reasoning, chain of thought, sources, suggestions, and MCP tools.
AI Support Bot
Classify and resolve a support ticket (with a drafted response) using the support-bot and knowledge libraries.
Analytics Dashboard
Tenant-scoped dashboards, widgets, query builder, and scheduled reports (spec-first widgets/queries).
Content Generation
Generate blog/landing/email/social/SEO assets from a typed ContentBrief using @contractspec/lib.content-gen.
CRM Pipeline
Sales CRM with contacts, companies, deals, pipelines, and tasks.
Gmail Inbound and Outbound
List Gmail threads/messages and send outbound email using the Gmail providers.
Google Calendar
List upcoming events and create a new event using the Google Calendar provider.
Integration - Supabase Vector + Postgres
Wire AppBlueprint and TenantAppConfig to use Supabase for both vector retrieval and SQL workloads.
Integration — PostHog Analytics
Capture events, run HogQL, and manage PostHog assets via AnalyticsProvider.
Integration — Stripe Payments
Wire AppBlueprint + Workflow + TenantAppConfig to enable Stripe-backed payments (spec-first integration pattern).
Integration Hub
Provider-agnostic integration center with connectors, connections, field mappings, and sync logs.
KB Update Pipeline
Automation proposes KB updates; humans verify; everything audited and notified.
Knowledge Canon (Product Canon space)
Bind a canonical knowledge space to a tenant and route assistant/workflow requests to the right sources (blueprint + app config pattern).
Learning Journey — Ambient Coach
Ambient coaching pattern: lightweight nudges driven by context and recent progress.
Learning Journey — CRM First Win
Onboarding track for CRM Pipeline driving users from empty CRM to first closed-won deal.
Learning Journey — Duo Drills
Short drill/SRS example with XP and streak hooks for language, finance, or ContractSpec concept drills.
Learning Journey — Platform Tour
Learning journey track + contracts + presentations for a platform tour.
Learning Journey — Quest Challenges
Quest/challenge pattern: multi-step goals with progress events, rewards, and streak hooks.
Learning Journey — Studio Getting Started
Onboarding track guiding a new Studio user through template spawn, spec edit, regeneration, playground, and evolution.
Learning Journey Registry
Registry of learning journey tracks + presentations + UI mini-app bindings.
Learning Journey UI — Coaching
UI mini-app for coaching patterns: tips, engagement meter, progress.
Learning Journey UI — Gamified
UI mini-app for gamified learning: flashcards, mastery ring, calendar.
Learning Journey UI — Onboarding
UI mini-app for onboarding patterns: checklists, code snippets, journey map.
Learning Journey UI — Shared
Shared UI components and hooks for learning journey mini-apps.
Learning Patterns
Domain-agnostic learning archetypes implemented as Learning Journey tracks.
Lifecycle CLI
Tiny script showing how to run the lifecycle managed service from a CLI (no HTTP server required).
Lifecycle Dashboard (snippet)
A minimal dashboard page pattern: call lifecycle-managed endpoints and render a mobile-friendly status card.
Locale / Jurisdiction Gate
Fail-closed gating for assistant calls: locale + jurisdiction + kbSnapshotId + allowedScope must be explicit, answers must cite a snapshot.
Marketplace (2-sided)
Two-sided marketplace with stores, products, orders, payouts, and reviews (multi-actor flows).
Meeting Recorder Providers
Multi-provider meeting recorder integration example with list, transcript, and webhook handling.
Open Banking — Powens
OAuth callback + webhook handler patterns for Powens open banking integration (provider + workflow orchestration).
Personalization Patterns
Small examples for behavior tracking, overlay-based UI customization, and tenant workflow extension.
Pocket Family Office
Personal finance automation with document ingestion, open banking, and AI summaries
Project Management Sync
Create project-management work items in Linear, Jira Cloud, or Notion from a shared payload.
SaaS Boilerplate
Multi-tenant SaaS foundation with orgs, projects, settings, billing usage, and RBAC.
Service Business OS
Service business operating system: jobs, clients, scheduling, invoicing, and ops dashboards.
Team Hub
Internal collaboration hub with spaces, tasks, rituals, and announcements.
Versioned Knowledge Base
Curated KB with immutable sources, reviewable rule versions, and published snapshots.
Video API Showcase
Generate API documentation videos from contract spec definitions using the ApiOverview composition.
Video Docs Terminal
Generate terminal demo videos from CLI walkthroughs using the TerminalDemo composition and ScriptGenerator.
Video Marketing Clips
Generate short-form marketing videos from content briefs using the deterministic video-gen pipeline.
Voice Providers (Gradium and Fal)
Multi-provider voice integration example for Gradium and Fal text-to-speech adapters.
Wealth Snapshot
Simple wealth overview with accounts, assets, liabilities, goals, and net-worth snapshots.
Workflow / Approval System
State-machine driven approvals with RBAC, audit trail, notifications, and jobs.
From template to real system
Templates become useful when the system can absorb more context.
Use templates to prove the base flow, then layer integrations, knowledge, and runtime behavior on top without losing the same contract source.
Add payments
Connect Stripe to any template for payment processing, subscriptions, and invoicing. Type-safe and policy-enforced.
Learn more →Add notifications
Send transactional emails via Postmark or Resend. Process inbound emails with Gmail API. SMS via Twilio.
View integrations →Add AI and knowledge
Power templates with OpenAI, vector search via Qdrant, and structured knowledge spaces for context-aware workflows.
Learn about knowledge →All integrations are configured per-tenant with automatic health checks and credential rotation.
View Architecture