Skip to main content

risicare-core

Shared types, context propagation, and error taxonomy for Risicare, the observability 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 the crypto extra (pip install risicare-core[crypto]); without it, encrypt_secret and decrypt_secret raise SecretBoxError (a RuntimeError, not an ImportError)

No required dependencies. Pure Python 3.10+.

License

Proprietary from 0.1.8. 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.

Metadata

Release files for risicare-core 0.1.9

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

Source distribution (sdist)

Source distribution for risicare-core 0.1.9
File Size Uploaded Provenance Actions
risicare_core-0.1.9.tar.gz 71.8 kB With provenance Details for risicare_core-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for risicare-core 0.1.9
File Interpreter ABI Platform Actions
risicare_core-0.1.9-py3-none-any.whl Python 3 none any Details for risicare_core-0.1.9-py3-none-any.whl

Total release size: 125.8 kB

Release files / risicare_core-0.1.9.tar.gz

Download URL risicare_core-0.1.9.tar.gz
Size 71.8 kB
Tags Source
SHA-256 checksum
How to use checksums
57c96d6f209692652ef23b12bfa51d7e1bb8e9534d914307a101d81276b5f0e3
BLAKE2b-256 checksum
How to use checksums
a9415c37da051393705d4d6cbf78955c0e8b37652737cc9696af5f07c3f8c876
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 Nov 18, 2026.

Transparency log

Release files / risicare_core-0.1.9-py3-none-any.whl

Download URL risicare_core-0.1.9-py3-none-any.whl
Size 54.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
360bfe23d84ae9905d6d52c35c223c66f6eca9b7fcb4f5eab113992da0709c3f
BLAKE2b-256 checksum
How to use checksums
e1a3fa4ba03cd0dfe17f57da6d4a99fb1243115e6feba602554a2351fc880788
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 Nov 18, 2026.

Transparency log

Security for risicare-core 0.1.9

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.

Select from 2 files

Attestation for risicare_core-0.1.9.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 Nov 18, 2026.

Transparency log

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.

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