Feature Map
A complete inventory of what ANIP includes today, organized by layer.
Protocol primitives
| Feature | Description | Spec section |
|---|---|---|
| Capability declaration | Name, description, inputs, outputs, side-effect type, scope, cost | Capabilities |
| Side-effect typing | read, write, transactional, irreversible | Capabilities |
| Delegation | Scoped JWT authority chains with budget and purpose constraints | Delegation |
| Permission discovery | Pre-invoke check: available / restricted / denied | Permissions |
| Structured failures | Type, detail, resolution action, grantable_by, retry | Failures |
| Cost signaling | Declared range before invoke, actual cost after | Cost |
| Capability graph | Prerequisites and compensation path declarations | Capabilities |
Trust and verification
| Feature | Description |
|---|---|
| Signed manifests | Cryptographic signature via X-ANIP-Signature header |
| JWKS | Standard JSON Web Key Set for signature verification |
| Audit logging | Protocol-level logging with event classification, retention policy |
| Merkle checkpoints | Tamper-evident audit history with inclusion proofs |
| Trust posture | Service-declared trust level: declarative → signed → anchored |
Runtimes
| Runtime | Service package | Framework adapters |
|---|---|---|
| TypeScript | @anip/service | Hono, Express, Fastify |
| Python | anip-service | FastAPI |
| Java | anip-service | Spring Boot, Quarkus |
| Go | service | net/http, Gin |
| C# | Anip.Service | ASP.NET Core |
Transports
| Transport | Wire format | Runtimes |
|---|---|---|
| HTTP | REST-like endpoints | All 5 |
| stdio | JSON-RPC 2.0 | All 5 |
| gRPC | Protobuf / HTTP/2 | Python, Go |
Interface adapters
| Adapter | Generated from | Endpoint |
|---|---|---|
| REST | Capability declarations | /api/* (OpenAPI + Swagger UI) |
| GraphQL | Capability declarations | /graphql (SDL + directives) |
| MCP | Capability declarations | /mcp (Streamable HTTP) |
Tooling
| Tool | Purpose | How to use |
|---|---|---|
| Studio | Inspection + invocation UI | Embedded at /studio or standalone Docker |
| Conformance | Protocol compliance testing | pytest conformance/ against any HTTP service |
| Contract testing | Behavioral truthfulness verification | anip-contract-tests with test packs |
| Showcase apps | Reference implementations | Travel, finance, DevOps — full protocol surface |