Trust infrastructure for scientific AI agents — trace, cite, score.
Project description
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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file replicase-0.1.0.tar.gz.
File metadata
- Download URL: replicase-0.1.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d04cd2fb0291305f5b8396dcc2a726c9e98ef80e0a527c7701173689fb0caab
|
|
| MD5 |
bcddc3b9e8f3c64c912b81cabf82db05
|
|
| BLAKE2b-256 |
c77b26c8ee4028d0ebfb67038a00073b577ae9e6fbdd7c76b136ec957eff3b93
|
File details
Details for the file replicase-0.1.0-py3-none-any.whl.
File metadata
- Download URL: replicase-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e27c846b1988fac17b9b7882875c8a91e80655ad03192e4a84e961ebc8b77126
|
|
| MD5 |
15c351d3b7f1100ab333c49b8c1e69ee
|
|
| BLAKE2b-256 |
172de7b1ca05818fb6d8bc3d3f5e47b0f779520b4ddfa0ebfc7b2f2a1da2da0b
|