Skip to main content

ReserveAI SDK

By insureAI

📔 Table of Contents

🌟 About the Project

The ReserveAI SDK (by insureAI) provides exclusive access to a powerful new approach for actuarial reserving. Designed to seamlessly integrate with ReserveAI and move beyond the limitations of traditional, static analysis, this toolkit introduces a systematic framework to address the core challenges of modern reserving: eliminating subjectivity, managing volatility, and providing a robust, defensible basis for your ultimate liability estimates.

At its core, the SDK allows you to effortlessly back-test thousands of model variations against your own data. Our proprietary evaluation engine assesses each model on multiple dimensions of performance. This provides a holistic and uniquely insightful view of model quality that conventional methods fail to capture. This SDK is designed for actuaries and risk managers who need to conduct reserve reviews with greater confidence and efficiency.

To get started, we recommend visiting our documentation:

  • The Tutorials provide step-by-step examples on using the SDK.
  • The FAQ has quick answers to common questions.
  • The Methodologies which may be accessed after contacting support@insureai.co.

🎯 Features

  • Run industry-standard actuarial methods: Run reserving methods such as Cape Cod, Chain Ladder, and Bornhuetter–Ferguson (with more methods in active development).

  • Triangle data utilities: Convenient representation of triangle datasets:

    • Switch between long or wide (triangle) views.
    • Plot standard reserving visuals.
    • Run quick diagnostics.
  • Data science friendly: Full interoperability with Pandas and Polars: input data and results can be seamlessly converted to and from dataframes. Thus, for more complex workflows, the full Python data science ecosystem can be brought to bear by extracting the underlying dataframes.

  • Automated model exploration: Each reserving run evaluates hundreds or thousands of model variations. The models are returned for review, comparison, and deeper analysis.

  • Rich model diagnostics: Inspect detailed outputs for chosen models, including triangle projections, cubes, and performance metrics, to support robust reserve reviews.

  • Server-side computation: All reserving runs execute on ReserveAI’s secure servers; the SDK provides a lightweight yet seamless interface for managing runs and fetching results through the ReserveAI REST API.

  • Multiple-line multiple-target support: Run multiple reserving methods on multiple lines of business and multiple target variables simultaneously.

🧰 Install

The SDK is available via PyPI, and hence can be installed using your preferred package manager:

  • Using pip:

    pip install reserveai[all]
    
  • Using poetry:

    poetry add reserveai[all]
    
  • Using uv:

    uv add reserveai[all]
    

There are several optional dependencies that can be installed using the [optional] extras syntax:

  • pandas: Installs the pandas dependency (e.g., uv add reserveai[pandas]).
  • polars: Installs the polars dependency.
  • plotly: Installs the plotly dependency.

These can be combined, e.g., reserveai[polars,plotly]. Use reserveai[all] to install all optional dependencies.

👀 Getting Started

To use the SDK against the ReserveAI API, you'll need ReserveAI client credentials. To obtain these, please contact us at support@insureai.co. Don't have credentials yet? Not a problem — the notebooks in the tutorials and recipes section that show how to get started with the SDK are already pre-rendered!

⚠️ License

The ReserveAI SDK is distributed under the Apache License 2.0; see LICENSE.txt for more information. (That license applies only to the SDK code; it does not grant any rights to insureAI's proprietary APIs, algorithms, or platforms.)

The use of the API (via the SDK, or directly) is subject to the API Terms of Use.

🤝 Contact

We are not actively accepting contributions at this time. However, if you encounter a bug, have a question, or wish to report a security vulnerability, please reach out to us at support@insureai.co.

💎 Acknowledgements and Citations

Full data attributions are available in The Actuary and IBNR Techniques: A Machine Learning Approach by Balona and Richman.

Metadata

Release files for reserveai 1.4.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 reserveai 1.4.0
File Size Uploaded Provenance Actions
reserveai-1.4.0.tar.gz 222.4 kB Without provenance Details for reserveai-1.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 473.5 kB

Release files / reserveai-1.4.0.tar.gz

Download URL reserveai-1.4.0.tar.gz
Size 222.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3802075ce8764b9ac0940de8eb5ba82410333825c5235e034389384fc20f8a52
BLAKE2b-256 checksum
How to use checksums
beb377d3385d8dfe61699493e6e42929804107fd1a1050ba85acfc705f866d5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.11.14

Release files / reserveai-1.4.0-py3-none-any.whl

Download URL reserveai-1.4.0-py3-none-any.whl
Size 251.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3152d3c0864e9dc6a26077b33d2066dc6b2ae970d79d6153511e4993bd6ba0ed
BLAKE2b-256 checksum
How to use checksums
b1a529216b8729c9186711f433d6be2cb1a9d2138c2a0409feb6f060ae97c0c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.11.14

Security for reserveai 1.4.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.

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