Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Hanane Dupouy, Fayssal El Mofatiche

Rating No ratings yet

No description

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A hands-on field guide to designing, evaluating, and deploying AI agents that survive contact with real financial workflows—not just demos. Best for Python-fluent engineers, quants, and fintech architects who already know LLMs and now need agentic systems that pass compliance, cost, and reliability scrutiny. 【Book Arc】 - **Opening (~0%–10%)**: Frames the gap between generic agentic-AI explainers and finance-grade systems, then previews the full path from LLM foundations to production governance. - **Early (~10%–32%)**: Builds fundamentals—LLM capabilities and limits, open- vs. closed-source and reasoning vs. non-reasoning models, prompting/fine-tuning/RAG trade-offs, and when an agent is actually warranted. Introduces design patterns, memory (working memory for portfolio state), the ReAct loop, guardrails, and evaluation feedback. - **Middle (~32%–55%)**: Surveys agent frameworks through a finance lens—LangGraph/LangChain, CrewAI, OpenAI Agents SDK, Google ADK, LlamaIndex, Mistral Agents API, smolagents, PydanticAI—covering orchestration, human-in-the-loop checkpoints, cost profiles, and vendor-sustainability risk. - **Late (~55%–85%)**: Applies the stack to financial use cases: fundamental analysis, deep research, trading, insurance, and compliance, with Python labs and a worked AAPL pipeline (excerpts do not detail every chapter here). - **Ending (~85%–100%)**: Operationalizes agents—harness and execution loop, observability and tracing, deployment and versioning, guardrails, governance with human oversight, model risk reporting, and a production reference architecture plus readiness checklist. 【Key Takeaways】 - **Agents are a deliberate choice, not a default** (Early): the book insists you distinguish agentic from non-agentic systems and justify when autonomy is worth the added cost and risk. - **LLM limitations drive the architecture** (Early): knowledge cutoffs, private-data gaps, and hallucination risk are addressed through prompting, fine-tuning, RAG, and agents—each with distinct trade-offs. - **ReAct is the canonical reasoning loop** (Early): Thought → Action → Observation, demonstrated with a LlamaIndex agent fetching live stock prices via a tool. - **Memory must be designed, not assumed** (Early): working memory tracks portfolio state, constraints, and intermediate calculations across steps, then clears when the task ends. - **Framework choice is a finance decision** (Middle): LangGraph offers graph-based control and human-in-the-loop checkpoints; Mistral appeals for cost control and EU data sovereignty; lean frameworks like PydanticAI and smolagents reduce overhead. - **Cost is an architectural constraint** (Middle): batch APIs, application-level caching, per-agent token budgets, and cost-per-step tracking are treated as first-class design concerns. - **Evaluation and guardrails are layered** (Early/Middle): input, output, and tool guardrails validate scope, sensitive data, and tool arguments; LLM judges and drift detection support model risk reporting. - **Production readiness is a checklist, not a vibe** (Ending): harness, security, cost, observability, deployment, guardrails, and governance each get explicit readiness criteria. 【Reading Tips】 - Deep-read Chapters 1–2 if you are new to agents; skim if you already build ReAct loops, but do not skip the "when not to use agents" discussion. - Treat the framework survey as a decision matrix, not a tutorial—extract cost, observability, and lock-in trade-offs before committing. - Run the companion notebooks; the book explicitly keeps API costs to cents and points to GitHub for full reproducibility. - Pay special attention to the AAPL pipeline post-mortem—its failure modes (unsourced editorializing, ignored instructions, assumed parallelism) are the most transferable lessons. - Use the ending readiness checklist as a pre-deployment gate rather than reading it as a summary. 【Coverage Limits】 This guide is synthesized from stratified excerpts covering roughly the opening through the middle of the book; later financial use-case chapters and detailed deployment mechanics are only partially represented, so specifics there may be thinner than the book itself.
Page 1
ter core AI agent design patterns and apply them to finance Compare major AI agentic frameworks and learn how to select the DBueisldig ann &d ddeeppllooyy rf...
View in text
Excerpt 2
ll transcript summarization task. OpenAI API - GPT-4.1-mini In this sub-flab, we will use idx_c37156d6the Responses API endpoint from OpenAI idx_b57dee95to c...
View in text
Excerpt 3
hapter 2 92 Below is an example of "unsuccessful" feedback: **************************Running Evaluation:************************** Evaluator score: unsucces...
View in text
Excerpt 4
latory requirements discourage reliance on US hyperscalers. Chapter 3 144 and cost analysis in week four, then a gate review to pick the winner and plan reme...
View in text
Excerpt 5
[output from step 1b] RISK ASSESSMENT: [output from step 1c] VALUATION ANALYSIS: [output from step 2] IMPORTANT: - Do not skip any step. All four specialist...
View in text
Excerpt 6
80% of the work: Bustamante estimates that at Fintool, data normalization, that is, converting heterogeneous sources into clean, consistent formats (Markdown...
View in text
Excerpt 7
lues, and returns the medians together with the sample size. Using the median rather than the mean is intentional; sector multiples tend to be heavily skewed...
View in text
Excerpt 8
goes further: it leverages the language model's ability to produce verbal self-reflection and scoring, and it stores past trajectories and reflections in an...
View in text
Tags
AI categories
Artificial IntelligenceAIBackend
ISBN: 1837022291
Publisher: Packt Publishing
Publish Year: 2026
Language: English
Pages: 758
File Format: PDF
File Size: 10.5 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…