SAP Building Agentic Systems (Milvus Community Meetup)

chloewilliams62 12 views 16 slides Oct 22, 2025
Slide 1
Slide 1 of 16
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16

About This Presentation

This is Nicholas Roze-Freitas's speaker slides from the October Milvus Community Meetup.


Slide Content

CONFIDENTIAL
Building Agentic Systems
By Nicholas Roze-Freitas

My Background
•10 Months in SAP Academy for Product & Engineering
•Studied Data Science and Math at UCSB
•Data Scientist building agents at SAP Concur

Agentic Systems?
•Different categories of Agentic Systems
•independent, fully autonomous
•More prescriptive implementation that
follows a flow
•LangChain’s blog writes often times Agentic
Systems in production are a combination

Complex
Reasoning
Dynamic
Decision-making
Unstructured
Data
When are Agents good to use?

Main Components Of An Agent
•LLM
•Tools
•Memory
•Short term
•Long term
Langgraph

Building Agents
•Tons of frameworks
•Langchain / Langgraph
•CrewAI
•Google ADK
•OpenAI Agents SDK
•… and more!
•Agents themselves are pretty simple
•Most frameworks implement the same loop





Also Langgraph

The Loop
•Feed Messages to LLM
•If LLM called tools
•Call tools & add results to messages
•If LLM responds with text
•Get user feedback if applicable
•Or do something custom






Again Langgraph

Some Hidden Challenges
•Security
•Malformed & incorrect tool calling
•Message history and context management

Agents
Sometimes

Hidden Challenge: Security
•LLMs can generate malicious outputs
•User/company data isolation
•Console commands
•Solution?
•Design interactions with implicit guardrails
•User/company based instances of tools
Agents
Sometimes
(again)

Hidden Challenge: Malformed Function Calls
•LLMs can fail to generate function calls
•Malformed function calling can break up
flows
•Solution?
•Define tools with primitives
•Implement custom error handling

Hidden Challenge: Context
•Agents can forget things
•Context helps agents understand their task and
get information
•Solution?
•Keep most important info at top of context
•Design RAG systems to pull context
dynamically



Agents Thinking
Really Hard

My Library of choice: LangChain & LangGraph

Why I like Lang(Chain/Graph)
•Offers high and low level APIs
•Represents agentic systems as a graph
•Low level APIs give the ability to build highly
customizable solutions
•Building blocks
•Mitigations
•Compliance
Some Companies Using
LangGraph

Getting Started
•LangGraph/Langchain offers high level APIs that are
easy to start with
•create_agent
•middleware
•Or get into the weeds and just start with LangGraph!

What I’m Excited About
•Fine-tuned small language models
•Large model inference is expensive & unnecessary
•Agent’s often handle specialized tasks

Thank you + Questions
Connect with me on LinkedIn @ Nicholas
Roze-Freitas