A capability-driven application framework for building AI-native apps
Build your application as capabilities (verbs), not pages or routes. Everything else—UI, AI, paywalls, analytics—attaches automatically.
Modern apps are built in silos:
❌ Traditional Architecture: ├── UI (React components) ├── API (REST/GraphQL endpoints) ├── AI (separate tool implementations) ├── Paywalls (middleware + custom logic) └── Analytics (manual tracking) Each layer duplicates logic and stays disconnected.
✅ OpenVerb Architecture: ├── Verb Library (single source of truth) │ ↓ ├── Execution Runtime (one pipeline) │ ↓ └── Controllers (UI | AI | API | PaywallOS) Define capabilities once. Everything else just works.
npm install @openverb/runtime @openverb/policy @openverb/sdk
{
"id": "todo.create",
"version": "1.0.0",
"summary": "Create a todo item",
"inputSchema": {
"type": "object",
"required": ["title"],
"properties": {
"title": { "type": "string" }
}
},
"effects": ["db.write"],
"handler": "handlers/todo/create"
}// UI, AI, API - all use the same execution path
const result = await execute({
verbId: "todo.create",
args: { title: "Build amazing apps" },
actor: currentUser,
context: { tenantId, planId }
})Define capabilities once as JSON, execute from anywhere
Built-in tier-based authorization and quotas
Automatic events, receipts, and audit trails
Full TypeScript support with strict schemas
Hooks for easy frontend integration
AI controllers use same verbs as UI
The OpenVerb Framework is published as 4 npm packages:
Core execution engine with validation, policy enforcement, and event emission.
npm install @openverb/runtime
Policy engine for tier-based authorization, quotas, and access control.
npm install @openverb/policy
Developer tools for generating, validating, and managing verbs.
npm install -g @openverb/cli
┌─────────────────────────────────────────┐
│ Verb Library (JSON) │
│ - Schemas │
│ - Effects │
│ - Metadata │
└─────────────────┬───────────────────────┘
│
▼
┌─────────────────────────────────────────┐
│ Execution Runtime │
│ validate → authorize → execute → emit │
└─────────────────┬───────────────────────┘
│
┌────────┼────────┐
▼ ▼ ▼
┌────┐ ┌────┐ ┌────┐
│ UI │ │ AI │ │API │
└────┘ └────┘ └────┘The OpenVerb Framework builds on the OpenVerb Protocol:
Use the protocol for lightweight implementations, or the framework for production applications.
# Install the framework npm install @openverb/runtime @openverb/policy @openverb/sdk # Initialize in your project npx @openverb/cli init --typescript # Generate your first verb npx @openverb/cli generate verb todo.create # Start building!
"Build your app as capabilities. Everything else attaches automatically."