arex-python-sdk
Python client for the AREX public API, synchronous and asynchronous. Python >= 3.10; the only dependency is httpx.
Install from PyPI:
pip install arex-python-sdk
Or download the .whl from GitHub Releases and run pip install ./arex_python_sdk-*.whl.
from arex import Arex
with Arex() as arex: # reads AREX_API_KEY
search = arex.search("how are AI agents evaluated", limit=5)
for item in search.results:
page = arex.browse(item.url, max_characters=4000)
run = arex.research.run("Compare agent evaluation benchmarks", mode="fast")
assert run.result is not None # always set once run() returns
print(run.result.answer, search.credits.remaining)
AsyncArex mirrors every call as a coroutine under async with.
The SDK follows the checked-in v1 OpenAPI contract. Keep API keys server-side.
Search, browse and research creation consume credits; consult your AREX account for current pricing. Usage checks, polling and other research lifecycle calls are free. Retries are new charged requests; failures are refunded and cancellations are charged.
- API reference: options, models, errors, exports.
- Behavior: credits, deadlines, retries, polling, and recovery.
- Examples: runnable scripts.
Metadata
Release files for arex-python-sdk 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arex_python_sdk-0.3.0.tar.gz | 20.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arex_python_sdk-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.9 kB
Release files / arex_python_sdk-0.3.0.tar.gz
| Download URL | arex_python_sdk-0.3.0.tar.gz |
|---|---|
| Size | 20.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94508315ca81378c05080804c0d88de798412e11008cc2da80b2c2cf2faeb988
|
|
BLAKE2b-256 checksum How to use checksums |
2acfdefd2b535e659b1cf5957d1749e11974dd1f164209a065e7b042419ea973
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logRelease files / arex_python_sdk-0.3.0-py3-none-any.whl
| Download URL | arex_python_sdk-0.3.0-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a811f67b2f12e8f689bef63ac184d9ab9cd5d1622af6de82fd44f014c1f0bcdf
|
|
BLAKE2b-256 checksum How to use checksums |
453aa2ec6dd5d3d70a618cab582bba223247dd9e6a74f0904ba11277bba9c6a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency log