Skip to main content

Cerul

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.

Docs · Website · Main Repo · Follow on X

PyPI License Python


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

MIT

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)

Source distribution for cerul 0.0.6
File Size Uploaded
cerul-0.0.6.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cerul 0.0.6
File Interpreter ABI Platform
cerul-0.0.6-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page