SlideShare a Scribd company logo
01 What is an AI Agent?
50 ,*+/* )*0,4))*40/4 0*0,4))*40, 40,.5'$*2
0 40, /,*0*0 0*0,4))*40, 00415,
%4/4*!42*,240!*040,, 42 /,*02
,02)*04, /*4!4 )2 0 
*%!4*,2%4 0/4*,)4 0*0
/**00)44
#
/% )+* '+'  )!+) $
/ +  - /  )+ +* 
/    + ))+) '  
*)+  + ' + 
/   ' +  
)+
# $''
'#%'
# '=;'8
5'48''L=
0%'.;'M
=%'6H5'=
5;',,=,'
@*9,+=''=;)(
(#$%#
(#
(# %#  #
( # (' 
(  ## #
(
(*,+')#
# , 
 
 )##
$ $!  ! 
 !$   ! $! 
!%   ! !
      $ $
!  $   $ 
% 
 !   !$$!
!')#

$($

$
.-+.$*-%#-%$'*.$!- !.-'.
%-$'-+)!-#% -%$!'
$*%-$'$*$$'+.$*.-**-
$#%-,$.%%-*-%+.$*.
#- %$$ -%$%#%-%'
%$
--' # $
02 Demos
03 DeconstructinganAIAgent
nbq^rlKqVqs_JqJoltqr`lqrl=TSbhXqJb9rS_bq(Sr`qr`lolqKh=hTlrl=oY
ZNQQ/PLHG/PLNZFF;MBgNO
AjNRUjAHjMZgPUg:G/PLNZggPA/88MLNPAjgQ/ZjgPMm
]`lq_XX_(Sb@q=loJXroq(l=lq=lrJ=bltY
E 6 ke%ekeD
[ E3 60-E 6 +'E Cek# -eCkeek#'3*- *eIe
3 66  '?a-  a ae3 3a- aE 6  a-  a aeE 6 4
[ E'*-7[!k+kk -  3 1
, ?-E?aaE 6 e )
-  0  -     E' * 6 d
-   0 '#      - 3'  $
 E 3EE  e
03 ExecutionEnvironment
Someagenttoolsmaybecapableofperforming
dangerous/destructiveoperations(ieshell,
python,etc.).Thesetoolsshouldbeexecutedina
safe/secureenvironment.
%$   
$    $
 $ $$
'#3 ; @22 2)  )+    (;; @;.
'%2  @! ''$B  2 ' C'@'$B
') ; +2 ;)3    2    2; ;@ ;  +@ 
@   ) (@+ 5(@; + )2:
'  ; (;; @2 ;@  ; 2(@+  @:
' ;  ; @+;,,% ;    2 @+  @2  9
!    2) @ ( 2 ;
03 ExamplePrompt
[EXAMPLEPROMPT]
-  -   4% ,$--4!
 1  $ ,  3 ,.   !
 1    (
,
    *  
4
03 DeconstructinganAIAgent
7-/.,!%!6     !
3 ! !2
7-/ 10*  !!      
6 ! !!5     6 6  ! 
 6%  !% 7-/.,1#!  !!! 6  
!!2
' !!  %  !% *!#
!  6 1
5/ .- (  #  --#*-.--
#  -   *--  -(  -!
-#---(   - -#
2 !-! ( / #
0 -(--  -5 --
84?  4 1?CCE  5
34 ,// DD4 + G ?4*
D)3 D*D) 3*)?D4 
? 343 0

@$!=@ @6=!($-@
@!=$6@ .($6@ @$9#=(#$@
@6#6@ @=($($9#(($6--=9#$6(!($=
;,;;%9'**9;'5;2*;*/9$2*;;
#*;))0;$,;*/#;$,*9/$,;#;9*15$9*;;
**/$,!
.: 4;*615*9
.:43;*,'*;15*$+
.: 7 ;#$;;;5;; ;;15*$,;25;#*;* ;/,*,;
 ;,;*;$,/5$,;5''9$$,;5;%*/$ ;#*;*,'*; ;#*;*;5$,;
