
Security News
Cloudflare Introduces a Faster TypeScript Compiler Written in Rust
Cloudflare introduces tsrs, a Rust port of TypeScript’s compiler promising faster checks and lower memory use, with the TypeScript team’s help.
ai-capability-framework
Advanced tools
Provider-agnostic AI capability contracts, runtime controls, evals, and model/provider adapters.
AI Capability Framework (AICF) is a provider-agnostic AI capability framework: a governed capability layer for AI-accessible application functionality. It helps application teams describe what an AI system is allowed to do, expose only the right tools to a model, validate every model tool call, and prove the behavior with deterministic evals.
AICF is not an agent framework. It is a governed capability layer for AI-accessible application functionality.
Models propose; applications validate, authorize, execute, and audit.
AICF supports OpenAI, Anthropic Claude, Google Gemini, Vercel AI SDK, Model Context Protocol, LangChain/LangGraph, and Semantic Kernel-compatible MCP/OpenAPI workflows. OpenAI is one adapter, not the architecture.
manifests
-> validated registry
-> routed capability slice
-> optional runtime controls
-> provider tools
-> runtime validation
-> read/prepare execution
-> approval/commit lifecycle
-> optional governance control plane
-> evals
-> sanitized replay traces
-> evidence export
-> optional content provenance sidecars
In plain terms:
engines.node >=20.| AICF does | Your app does |
|---|---|
| Validates capability, entity, eval, context, decision, and result contracts. | Owns production auth, account state, entitlements, and tenant boundaries. |
| Routes a small model-facing capability slice. | Decides which user request and host context to pass into AICF. |
| Exports provider tool definitions and binding maps. | Calls OpenAI or another provider with a caller-provided client. |
| Parses provider tool calls back to capability IDs. | Provides real data access and business logic handlers. |
| Validates tool arguments with AICF schemas before execution. | Performs durable storage, payment, email, ticketing, or other side effects. |
| Returns model-safe envelopes for success, validation errors, denials, approval-required actions, and failures. | Shows approval UI, collects approvals, and commits side effects through host-controlled lifecycle APIs. |
| Can write optional canonical audit ledger records with redacted refs and hashes. | Stores production audit evidence, retention policy, and compliance workflows in your own systems. |
| Can evaluate optional kill switches, circuit breakers, and per-run budgets. | Owns production control stores, authenticated operator workflows, and incident response. |
| Can govern whether host-supplied memory summaries may become model context. | Owns memory storage, consent, deletion, recall, identity resolution, and tenant scoping. |
| Provides an optional self-hostable control-plane API and reference UI for public-safe review. | Owns production access control, durable control-plane storage, approval identity, and evidence retention. |
| Can export public-safe evidence packs with gaps and disclaimers. | Owns compliance decisions, audit engagement, legal review, and production evidence systems. |
| Can create public-safe generated-content provenance sidecars and adapter-hook inputs. | Owns real content signing, document/media embedding, CMS integration, and authenticity claims. |
| Scores deterministic eval fixtures and provider conformance cases. | Produces candidate results from tests, mocks, or optional live runs. |
Start in a new project:
npm init -y
npm install ai-capability-framework
node node_modules/ai-capability-framework/examples/12-capability-discovery-selection/run-customer-mock.mjs
The mock flow reads a ticket, carries its order ID into refund preparation, and returns a preview awaiting approval. It exposes no commit and makes no real provider calls. No repository checkout, framework build or optional provider SDK is required.
Follow the complete first-app walkthrough to author a capability, load a registry, register a handler and use the stable lexical/native workflow. Repository development has separate build and validation commands.
Start and concepts:
Runtime and policy:
Evals and providers:
Reference and release:
The public examples are synthetic:
examples/01-basic-read-capability/ through examples/11-control-plane/ provide
numbered README-first tutorials.examples/support/ describes a support ticket and refund workflow.examples/scheduling/ describes scheduling capabilities.examples/runtime-support-billing/ runs a mock route, read, prepare, approval, and
commit flow without credentials.examples/control-plane/ runs a local governance control-plane reference app with
synthetic seed state and ignored local mutations.examples/aws/ documents credential-free AWS adapter wiring and production host
responsibilities.examples/providers/ contains README-only provider examples.Private drafts, raw prompts, traces, provider payloads, generated local docs, and
local-only artifacts are excluded from tracked files. See AGENTS.md for the workspace
boundary.
Final v1.0 certification:
npm run check:certification
The normal development gate is shorter:
npm run lint
npm run build
npm run typecheck
npm run docs:build
npm test
npm run validate
npm run conformance
npm run gate:examples
npm run check
Provider live tests are opt-in and require explicit environment variables. Normal checks use mock clients, descriptor exports, synthetic fixtures, and no live model calls.
For artifact review:
npm run check:package
npm run skills:ci
npm run skills:check
npm run skills:pack:dry
npm pack
npm run release:preflight:npm
npm run release:publish:dry
npm run archive:source
npm run check:source-archive
Release tags publish two npm artifacts from the same commit and version:
ai-capability-framework and @aicf/agent-skills. For example, package version 1.0.0
uses tag v1.0.0 and the latest dist tag for both packages.
Use npm pack for npm package review and npm run archive:source for public source
review. Do not zip the working directory manually; raw workspace archives can include
.git/, dependencies, generated output, private notes, traces, logs, prompts, or
provider payloads.
CI also runs dedicated docs, security, release dry-run, package hygiene, conformance, and governance-gate workflows. See Release process and Release checklist. npm ownership and dist-tag checks are documented in npm release preflight. Final v1.0 certification is documented in Final v1.0 certification.
MIT
Install the stable framework:
npm install ai-capability-framework
Lexical retrieval with the ordinary model/tool loop is the recommended default. The qualification report records the tested lexical results and the unmet hybrid incremental-gain gate. Hybrid remains experimental and opt-in; dedicated selection remains optional.
Use the stable lexical/native workflow and optional discovery API when your application AI decomposes a customer request into tasks. Search each ready task and pass its result-bound router to the ordinary model/tool loop. Lexical search needs only a registry, task IDs/text, and existing runtime context. Hybrid retrieval and dedicated selection are optional and require caller-supplied model access and budgets.
Run the complete customer-request example with deterministic mocks and no provider key. Retrieval scores never authorize execution or guarantee a suitable first candidate.
FAQs
Provider-agnostic AI capability contracts, runtime controls, evals, and model/provider adapters.
The npm package ai-capability-framework receives a total of 0 weekly downloads. As such, ai-capability-framework popularity was classified as not popular.
We found that ai-capability-framework demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare introduces tsrs, a Rust port of TypeScript’s compiler promising faster checks and lower memory use, with the TypeScript team’s help.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.