
Product
Socket Threat Intel Now Shows Which Malware Campaigns Were Blocked or Detected
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.
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. |
Install and validate the public examples:
npm install
npm run validate
Build the CLI and inspect the example registry:
npm run build
node dist/cli.js inspect examples
Export OpenAI Responses function tools without calling a model:
node dist/cli.js openai-tools examples --context examples/support/openai/context.support_agent.json
Run the public mock runtime flow:
node examples/runtime-support-billing/run-mock.mjs
Run deterministic evals:
node dist/cli.js eval examples --results examples/eval-results/public.results.passing.json
For expected output excerpts and what each command proves, use Start here.
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
FAQs
Provider-agnostic AI capability contracts, runtime controls, evals, and model/provider adapters.
The npm package ai-capability-framework receives a total of 329 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.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.

Security News
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.

Threat Research
/Security News
Socket uncovered secret-stealing workflows that ran in LiteLLM’s GitHub repository 11 days before the supply chain attack on PyPI and Docker.