Back to Home
· product · apcore-toolkit
apcore-toolkit logo

apcore-toolkit

Shared Utilities for building apcore adapters

apcore-toolkit is a collection of consolidated utilities and base classes designed to simplify the creation of apcore adapters for various web frameworks and libraries. It provides a universal scanner base for endpoint discovery, powerful schema extraction logic for Pydantic and Zod models, and automated binding generation. By centralizing the heavy lifting of framework integration, the toolkit ensures cross-framework consistency and drastically reduces the boilerplate required to make any application AI-perceivable.

· 01

Features

01Universal Scanner Base: Robust framework-agnostic logic for discovering endpoints and modules
02Schema Extraction: High-performance extraction of JSON schemas from Pydantic and Zod models
03Binding Generation: Automated creation of apcore-compatible module definitions
04Cross-Framework Consistency: Shared logic ensures identical behavior across all adapters
05Boilerplate Reduction: Minimizes code needed to build new framework integrations
06Validation Utilities: Helper functions for runtime input/output contract verification
07Pydantic V2 Support: First-class integration with modern Python type validation
08Rust Edition 2021: High-performance toolkit implementation for Rust web frameworks
· 02

Get Started

Python · Implementation

Python utilities for building apcore adapters (Pydantic, Django, Flask).

Install
$ pip install apcore-toolkit
Quick Start
python.py
from apcore_toolkit import UniversalScanner, SchemaExtractor

# Create a scanner for a new web framework
class MyFrameworkScanner(UniversalScanner):
    def discover_endpoints(self):
        pass

# Extract schema from a Pydantic model
extractor = SchemaExtractor()
json_schema = extractor.extract(MyPydanticModel)
· related

Related Products

apcore logo

apcore

The schema-driven module development framework that the toolkit helps integrate.

View Product
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-cli logo

apcore-cli

High-performance CLI adapter for apcore modules.

View Product