Install
ANIP is available across multiple ecosystems. Pick your language to get started.
Runtime packages
- Python
- TypeScript
- Go
- Java
- C#
Published to PyPI. Install the service runtime and a framework adapter:
pip install anip-service anip-fastapi
All published packages:
| Package | Purpose |
|---|---|
anip-core | Models, types, constants |
anip-crypto | Key management, JWT, signing |
anip-server | Protocol engine (delegation, audit, checkpoints) |
anip-service | Service runtime (capabilities, handlers) |
anip-fastapi | FastAPI framework adapter |
anip-rest | REST / OpenAPI interface adapter |
anip-graphql | GraphQL interface adapter |
anip-mcp | MCP Streamable HTTP interface adapter |
anip-studio | Studio embedded UI adapter |
anip-stdio | stdio transport (JSON-RPC 2.0) |
anip-grpc | gRPC transport |
Published to npm under the @anip scope. Install the service runtime and a framework adapter:
npm install @anip/service @anip/hono
All published packages:
| Package | Purpose |
|---|---|
@anip/core | Models, types, constants |
@anip/crypto | Key management, JWT, signing |
@anip/server | Protocol engine |
@anip/service | Service runtime |
@anip/hono | Hono framework adapter |
@anip/express | Express framework adapter |
@anip/fastify | Fastify framework adapter |
@anip/rest | REST / OpenAPI interface adapter |
@anip/graphql | GraphQL interface adapter |
@anip/mcp | MCP shared core |
@anip/mcp-hono | MCP adapter for Hono |
@anip/mcp-express | MCP adapter for Express |
@anip/mcp-fastify | MCP adapter for Fastify |
@anip/stdio | stdio transport (JSON-RPC 2.0) |
Consumed as a Go module via version tags:
go get github.com/anip-protocol/anip/packages/go@vVERSION
Packages in the module:
core, crypto, server, service, httpapi, ginapi, restapi, graphqlapi, mcpapi, stdioapi, grpcapi
Published to Maven Central under group dev.anip:
<dependency>
<groupId>dev.anip</groupId>
<artifactId>anip-service</artifactId>
<version>0.11.0</version>
</dependency>
All published modules:
| Module | Purpose |
|---|---|
anip-core | Models, types |
anip-crypto | Key management, JWT |
anip-server | Protocol engine |
anip-service | Service runtime |
anip-spring-boot | Spring Boot adapter |
anip-quarkus | Quarkus adapter |
anip-rest / anip-rest-spring / anip-rest-quarkus | REST adapters |
anip-graphql / anip-graphql-spring / anip-graphql-quarkus | GraphQL adapters |
anip-mcp / anip-mcp-spring / anip-mcp-quarkus | MCP adapters |
anip-stdio | stdio transport |
C# packages are available in-repo (NuGet publishing coming soon):
# From the ANIP repo root:
dotnet add reference packages/csharp/src/Anip.Service
dotnet add reference packages/csharp/src/Anip.AspNetCore
All projects: Anip.Core, Anip.Crypto, Anip.Server, Anip.Service, Anip.AspNetCore, Anip.Rest, Anip.Rest.AspNetCore, Anip.GraphQL, Anip.GraphQL.AspNetCore, Anip.Mcp, Anip.Mcp.AspNetCore, Anip.Stdio
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.