The book is out★Agentic AI for Actuaries★First edition, 2026★Free from ACTEX Learning★
First edition 2026 · ACTEX Learning

The book is out.

Agentic AI for Actuaries free to read and download

A practical guide for actuaries who want to build, run, and govern AI agents, starting from no AI background at all. This site holds the book’s code, and you can run it here.

Published byactexlearning.com/textbooks/agentic-ai-for-actuaries
18Chapters

Five parts, from first principles to governance

9With code

Chapters 9 to 17, every listing runs

4Practice areas

Pricing, reserving, life, risk

0Cost

Book free at ACTEX, code on GitHub

Parts III to V

Nine chapters of runnable code

Each chapter works a case at Meridian Re, a fictional reinsurer. Pick one and press Run.

All listings →

Running it

Three ways to run the code

Start in the browser. Move to Colab when you want to change more than a few lines.

In your browser

No setup

The tool scripts run on Python compiled to WebAssembly, right in the page. Change a number, run it again. Nothing leaves your machine.

Live on our server

Gemini + Agno

The agent scripts need a model, so they run on our server against Gemini. You see each tool call and the reply as they happen.

In Google Colab

Your own key

Every chapter opens as a notebook. Add a free Google AI Studio key and run the whole thing, with no shared limits.

Keys, Colab steps, and local install are on the setup page. The datasets are synthetic, and described on the data page.

Chapter 9

Watch an agent work live

The first agent in the book. Press Run and it executes on our server, with each tool call shown as it happens.

Live

01_column_agent.py

live agent on GeminiSource on GitHub

A single Gemini agent reasons about which triangle column to trust.

about 20s · live model callOpen in Colab
# ── Section purpose: a minimal Agno agent that explains a column name ──
# Book reference: Chapter 9, §9.6 "Your First Agent (Code)"
from agno.agent import Agent              # high-level Agent class
import os
import sys
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))  # for common/
from common.config import get_model


# Tool the agent can call. Agno turns this Python function into a tool
# definition automatically by reading the type hints and the docstring.
def lookup_column_definitions(column_name: str) -> str:
    """Look up the definition of a claims-triangle column.

    Args:
        column_name (str): The column name to look up.
    """
    definitions = {
        'paid_loss_usd':     'Cumulative paid losses to date, in USD.',
        'reported_loss_usd': 'Cumulative reported losses (paid + case reserve), in USD.',
        'case_reserve_usd':  'Case reserve held on open claims, in USD.',
        'payment_currency':  'ISO currency code of the original payment, free text.',
    }
    return definitions.get(column_name, 'Unknown column.')


# Build the agent. Agno wraps the loop for us; we supply tools and instructions.
column_agent = Agent(
    model=get_model(),
    tools=[lookup_column_definitions],
    instructions='Explain claims-triangle columns clearly and concisely.',
    tool_call_limit=5,                   # cap tool calls per run, like an iteration cap
    markdown=True,
)

# Run the agent on a goal. print_response runs the full loop and prints the answer.
agent_goal = "Explain what the column 'payment_currency' means in the motor triangle."
column_agent.print_response(agent_goal, stream=True)

Runs the unmodified chapter script on the server and streams the agent's tool calls and reasoning here.

The book

What the book covers

From zero AI knowledge to building, deploying, and governing autonomous actuarial systems. No prior programming or AI background assumed; mathematical maturity expected.

chapters
18chapters

in five parts, from AI literacy to production governance

with code
9with code

chapters 9 to 17, every listing runnable

practice domains
4practice domains

pricing, reserving, life and pensions, risk

fictional reinsurer
1fictional reinsurer

Meridian Re, whose synthetic data every example uses

Authors

The authors

Two actuaries, one who has run actuarial technology teams for thirty years and one who writes the code.

Full biographies →
Portrait of Satya Sai Mudigonda

Satya Sai Mudigonda

CPCU, PMP, AIAI

Senior tech actuarial consultant and Professor of Practice; Chairman of the Sri Sathya Sai Institute of Actuaries. Thirty plus years across actuarial practice, technology leadership, and data science research.

Portrait of Rohan Yashraj Gupta

Dr Rohan Yashraj Gupta

PhD, FIA, FIAI

The first person in India to earn a PhD in actuarial science. Eight years of life and non-life insurance experience, nine published papers, and adjunct faculty at the Sri Sathya Sai Institute of Actuaries.

Written with the Sri Sathya Sai Institute of Actuaries.