Back to Home
· product · apcore
apcore logo

apcore

Cognitive Interface for AI Agents

apcore is an AI-native module standard that provides a Cognitive Interface for AI Agents. It ensures every module is inherently understandable by AI through enforced schemas, directory-as-ID discovery, and behavioral annotations. The framework organizes the AI Collaboration Lifecycle into four key stages: Discovery, Strategy, Governance, and Recovery. Featuring a secured execution lifecycle with a unified APCore client and enterprise-grade observability, apcore enables self-healing agents through standardized AI Guidance. Built to be language-agnostic, it provides seamless consistency across Python, TypeScript, and Rust.

· interactive

Interactive apcore-js Demo

Experience schema-enforced module development with our TypeScript SDK.

· 01

Features

01Cognitive Interface: Intent-oriented contracts for the AI-native era
02AI Collaboration Lifecycle: Discovery, Strategy, Governance, and Recovery stages
03Directory as ID: Zero-config module discovery based on filesystem hierarchy
04AI Guidance (Self-Healing): Standardized error format that teaches Agents how to recover
05Three-Layer Metadata: Core (Schemas), Annotation (Behavior), and Extension (Free Metadata)
06Unified APCore Client: Single entry point for registry, executor, events, and control
07Schema-Driven: Mandatory input/output contracts with LLM-specific extension fields
08Approval System: Secured human-in-the-loop enforcement for sensitive operations
09Observability: Ring-buffer ErrorHistory and UsageCollector for enterprise audit
10Cross-Language SDKs: Identical API and behavior for Python, TypeScript, and Rust
· 02

Get Started

Python · Implementation

Python reference implementation of the apcore specification.

Install
$ pip install apcore
Quick Start
python.py
from apcore import APCore

client = APCore()

@client.module(id="math.add", description="Add two numbers")
def add(a: int, b: int) -> dict:
    return {"sum": a + b}

result = client.call("math.add", {"a": 10, "b": 5})
· related

Related Products

apcore-mcp logo

apcore-mcp

Automatic MCP Server & OpenAI Tools bridge for any apcore-based project.

View Product
apcore-a2a logo

apcore-a2a

Secure Agent-to-Agent communication bridge for autonomous collaboration.

View Product
apcore-toolkit logo

apcore-toolkit

Shared utilities and scanner base for building custom apcore adapters.

View Product
apcore-cli logo

apcore-cli

High-performance CLI adapter for apcore modules.

View Product