Skip to content

Latest commit

 

History

History
215 lines (114 loc) · 7.3 KB

index.md

File metadata and controls

215 lines (114 loc) · 7.3 KB
description apcore is an embeddable microframework for application capabilities that agents and code can call.

APStack Ecosystem · Python · TypeScript · Rust{ .apcore-hero__eyebrow }

apcore

Define once. Govern every call. {: .apcore-hero__tagline }

An embeddable microframework for application capabilities that agents and code can call. MCP tells an agent what it can call. apcore decides whether this call — with these arguments, by this identity — should run at all, and leaves evidence that it did. {: .apcore-hero__lead }

Get Started{ .md-button .md-button--primary } Why apcore?{ .md-button } APCore Surfaces ↗{ .md-button } {: .apcore-hero__actions }

Choose Your Path

New to apcore? Start here

If you are evaluating apcore or integrating your first capability, follow these pages in order:

Experienced developers & SDK implementers

Jump directly to task guides, subsystem references, or the normative specification:


Where apcore Fits (Use Cases)

  • :material-headset:{ .lg .middle } Customer support copilots


    Look up orders and require explicit approval before executing destructive actions like refunds.

  • :material-server-security:{ .lg .middle } Existing backends


    Expose selected operations to agents while sharing validation and approval policy with HTTP and CLI callers through the same Executor.

  • :material-graph-outline:{ .lg .middle } Internal automation


    Apply default-deny access rules and trace nested calls across modules with end-to-end context propagation.

  • :material-translate:{ .lg .middle } Multi-language services


    Share module IDs, JSON Schema contracts, and structured errors across Python, TypeScript, and Rust.

ACL checks run when the Executor has an attached ACL and its strategy includes acl_check. Use default_effect: deny as the fallback for unmatched calls in the ACL ruleset.

What It Looks Like

In the three-language Getting Started walkthrough, a refund is blocked until an approval handler is configured. The example then runs a valid call and shows how schema validation rejects a zero-cent refund.


Surface Adapters

apcore defines and governs the capability; independently versioned adapters in APCore Surfaces project registered modules onto external surfaces:

Use a protocol SDK directly when a single protocol surface is all you need. Use apcore when validation, access, approval, and audit semantics must stay consistent across callers or surfaces.


Current Versions

Component Package Stable In development
Protocol specification — 1.66.0 2.0.0 draft revision 5
Python SDK apcore 0.34.0 0.34.1
TypeScript SDK apcore-js 0.34.0 0.34.1
Rust SDK apcore 0.34.0 0.34.1

The Core SDKs in the 0.34.x line implement the protocol 2.0.0 draft. Surface adapters (apcore-mcp, apcore-a2a, apcore-cli, apcore-toolkit) are versioned independently and declare the core range they support in their package metadata.


Project

APStack Website · APCore Surfaces · Scope · Roadmap · Adopters · Changelog · Governance