risicare-core
Shared types, context propagation, and error taxonomy for Risicare, the observability and error diagnosis service for AI agents.
This package is a dependency of the risicare SDK. You typically don't install it directly.
pip install risicare
What's Inside
- Type system —
Span,SpanKind,SpanStatus,LLMAttributes, ID generation - Context propagation — session/agent/phase tracking for threads and async tasks via
contextvars(one known issue: a block that exits in another context than the one that entered it; see the change log) - Error taxonomy — 154 error codes across 10 modules (Perception, Reasoning, Tool, Memory, Output, Coordination, Communication, Orchestration, Consensus, Resources)
- Observability — Prometheus-compatible metrics and context health reporting
secret_box— symmetric encryption for secrets at rest. It needs thecryptoextra (pip install risicare-core[crypto]); without it,encrypt_secretanddecrypt_secretraiseSecretBoxError(aRuntimeError, not anImportError)
No required dependencies. Pure Python 3.10+.
License
Proprietary from 0.1.8. You need a commercial licence. See LICENSE. It is the
same licence as risicare. Versions 0.1.7 and earlier were published under the MIT licence;
that grant stays for those versions and does not apply to 0.1.8 or later. To stay on the MIT
version, pin risicare-core<0.1.8: every published risicare up to 0.4.0 asks for
risicare-core with no upper bound, so a new install of any of them takes 0.1.8.
Links
Metadata
Release files for risicare-core 0.1.8
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 |
|---|---|---|---|---|
| risicare_core-0.1.8.tar.gz | 71.4 kB | With provenance | Details for risicare_core-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| risicare_core-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for risicare_core-0.1.8-py3-none-any.whl |
Total release size: 121.0 kB
Release files / risicare_core-0.1.8.tar.gz
| Download URL | risicare_core-0.1.8.tar.gz |
|---|---|
| Size | 71.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2297452ff0e21b4a18d74fab59ec7f0aad49edad502b5f1bca55ed281584692
|
|
BLAKE2b-256 checksum How to use checksums |
617369497fa9da83896e79db8b5ee7f1fadd08f4506e3a675c2cc9730be666c1
|
| 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 4, 2026.
Transparency logRelease files / risicare_core-0.1.8-py3-none-any.whl
| Download URL | risicare_core-0.1.8-py3-none-any.whl |
|---|---|
| Size | 49.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b9f17a393cdeed8c30abba804b6d921c8ab45fd28ea704326567ed1daad1988
|
|
BLAKE2b-256 checksum How to use checksums |
38be2efe7ce0eecb47e455fb2cc7613da23b3c4b786bf89992414e2e01ec9534
|
| 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 4, 2026.
Transparency logSecurity for risicare-core 0.1.8
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 risicare_core-0.1.8.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 Oct 4, 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.