{"id":43604441,"url":"https://github.com/inferadb/engine","last_synced_at":"2026-06-06T05:01:13.540Z","repository":{"id":336340458,"uuid":"1084696477","full_name":"inferadb/engine","owner":"inferadb","description":"The Authorization Database. High-performance, fine-grained access control at scale.","archived":false,"fork":false,"pushed_at":"2026-05-26T03:13:45.000Z","size":3079,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-26T05:32:05.557Z","etag":null,"topics":["access-control","authorization","caching","fine-grained-access-control","graph-database","grpc","inferadb","permissions","policy-engine","rebac","rest-api","rust","wasm","zanzibar"],"latest_commit_sha":null,"homepage":"https://inferadb.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inferadb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-10-28T03:15:29.000Z","updated_at":"2026-02-06T03:41:14.000Z","dependencies_parsed_at":"2026-03-09T05:16:29.521Z","dependency_job_id":null,"html_url":"https://github.com/inferadb/engine","commit_stats":null,"previous_names":["inferadb/engine"],"tags_count":87,"template":false,"template_full_name":null,"purl":"pkg:github/inferadb/engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inferadb%2Fengine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inferadb%2Fengine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inferadb%2Fengine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inferadb%2Fengine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inferadb","download_url":"https://codeload.github.com/inferadb/engine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inferadb%2Fengine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33969883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["access-control","authorization","caching","fine-grained-access-control","graph-database","grpc","inferadb","permissions","policy-engine","rebac","rest-api","rust","wasm","zanzibar"],"created_at":"2026-02-04T06:14:29.974Z","updated_at":"2026-06-06T05:01:13.514Z","avatar_url":"https://github.com/inferadb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cp\u003e\u003ca href=\"https://inferadb.com\"\u003e\u003cimg src=\".github/inferadb.png\" width=\"100\" alt=\"InferaDB Logo\" /\u003e\u003c/a\u003e\u003c/p\u003e\n    \u003ch1\u003eInferaDB Authorization Engine\u003c/h1\u003e\n    \u003cp\u003e\n        \u003ca href=\"https://discord.gg/inferadb\"\u003e\u003cimg src=\"https://img.shields.io/badge/Discord-Join%20us-5865F2?logo=discord\u0026logoColor=white\" alt=\"Discord\" /\u003e\u003c/a\u003e\n        \u003ca href=\"https://github.com/inferadb/engine/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://github.com/inferadb/engine/actions/workflows/ci.yml/badge.svg\" alt=\"CI\" /\u003e\u003c/a\u003e\n        \u003ca href=\"https://codecov.io/github/inferadb/engine\"\u003e\u003cimg src=\"https://codecov.io/github/inferadb/engine/graph/badge.svg?token=S4493HEHYQ\" alt=\"Code Coverage\" /\u003e\u003c/a\u003e\n        \u003ca href=\"#license\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg\" alt=\"License\" /\u003e\u003c/a\u003e\n    \u003c/p\u003e\n    \u003cp\u003eReBAC engine with declarative policies, graph evaluation, and sub-millisecond latency\u003c/p\u003e\n\u003c/div\u003e\n\n\u003e [!IMPORTANT]\n\u003e Under active development. Not production-ready.\n\nInspired by [Google Zanzibar](https://research.google/pubs/zanzibar-googles-consistent-global-authorization-system/). [AuthZEN](https://openid.net/wg/authzen/) compliant.\n\n## Quick Start\n\n```bash\ngit clone https://github.com/inferadb/engine \u0026\u0026 cd engine\nmise trust \u0026\u0026 mise install\ncargo run --bin inferadb-engine\n```\n\nCheck a permission:\n\n```bash\ncurl -X POST http://localhost:8080/v1/evaluate \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"evaluations\": [{\"subject\": \"user:alice\", \"resource\": \"doc:readme\", \"permission\": \"viewer\"}]}'\n```\n\n## Features\n\n| Feature | Description |\n|---------|-------------|\n| **Complete API** | Check, Expand, ListResources, ListSubjects, Watch |\n| **Multi-Tenant** | Data isolation via Organizations and Vaults |\n| **Wildcards** | Model public resources with `user:*` |\n| **Observable** | Prometheus, OpenTelemetry, structured logs |\n| **Storage** | Memory (dev) or Ledger (prod) |\n| **Extensible** | WASM modules for custom logic |\n\n## Architecture\n\n```mermaid\ngraph TD\n    Bin[inferadb-engine] --\u003e API[inferadb-engine-api]\n    API --\u003e Core[inferadb-engine-core]\n    API --\u003e Auth[inferadb-engine-auth]\n    Core --\u003e Repo[inferadb-engine-repository]\n    Core --\u003e Cache[inferadb-engine-cache]\n    Repo --\u003e Store[inferadb-engine-store]\n    Store --\u003e Memory[(Memory)]\n    Store --\u003e Ledger[(InferaDB Ledger)]\n```\n\n| Crate | Purpose |\n|-------|---------|\n| inferadb-engine | Binary entrypoint |\n| inferadb-engine-api | REST and gRPC endpoints |\n| inferadb-engine-core | Permission evaluation, IPL parser |\n| inferadb-engine-auth | JWT validation, JWKS, OAuth |\n| inferadb-engine-repository | Domain repositories |\n| inferadb-engine-store | Storage trait definitions |\n| inferadb-engine-cache | Result caching |\n| inferadb-engine-config | Configuration and secrets |\n| inferadb-engine-types | Shared type definitions |\n| inferadb-engine-const | Shared constants |\n| inferadb-engine-observe | Metrics, tracing, logging |\n| inferadb-engine-wasm | WebAssembly sandbox |\n\n## Configuration\n\nConfigure via `config.yaml` or environment variables (`INFERADB__ENGINE__` prefix):\n\n```yaml\nengine:\n  listen:\n    http: \"127.0.0.1:8080\"\n    grpc: \"127.0.0.1:8081\"\n\n  storage: \"ledger\"  # or \"memory\" for dev\n\n  ledger:\n    endpoint: \"http://ledger.inferadb:50051\"\n    client_id: \"engine-prod-001\"\n    namespace_id: 1\n\n  cache:\n    enabled: true\n    capacity: 100000\n    ttl: 300\n```\n\n## Development\n\n```bash\njust test        # Standard tests\njust lint        # Clippy\njust fmt         # Format\n```\n\nSee `just --list` for all commands and [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n## License\n\nDual-licensed under [MIT](LICENSE-MIT) or [Apache 2.0](LICENSE-APACHE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finferadb%2Fengine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finferadb%2Fengine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finferadb%2Fengine/lists"}