Skip to main content

replicase

Trust infrastructure for scientific AI agents.

import replicase

replicase.init(api_key="rpl_test_...")

@replicase.trace(name="my_research_agent")
async def search(query: str) -> str:
    # ... your agent code ...
    replicase.cite(doi="10.1038/...", title="...", claim="X causes Y")
    return answer

Every traced call is captured, citations are NLI-scored against their source, and results show up in the Replicase dashboard. See the parent repo for full docs.

Install

pip install replicase

Configuration

Env var Default Required Notes
REPLICASE_API_KEY None Yes Your project key
REPLICASE_ENDPOINT https://api.replicase.bio No Override for local dev

Privacy

@replicase.trace captures function inputs and outputs and ships them to the API. Built-in regex redaction (default-on) scrubs common API-key prefixes, JWTs, bearer tokens, emails, US-SSN-shaped, and 13–19 digit card-shaped substrings. This is best-effort, not a security boundary — base64-encoded secrets, custom-format tokens, and internal hostnames will not be caught. Scrub at the source for regulated data.

Disable redaction with replicase.init(redact=False) (not recommended in prod) or supply a callable: replicase.init(redact=my_redactor).

Metadata

Release files for replicase 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for replicase 0.1.0
File Size Uploaded Provenance Actions
replicase-0.1.0.tar.gz 12.1 kB Without provenance Details for replicase-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 27.3 kB

Release files / replicase-0.1.0.tar.gz

Download URL replicase-0.1.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7d04cd2fb0291305f5b8396dcc2a726c9e98ef80e0a527c7701173689fb0caab
BLAKE2b-256 checksum
How to use checksums
c77b26c8ee4028d0ebfb67038a00073b577ae9e6fbdd7c76b136ec957eff3b93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / replicase-0.1.0-py3-none-any.whl

Download URL replicase-0.1.0-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e27c846b1988fac17b9b7882875c8a91e80655ad03192e4a84e961ebc8b77126
BLAKE2b-256 checksum
How to use checksums
172de7b1ca05818fb6d8bc3d3f5e47b0f779520b4ddfa0ebfc7b2f2a1da2da0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for replicase 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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