Skip to main content

Install

ANIP is available across multiple ecosystems. Pick your language to get started.

Runtime packages

Published to PyPI. Install the service runtime and a framework adapter:

pip install anip-service anip-fastapi

All published packages:

PackagePurpose
anip-coreModels, types, constants
anip-cryptoKey management, JWT, signing
anip-serverProtocol engine (delegation, audit, checkpoints)
anip-serviceService runtime (capabilities, handlers)
anip-fastapiFastAPI framework adapter
anip-restREST / OpenAPI interface adapter
anip-graphqlGraphQL interface adapter
anip-mcpMCP Streamable HTTP interface adapter
anip-studioStudio embedded UI adapter
anip-stdiostdio transport (JSON-RPC 2.0)
anip-grpcgRPC transport

Studio

Studio runs in two modes — no language dependency for standalone:

# Standalone via Docker (connects to any ANIP service)
docker build -t anip-studio studio/
docker run -p 3000:80 anip-studio

Or embedded inside a Python service:

pip install anip-studio
from anip_studio import mount_anip_studio
mount_anip_studio(app, service)
# → http://localhost:9100/studio/

Testing tools

# Conformance suite — validates protocol compliance
pip install -e ./conformance
pytest conformance/ --base-url=http://localhost:9100 --bootstrap-bearer=demo-human-key

# Contract testing — validates behavioral truthfulness
pip install -e ./contract-tests
anip-contract-tests --base-url=http://localhost:9100 --test-pack=contract-tests/packs/travel.json

For the full artifact story, see What Ships Today.