#*;8*,'*8;%9'**9;,;%*/$ ;59;15*$,;5$,;#*;815*$,8;
%9'**9
0 $.#'-/( !#(
0 .#'-#'!#(
0 '!#'-#( 
0 # ( !#(
0 -(*( #
0  ( #
0  *  #(!#'-
(  '! ( %  %    ' 
       !    
 $      '     
    '
04 PromptingStrategies
$
# # #!
  
$ $ $$$$ $
#! $ 
$#$$%$$$!
$## 
$$  $## $!
%$$## 
(' $!#$#
$-+. (# -
, ( (*%   *( (!* ( %*(
%(*(*( (* ( ( */'
(  (% ( ( (! (  (
   *(,% ((% %( *)
(   (% ( ( (   ( ( ( (
  ( %( (  ( (%(
(%*(  (  *
10 $ (-8(9-7694(3-2
4-7$C
# 
    !
    !
 #    !
     #  #
#
%$  ,
# #  # #
      !
     
  

  
 !  
  
%$ # #  # #
) (!
) 32-'/.4(,2#-!-2--
+2122-2-122!!-2-1-
1!-112-1-!2-
!2$1
 32-  .4(-2212!-2-#-
0-2-!-2--2--
2
 % /.4-+2122!-$2#-!2#0*
221!--$2-$##2-
022 -0-02-#!
65 :221
!2
[Y9,TQPRVMFRR/TIE
:? [=Q,TV7Q3T/=Q1V;QPV37XT,7R37QV/70V
=T3/Q31V-*H)(#J*.U -B
? X/YF/Q,TV/==3Q1V-V/1V7FQV/70V
T,0F=31V/VOH#DU OB
? M3Y4V$33=Q,7V/==3Q1V-V/70VOV/1V
7FQV/70VT,0F=31V/V+H*.U +AU
;P=PV1V1Q,T30V7VJDU-(*U(J*.U
B
? 4UOU 8UL %V P37V-USUV/T3V7FQVQ,V
[=Q,TVW@ @VMQ3VG
CVCCV6VKC6VV2K!V!K5V6NV
CKCZVCV'CV 6C6VVC CV 6Z
] $33`,7
1,FT=3
?5LJIJ;'J0*LB=B7L5;0B4@**B=B470'K
BBB1+(6#*(*;'J'5;B8(6#*H5'
BBB1!*L7@ *BALJ0*BC5*B.41B.+B8J##L
BBB1!*75@*LB'JLBL6* 5 BL'J'*B*J#7J'@BC5*B#*LLB0*;*@J#52J#*
F$D:/$$B $ GB GB B) )B:-GB B/$B$ $ 9B B9B$: :-B  BGB
%),BD$9B$ $D BBB BB:::DB $BG: B3 B D9B$D $ BG$$B$D:E$D9B
:D$B  BGB GDD$-$ B%),BB DD B B/$$B $ GBBD:-B/:D::$ B
:  $B3:GB
 $
N 4@**B=B470'LBC44O
+)   !        ,
)  )+   !     ++,
 )   !  )
       **(+ , 
+   )+! )  ) + %
?,#.7?=948@742)1/67.:?-  (   
  
  (   
-(   0 
 %(
04 PromptingStrategies
source
# %%$ 
  
     
!
  0
35)*60/*-#254'256($25'!
0'$5552$5)
2 /5+$ !56)/06 5(.(
$6)522$/6 52/$61)0!5
52*60/*-#254'256!566
5552%'/254'256
2 /6/)(5
04 Zero-ShotvsFewShotCoT
source
Few-ShotCoT
outperformsZero-
ShotCoT.
Additionally,the
numberofsamples
increases
performance.
2  ( (  # !  
)!)#)  % ! )2 )))
% 2  ( (  
# !  )  /)! 2
)# #! 2) #! ! )  
))# #! 2)   ) )
 ! )  # !))#-
)$  /)   ! ) 
! )#2 )# 2)) %
 2 2     )   
 )#)# #! 2)   #
# ! 
 #2)
 !! 9) )7)   
9!% 27)
CoT-SCbuildsonChain
ofThoughts(CoT)by
replacingthe“Greedy
Decode”stepwitha
samplingstepfroma
diverserangeofpossible
solutionpaths.
04 SelfConsistencywithCoT
source
05 AgentsasToolMakers
06 AgentWrapUp
. %   %  .     % 
       !
  )  + %  
.%      !
06 AgentSafetyRecommendations
6 SafeExecutionEnvironment(ieDocker
container
6 RequireHuman-In-The-Loopforpotentially
destructiveaction
6 RestrictAgentuserpermissionsforsensitive
resources(i.e.Database
6 Restrictnetworkpermission
6 Silosensitivedatatopreventaccess
4. 62
;C B//-,*/:/)(+(/5'  86   
$# ! = 4   G !8   4 = 8
!4G ?
3C B//-*(7+(/5'  4  
4G4 4 86 #
  !    !6 6  E
C B//-%*::(51'6646 != 4  
6 G448   4  =!   G 
4 = 4
07 Popular Agent Frameworks/Apps
5 LangChain / LangSmit+
5 AWS Bedrock Agent
5 HuggingFace Agent
5 BabyAG/
5 GPT Enginee
5 AutoGPT
$4//0.-+0(/'0+%+/+4%+7+4
+4/4/-, +4/+-%-4+7/4+
'(/--/8$632$.!%
%4/#/,/ '%/,%7+4
8$650*%+-.+,/ '
$,',+
: 9%7 ,())7+,!'
: (,,) 5),57+)(, +,(,
$,##, +,) 
: / +,) ,+ )5 ,,3
$) %,
:  5)+ ) %)(+)-
: ++ 17 )++7))+
/2,360-'86#05$44 )
2(606!62!6!
62360336$
60$$8$2$25,
6*2065$86(20!1
065!%60565.51!
.652%6!52%6065
($82$8
$60%6$2
;7986  =* %''31+  +/
 ;798+! !! **!* !*!231+  ** ! !*
'!
 .+%* ****' *(
 ! 2*=* %!% *+1 !
 '!* 1!!**' ' *% **% '!2(
 . *1!'  %!!  '! 3!!* 
3'% *+  =* %!
-74*81,(%$6$$( ##
#/,(2(%#%$.%
(6,,6, (
(2#%#%0#0#)2(6(%'
$665/ (6%,#$6%/
,(2#)5#6($'%0%
6#6#2(26%
#,%6$$#$,(0#
$,6(%$2,#
!3
/302(-)22-%3
' (#11(('3'3
1%/(-0%2)%(/-
!/01%%2!1/2
%11 ))211 3)
!/0(1(-#2+2#'3%2
2'2##(-0/(%1
#21)(!%(/-.())-'2
2%(22#(-1((
1(% %(/-1(-%2 % 2*
$
Questions?
Introduction to AI Agents (8/2/23) - Kevin Rohling

More Related Content

Similar to Introduction to AI Agents (8/2/23) - Kevin Rohling

מבקר המדינה דוח ביקורת משק הגז הטבעי
מבקר המדינה דוח ביקורת משק הגז הטבעימבקר המדינה דוח ביקורת משק הגז הטבעי
מבקר המדינה דוח ביקורת משק הגז הטבעי
Eyal Morag
 
Akamai Cloud Security
Akamai Cloud SecurityAkamai Cloud Security
Akamai Cloud Security
Fernando Ike
 
Euroflora E-handbook
Euroflora E-handbookEuroflora E-handbook
Euroflora E-handbook
Berkan Aygün
 
Climate change on agriculture, water and environment
Climate change on agriculture, water and environment Climate change on agriculture, water and environment
Climate change on agriculture, water and environment
ICARDA
 
MoneyReikiMaster
MoneyReikiMasterMoneyReikiMaster
MoneyReikiMaster
Emily Constance
 
Inicial unidad-1
Inicial unidad-1Inicial unidad-1
Inicial unidad-1Sara Flores
 
Testbakatskolastik
TestbakatskolastikTestbakatskolastik
Testbakatskolastik
onoupo
 
Testbakatskolastik
TestbakatskolastikTestbakatskolastik
Testbakatskolastik
Yuliana Anna
 
Manual_Usuario_JEEP_RENEGADE_2020.pdf
Manual_Usuario_JEEP_RENEGADE_2020.pdfManual_Usuario_JEEP_RENEGADE_2020.pdf
Manual_Usuario_JEEP_RENEGADE_2020.pdf
yeisonricardoguzmano
 
Decodificacion biologica-de-las-dolencias-y-enfermedades
Decodificacion biologica-de-las-dolencias-y-enfermedadesDecodificacion biologica-de-las-dolencias-y-enfermedades
Decodificacion biologica-de-las-dolencias-y-enfermedades
danua10
 
Eng hin 093_p_osd_p1
Eng hin 093_p_osd_p1Eng hin 093_p_osd_p1
Eng hin 093_p_osd_p1
Bhavesh Desai
 
Hack x Crack N.18
Hack x Crack N.18Hack x Crack N.18
Hack x Crack N.18
System32nemesis
 
Cartilha alf
Cartilha alfCartilha alf
Cartilha alf
Mara Vspc
 
Пылеподавление от Spray expert (www.spray-expert.ru)
Пылеподавление от Spray expert (www.spray-expert.ru)Пылеподавление от Spray expert (www.spray-expert.ru)
Пылеподавление от Spray expert (www.spray-expert.ru)
Alexey Dombrovskiy
 
Hack x Crack N.16
Hack x Crack N.16Hack x Crack N.16
Hack x Crack N.16
System32nemesis
 
Hxc13
Hxc13Hxc13
Tutorial hotpotatoes
Tutorial hotpotatoesTutorial hotpotatoes
Tutorial hotpotatoes
Rosalinda Díaz Castillo
 
control-prenatal
control-prenatalcontrol-prenatal
control-prenatal
JavierForero20
 
Mode demploi le-guide-pedagogique-v2014
Mode demploi le-guide-pedagogique-v2014Mode demploi le-guide-pedagogique-v2014
Mode demploi le-guide-pedagogique-v2014
Association Fréquence écoles
 

Similar to Introduction to AI Agents (8/2/23) - Kevin Rohling (20)

מבקר המדינה דוח ביקורת משק הגז הטבעי
מבקר המדינה דוח ביקורת משק הגז הטבעימבקר המדינה דוח ביקורת משק הגז הטבעי
מבקר המדינה דוח ביקורת משק הגז הטבעי
 
Akamai Cloud Security
Akamai Cloud SecurityAkamai Cloud Security
Akamai Cloud Security
 
Euroflora E-handbook
Euroflora E-handbookEuroflora E-handbook
Euroflora E-handbook
 
Climate change on agriculture, water and environment
Climate change on agriculture, water and environment Climate change on agriculture, water and environment
Climate change on agriculture, water and environment
 
MoneyReikiMaster
MoneyReikiMasterMoneyReikiMaster
MoneyReikiMaster
 
Inicial unidad-1
Inicial unidad-1Inicial unidad-1
Inicial unidad-1
 
Testbakatskolastik
TestbakatskolastikTestbakatskolastik
Testbakatskolastik
 
Testbakatskolastik
TestbakatskolastikTestbakatskolastik
Testbakatskolastik
 
Manual_Usuario_JEEP_RENEGADE_2020.pdf
Manual_Usuario_JEEP_RENEGADE_2020.pdfManual_Usuario_JEEP_RENEGADE_2020.pdf
Manual_Usuario_JEEP_RENEGADE_2020.pdf
 
Decodificacion biologica-de-las-dolencias-y-enfermedades
Decodificacion biologica-de-las-dolencias-y-enfermedadesDecodificacion biologica-de-las-dolencias-y-enfermedades
Decodificacion biologica-de-las-dolencias-y-enfermedades
 
Eng hin 093_p_osd_p1
Eng hin 093_p_osd_p1Eng hin 093_p_osd_p1
Eng hin 093_p_osd_p1
 
Improbidade
ImprobidadeImprobidade
Improbidade
 
Hack x Crack N.18
Hack x Crack N.18Hack x Crack N.18
Hack x Crack N.18
 
Cartilha alf
Cartilha alfCartilha alf
Cartilha alf
 
Пылеподавление от Spray expert (www.spray-expert.ru)
Пылеподавление от Spray expert (www.spray-expert.ru)Пылеподавление от Spray expert (www.spray-expert.ru)
Пылеподавление от Spray expert (www.spray-expert.ru)
 
Hack x Crack N.16
Hack x Crack N.16Hack x Crack N.16
Hack x Crack N.16
 
Hxc13
Hxc13Hxc13
Hxc13
 
Tutorial hotpotatoes
Tutorial hotpotatoesTutorial hotpotatoes
Tutorial hotpotatoes
 
control-prenatal
control-prenatalcontrol-prenatal
control-prenatal
 
Mode demploi le-guide-pedagogique-v2014
Mode demploi le-guide-pedagogique-v2014Mode demploi le-guide-pedagogique-v2014
Mode demploi le-guide-pedagogique-v2014
 

Introduction to AI Agents (8/2/23) - Kevin Rohling