SDKs & CLI
Integrate with SDKs or direct HTTP, and manage policies with the CLI.
Integrate authorization without changing your technology stack. The documentation separates two levels of support: official SDKs and direct access through the HTTP API.
CLI & local development
Manage policies, test decisions and work from your terminal.
Framework integrations
Connect ReQlo to your agent runtime and tools.
Official SDKs
Official SDKs for TypeScript, Python, Go and Java, or the HTTP API from any language.
Official SDKs for TypeScript, Python, Go and
Java all do the same things the same way: authorize, enforce, approvals, delegations and
webhook verification. Each fails closed: only an explicit allow lets your code continue. Every other language calls
the HTTP API directly.
REST access from any language
Use your existing stackEvery SDK call is a plain HTTPS request. Use an HTTP client in C# / .NET, Ruby, PHP, Rust or any other language.
Explore REST and cURL →Authorize an agent action
Proposed APIcurl --fail-with-body -X POST "$REQLO_BASE_URL/v1/authorize" \
--max-time 3 \
-H "Authorization: Bearer $REQLO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent": { "id": "agt_assistant_42" },
"subject": { "id": "usr_94", "kind": "user" },
"action": "documents.read",
"resource": {
"type": "document", "id": "doc_831",
"attributes": { "owner_id": "usr_94" }
},
"context": { "document_classification": "internal" }
}'Direct HTTP, no SDK required. Set REQLO_BASE_URL to the server origin and keep REQLO_API_KEY on your server. Execute the action only after an explicit allow.
See the API reference for every route and Authentication for credentials.
What every SDK does
authorizereturns the decision;enforcereturns only on allow and raises or returns an error otherwise.- A 3-second timeout per attempt, and up to 2 retries for
429and5xxonly, with backoff. - Every response is validated; a malformed one is an error, never an allow.
- Typed errors for configuration, API, timeout, network, response and denial.
- Approval reads, and delegations: create, list, retrieve and revoke. Creating a delegation is never retried.
- Webhook signature verification.
- No runtime dependencies.
Compatibility
| SDK | Install | Runtimes |
|---|---|---|
| TypeScript | npm install @reqlo/sdk (0.3.0) | Node.js 20.18+, ESM |
| Python | pip install reqlo-sdk (0.1.0) | Python 3.10+ |
| Go | go get github.com/ReQlo-intelligence/reqlo-go (0.1.0) | Go 1.21+ |
| Java | io.reqlo:reqlo-java (0.1.0) | Java 11+, Kotlin |
The SDKs follow semantic versioning. See the Changelog for releases.
Community libraries
Community libraries are welcome but aren't reviewed by ReQlo. Check how they store keys and whether they fail closed before using them.
Something wrong or unclear? Report an issue with this page.