Cerul Python SDK
The video search layer for AI agents.
Teach your AI agents to see — search by meaning across visual scenes, speech, and on-screen content.
Install
pip install cerul
Quick Start
from cerul import Cerul
client = Cerul() # reads CERUL_API_KEY
for r in client.search(query="Sam Altman on AGI timeline"):
print(r.title, r.url)
Get a free API key at cerul.ai/dashboard.
Examples
# Search with filters
result = client.search(
query="Jensen Huang on AI infrastructure",
max_results=5,
ranking_mode="rerank",
include_answer=True,
filters={"speaker": "Jensen Huang", "published_after": "2024-01-01"},
)
# AI-generated answer
print(result.answer)
# Check credits
usage = client.usage()
print(f"{usage.credits_remaining} credits remaining")
Async
from cerul import AsyncCerul
async with AsyncCerul() as client:
result = await client.search(query="attention mechanism explained")
Configuration
client = Cerul(
api_key="cerul_sk_...", # or CERUL_API_KEY env var
timeout=30.0, # default 30s
retry=True, # retry 429/5xx/network errors
)
Error Handling
from cerul import CerulError
try:
client.search(query="test")
except CerulError as e:
print(e.status_code, e.code, e.message)
Links
- CLI —
curl -fsSL https://cli.cerul.ai/install.sh | bash - TypeScript SDK —
npm install cerul - Main repo — docs, skills, remote MCP
License
Metadata
Release files for cerul 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cerul-0.0.6.tar.gz | 7.9 kB | With provenance | Details for cerul-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cerul-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for cerul-0.0.6-py3-none-any.whl |
Total release size: 16.5 kB
Release files / cerul-0.0.6.tar.gz
| Download URL | cerul-0.0.6.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b333c5a2d8f1347b5ef26b4c9b4fac05f0bae3f0500ca8a6d5ccc6597b2392a5
|
|
BLAKE2b-256 checksum How to use checksums |
92257ee9efaeaaeec6af319109881100658a3aa17f3077d528c51491828b92bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 6, 2026.
Transparency logRelease files / cerul-0.0.6-py3-none-any.whl
| Download URL | cerul-0.0.6-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81162ad268f508d6e68986f6d37a6a999b92877266d9bfb9e3b7ecba659574d4
|
|
BLAKE2b-256 checksum How to use checksums |
74012fda2cdec3e445f9f2cc4033403b410a9ba08571b17514c894b9fa6537e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 6, 2026.
Transparency logSecurity for cerul 0.0.6
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cerul-0.0.6.tar.gz
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 Apr 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.