Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

About

APCore toolkit and MCP, A2A, and CLI integrations for Python, Rust, and TypeScript

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

APCore Surfaces

The Toolkit, MCP, A2A, and CLI integrations for the APCore runtime ship together as apcore-surfaces. One package per language — Python, Rust, and TypeScript — with a shared conformance corpus and independent releases.

Define a capability once in APCore; expose it to AI clients (MCP), other agents (A2A), and terminals (CLI) with identical governance.

Install and first run · Documentation · Choose your surface · Migration guide · Changelog

What's in here

Surface What it does Documentation Shared conformance
Toolkit Scans capabilities into ScannedModule values, then writes, registers, or formats them Toolkit Fixtures
MCP Serves modules as Model Context Protocol tools and OpenAI functions MCP Fixtures
A2A Serves modules as an A2A 1.0 agent with skills, tasks, and streaming A2A Fixtures
CLI Projects modules into typed commands with approval gates and exit codes CLI Fixtures

New to the project? Read how APCore Surfaces works for the mental model, or install and run in five minutes.

Quick start

# Python
pip install 'apcore-surfaces[mcp,a2a,cli]'
apcore-cli --help

# TypeScript
npm install apcore-surfaces
npm exec -- apcore-cli --help

# Rust
cargo install apcore-surfaces --locked --features mcp,a2a,cli --bins
apcore-cli --help

All three SDKs target Core 0.34.1 in the current release. Each language SDK has its own version; see packages and imports for extras, Cargo features, and subpath exports.

Repository layout

Path Contents
python/ Python SDK: pyproject.toml, src/apcore_surfaces/{toolkit,mcp,a2a,cli}, tests, examples
typescript/ TypeScript SDK: package.json, src/{toolkit,mcp,a2a,cli}, tests, examples
rust/ Rust SDK: Cargo.toml, src/{toolkit,mcp,a2a,cli}, binaries, tests, examples
conformance/ Shared fixtures per surface, run by all three test suites
docs/ Documentation source (MkDocs Material)
scripts/ Release, staging, site-build, and verification tooling
migration/ Original repositories and version history for the individual packages

Develop from one checkout

Each SDK directory holds its package manifest, lockfile, and changelog; the package manifest defines that SDK's version. The commands below run from the repository root.

Language Install and test Build a distribution
Python uv sync --project python --locked --all-extras then uv run --project python --no-sync python -m pytest python/tests uv build --project python --out-dir dist
Rust cargo test --manifest-path rust/Cargo.toml --locked --all-features Stage and package the crate
TypeScript pnpm --dir typescript install --frozen-lockfile, pnpm --dir typescript build, pnpm --dir typescript test pnpm --dir typescript pack

Run scripts/build-site.sh _site with MkDocs Material installed to build the documentation; the script validates the landing page links, pins the displayed SDK versions, and generates each surface's llms-full.txt. The Core candidate workflow runs compatibility checks against a completed package verification run in the Core repository.

The release workflow accepts one or more SDK tags. Original repositories and versions provide the history for the individual packages.

License

Apache-2.0. See LICENSE.

About

APCore toolkit and MCP, A2A, and CLI integrations for Python, Rust, and TypeScript

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages