🌐 AI搜索 & 代理 主页
Skip to content

The distributed inference engine for authorization — high performance fine-grained permission checks at scale. Inspired by Google Zanzibar and AuthZEN compliant.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

inferadb/inferadb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

InferaDB Logo

InferaDB

Discord License

Distributed fine-grained authorization engine with sub-millisecond latency at scale

Important

Under active development. Not production-ready.

Inspired by Google Zanzibar. AuthZEN compliant.

Quick Start

git clone https://github.com/inferadb/inferadb && cd inferadb
git submodule update --init --recursive
make setup && make engine-dev

Check a permission:

curl -N -X POST http://localhost:8080/v1/evaluate \
  -H "Content-Type: application/json" \
  -d '{"evaluations": [{"subject": "user:alice", "resource": "doc:readme", "permission": "viewer"}]}'

Response (SSE stream):

data: {"decision":"allow","index":0}

event: summary
data: {"total":1,"complete":true}

Features

  • Sub-millisecond latency — <1ms cached, 3-5ms uncached at 100K+ RPS
  • Declarative policies (IPL) — Version-controlled, testable, composable
  • WASM extensibility — Custom logic in sandboxed modules
  • Multi-tenant isolation — Per-tenant encryption, namespaces, audit logs
  • Graph-native ReBAC — Hierarchies, groups, ownership as traversable relationships

Components

Component Purpose
engine/ Authorization Engine (Policy Decision Endpoint)
control/ Control Plane (Policy Administration Endpoint)
dashboard/ Self-Service Management Interface
cli/ Administrative Command Line Tooling
tests/ End-to-end Integration Tests
docs/ Technical specifications, design documents, and deployment guides.
terraform-provider-inferadb/ Terraform Provider

Architecture

graph LR
    A[Client] --> B[Engine]
    A --> C[Control]
    B --> D[(FoundationDB)]
    C --> D
    B -.->|JWT validation| C
Loading

Stack: Rust, FoundationDB, gRPC/REST, Kubernetes

Commands

make help             # List all commands
make build            # Debug build
make check            # Format, lint, audit
make test             # Unit tests
make engine-dev       # Engine with hot-reload
make control-dev      # Control plane with hot-reload
make dashboard-dev    # Dashboard on localhost:5173

Kubernetes:

make k8s-start        # Start local K8s stack
make k8s-status       # Check deployment health
make k8s-stop         # Stop (preserves data)
make k8s-purge        # Remove all resources

Documentation

Community

Join us on Discord to discuss InferaDB, get help with your projects, and connect with other developers. Whether you have questions, want to share what you're building, or are interested in contributing, we'd love to have you!

License

Licensed under either of:

at your option.

About

The distributed inference engine for authorization — high performance fine-grained permission checks at scale. Inspired by Google Zanzibar and AuthZEN compliant.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •