Metadata-Version: 2.4
Name: risicare-core
Version: 0.1.5
Summary: Core types and taxonomy for Risicare Agent Self-Healing Infrastructure
Project-URL: Homepage, https://risicare.ai
Project-URL: Repository, https://github.com/risicare/risicare-sdk
Author-email: Risicare <founders@risicare.ai>
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Typing :: Typed
Requires-Python: >=3.10
Provides-Extra: dev
Requires-Dist: mypy>=1.0.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Requires-Dist: ruff>=0.1.0; extra == 'dev'
Description-Content-Type: text/markdown

# risicare-core

Shared types, context propagation, and error taxonomy for [Risicare](https://risicare.ai) — self-healing infrastructure for AI agents.

This package is a dependency of the [`risicare`](https://pypi.org/project/risicare/) SDK. You typically don't install it directly.

```bash
pip install risicare
```

## What's Inside

- **Type system** — `Span`, `SpanKind`, `SpanStatus`, `LLMAttributes`, ID generation
- **Context propagation** — Thread-safe and async-safe session/agent/phase tracking via `contextvars`
- **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

Zero external dependencies. Pure Python 3.10+.

## Links

- [Risicare Documentation](https://risicare.ai/docs)
- [Risicare SDK](https://pypi.org/project/risicare/)
