Registry / http-networking / agilicus

agilicus

JSON →
library1.422.13pypypi✓ verified 83d ago

The Agilicus Python SDK provides a client for interacting with Agilicus APIs, facilitating secure access to protected resources and management operations. It is currently at version 1.415.0 and appears to follow a rapid release cadence based on frequent version bumps on PyPI, often without detailed public release notes.

pip install agilicus
INSTALL
IMPORT
SIG · AGILICUS
A
agilicus
http-networkingpythonv1.422.13
Install
10.5s avg
Import
3210ms
Disk
155MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.415.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
installs and imports cleanly · install 0.0s · import 3.346s · 155MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 10.5s · import 3.075s · 157MB
155MB installed
● package 155MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

APIKey
from agilicus import APIKey
from agilicus import Agilicus
APIKeyIntrospect
from agilicus import APIKeyIntrospect
AgentConnector
from agilicus import AgentConnector

Initializes the Agilicus client and demonstrates listing users and accessing a protected resource. Requires `AGILICUS_CLIENT_ID`, `AGILICUS_CLIENT_SECRET`, and `AGILICUS_ISSUER` environment variables to be set for authentication.

import os import agilicus # Ensure AGILICUS_CLIENT_ID, AGILICUS_CLIENT_SECRET, AGILICUS_ISSUER are set as environment variables. # Example: os.environ['AGILICUS_CLIENT_ID'] = 'your_client_id_here' # The Agilicus client automatically picks up credentials from environment variables. # You can also pass them directly to the constructor. client = agilicus.Agilicus() try: # Example: List users (requires appropriate permissions) print("Attempting to list users...") users = client.list_users() if users: print(f"Successfully listed {len(users)} users. First user ID: {users[0].id}") else: print("No users found or client lacks permissions to list users.") # Example: Access a protected resource (replace with your actual resource path) print("\nAttempting to access a protected resource...") response = client.get_protected_resource("/api/v1/status") # Illustrative endpoint response.raise_for_status() # Raise HTTPError for bad responses (4xx or 5xx) print(f"Protected resource accessed successfully: {response.status_code}") print(response.json()) except Exception as e: print(f"An error occurred: {e}") print("Please ensure your Agilicus client is correctly configured with valid credentials and necessary permissions.")
Debug
Known issues
gotchaMany SDK operations require correct authentication credentials (CLIENT_ID, CLIENT_SECRET, ISSUER) and appropriate permissions for the client account. Misconfiguration often leads to 401 Unauthorized or 403 Forbidden errors.
fix
Ensure `AGILICUS_CLIENT_ID`, `AGILICUS_CLIENT_SECRET`, and `AGILICUS_ISSUER` environment variables are correctly set, or pass them directly to the `Agilicus()` constructor. Verify client permissions in your Agilicus console.
affects: All
gotchaAPI calls in the SDK often return `requests.Response` objects. Failing to check `response.raise_for_status()` or `response.ok` can lead to silently processing error responses (e.g., 404 Not Found) as if they were successful.
fix
Always call `response.raise_for_status()` after an API call (e.g., `client.get_protected_resource(...).raise_for_status()`) to automatically raise an `HTTPError` for bad responses, or explicitly check `response.ok` or `response.status_code`.
affects: All
gotchaThe SDK primarily offers high-level wrappers. For advanced HTTP request features (e.g., custom headers, streaming responses, specific timeout handling) not directly exposed by SDK methods, you might need to access the underlying `client.session` object or fall back to raw `requests` calls.
fix
Investigate if the `client.session` attribute provides access to the underlying `requests.Session` object for more granular control, or consider direct `requests` calls for highly specific HTTP interactions.
affects: All
Upgrade
Version history
1.422.13latest on PyPI · released Jun 11, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
49 hits · last 30 days
node
44
OpenAI (training)
1
Resources