WEBVTT

1
00:00:04.985 --> 00:00:05.895
<00:00:04.985>Hello <00:00:05.803>everyone.

2
00:00:06.475 --> 00:00:11.015
<00:00:06.475>Um, <00:00:06.602>I <00:00:06.729>want <00:00:06.856>to <00:00:06.984>talk <00:00:07.111>a <00:00:07.238>little <00:00:07.365>bit <00:00:07.493>about, <00:00:07.620>um, <00:00:07.747>AI <00:00:07.875>agents,

3
00:00:11.355 --> 00:00:14.015
<00:00:11.355>uh, <00:00:11.530>what <00:00:11.705>they <00:00:11.880>are, <00:00:12.055>how <00:00:12.230>we <00:00:12.405>can <00:00:12.580>build <00:00:12.755>it,

4
00:00:14.555 --> 00:00:17.055
<00:00:14.555>and, <00:00:14.788>uh, <00:00:15.021>want <00:00:15.254>to <00:00:15.488>discuss, <00:00:15.721>uh, <00:00:15.955>how

5
00:00:17.915 --> 00:00:21.215
<00:00:17.915>the <00:00:18.148>agent <00:00:18.381>thing <00:00:18.615>influences <00:00:18.848>the <00:00:19.081>way <00:00:19.314>we

6
00:00:21.325 --> 00:00:23.175
<00:00:21.325>develop <00:00:21.675>software <00:00:22.025>in <00:00:22.375>the <00:00:22.724>future.

7
00:00:24.195 --> 00:00:25.375
<00:00:24.195>My <00:00:24.460>name <00:00:24.726>is <00:00:24.991>Jorg <00:00:25.257>Norman.

8
00:00:25.515 --> 00:00:28.375
<00:00:25.515>I'm <00:00:25.748>the <00:00:25.981>founder <00:00:26.215>of <00:00:26.448>Neo <00:00:26.681>Geeks, <00:00:26.915>small

9
00:00:28.435 --> 00:00:30.695
<00:00:28.435>but <00:00:28.715>fine <00:00:28.994>company <00:00:29.275>located <00:00:29.555>in <00:00:29.834>Hamburg.

10
00:00:31.315 --> 00:00:34.855
<00:00:31.315>We <00:00:31.665>developed <00:00:32.015>AI <00:00:32.365>based <00:00:32.715>software.

11
00:00:35.115 --> 00:00:39.055
<00:00:35.115>So <00:00:35.255>if <00:00:35.395>you <00:00:35.535>need <00:00:35.675>help <00:00:35.815>or <00:00:35.955>guidance, <00:00:36.095>give <00:00:36.235>me <00:00:36.375>a <00:00:36.515>call.

12
00:00:40.355 --> 00:00:45.255
<00:00:40.355>So <00:00:40.510>before <00:00:40.666>we <00:00:40.821>start, <00:00:40.977>uh, <00:00:41.132>to, <00:00:41.288>to <00:00:41.443>look <00:00:41.599>at <00:00:41.754>how,

13
00:00:45.635 --> 00:00:47.775
<00:00:45.635>uh, <00:00:45.985>agents <00:00:46.335>work, <00:00:46.684>let's, <00:00:47.035>uh,

14
00:00:47.835 --> 00:00:50.215
<00:00:47.835>locate <00:00:48.068>it <00:00:48.301>in <00:00:48.535>the <00:00:48.768>landscape <00:00:49.001>of <00:00:49.235>ai.

15
00:00:51.235 --> 00:00:55.175
<00:00:51.235>So <00:00:51.390>as <00:00:51.546>we <00:00:51.701>see <00:00:51.857>it <00:00:52.012>all <00:00:52.168>begins <00:00:52.323>with <00:00:52.479>a, <00:00:52.635>uh,

16
00:00:55.525 --> 00:00:59.255
<00:00:55.525>chat <00:00:55.699>bot, <00:00:55.875>uh, <00:00:56.050>thing, <00:00:56.225>you <00:00:56.400>know, <00:00:56.574>chat, <00:00:56.750>GBT <00:00:56.925>and,

17
00:00:59.315 --> 00:01:03.935
<00:00:59.315>and, <00:00:59.455>uh, <00:00:59.595>this <00:00:59.735>kind <00:00:59.875>of <00:01:00.015>tools <00:01:00.155>where <00:01:00.294>we <00:01:00.434>can, <00:01:00.574>uh, <00:01:00.714>ask

18
00:01:04.495 --> 00:01:08.255
<00:01:04.495>questions, <00:01:04.695>get <00:01:04.895>answers, <00:01:05.095>can <00:01:05.295>generate <00:01:05.495>text <00:01:05.695>or <00:01:05.895>images.

19
00:01:09.325 --> 00:01:14.095
<00:01:09.325>Then, <00:01:09.452>um, <00:01:09.579>a <00:01:09.706>pattern <00:01:09.834>called <00:01:09.961>rec <00:01:10.088>come <00:01:10.215>up <00:01:10.343>where <00:01:10.470>we <00:01:10.597>can, <00:01:10.725>uh,

20
00:01:14.715 --> 00:01:18.215
<00:01:14.715>uh, <00:01:14.995>integrate <00:01:15.275>our <00:01:15.555>domain <00:01:15.835>specific <00:01:16.115>data

21
00:01:18.725 --> 00:01:20.055
<00:01:18.725>into <00:01:19.124>the <00:01:19.523>chat <00:01:19.922>process.

22
00:01:21.205 --> 00:01:23.135
<00:01:21.205>Then <00:01:21.671>we <00:01:22.138>have <00:01:22.605>assistance.

23
00:01:23.515 --> 00:01:27.055
<00:01:23.515>And <00:01:23.715>the <00:01:23.915>idea <00:01:24.115>is <00:01:24.315>that <00:01:24.515>I <00:01:24.715>not <00:01:24.915>only

24
00:01:27.595 --> 00:01:29.815
<00:01:27.595>can <00:01:27.875>answer <00:01:28.155>questions <00:01:28.435>with <00:01:28.715>the <00:01:28.995>chat,

25
00:01:30.235 --> 00:01:34.815
<00:01:30.235>but <00:01:30.468>can <00:01:30.701>also, <00:01:30.935>um, <00:01:31.168>include <00:01:31.401>some <00:01:31.635>APIs

26
00:01:35.035 --> 00:01:37.415
<00:01:35.035>so <00:01:35.384>the <00:01:35.735>model <00:01:36.085>can <00:01:36.435>decide

27
00:01:37.835 --> 00:01:40.535
<00:01:37.835>to <00:01:38.035>call <00:01:38.235>a <00:01:38.435>function <00:01:38.635>if <00:01:38.835>it <00:01:39.035>makes <00:01:39.235>sense.

28
00:01:41.675 --> 00:01:46.495
<00:01:41.675>And <00:01:41.875>then <00:01:42.075>we <00:01:42.274>are <00:01:42.475>here, <00:01:42.675>um, <00:01:42.875>with <00:01:43.075>agents.

29
00:01:46.635 --> 00:01:50.655
<00:01:46.634>And <00:01:46.790>the <00:01:46.946>idea <00:01:47.101>of <00:01:47.257>agents <00:01:47.412>is <00:01:47.568>that <00:01:47.723>we <00:01:47.879>have, <00:01:48.035>um,

30
00:01:51.045 --> 00:01:54.935
<00:01:51.045>some <00:01:51.245>kind <00:01:51.445>of <00:01:51.645>large <00:01:51.845>language <00:01:52.045>model <00:01:52.245>that <00:01:52.445>can

31
00:01:55.735 --> 00:01:59.015
<00:01:55.735>interact <00:01:56.085>and <00:01:56.435>can <00:01:56.785>operate <00:01:57.135>independently,

32
00:02:00.015 --> 00:02:04.295
<00:02:00.015>independently <00:02:00.190>from <00:02:00.365>the <00:02:00.540>user, <00:02:00.715>from <00:02:00.890>a <00:02:01.065>classical <00:02:01.240>prompt, <00:02:01.415>uh,

33
00:02:04.555 --> 00:02:09.335
<00:02:04.555>but, <00:02:04.755>um, <00:02:04.955>uh, <00:02:05.155>can, <00:02:05.355>uh, <00:02:05.555>operate <00:02:05.755>on, <00:02:05.955>uh,

34
00:02:09.435 --> 00:02:12.415
<00:02:09.435>the <00:02:09.610>signal <00:02:09.785>of <00:02:09.960>a <00:02:10.134>trigger, <00:02:10.310>uh, <00:02:10.485>for <00:02:10.660>example, <00:02:10.835>uh,

35
00:02:12.815 --> 00:02:15.335
<00:02:12.815>incoming <00:02:13.095>email <00:02:13.375>or <00:02:13.655>something <00:02:13.935>like <00:02:14.215>this.

36
00:02:16.565 --> 00:02:18.535
<00:02:16.565>Okay. <00:02:16.845>So <00:02:17.125>what <00:02:17.405>is <00:02:17.685>an <00:02:17.965>agent?

37
00:02:18.675 --> 00:02:22.335
<00:02:18.675>Uh, <00:02:18.815>in <00:02:18.955>the <00:02:19.095>core <00:02:19.235>we <00:02:19.375>have <00:02:19.515>a <00:02:19.655>large <00:02:19.795>language <00:02:19.935>model, <00:02:20.075>okay,

38
00:02:22.485 --> 00:02:24.415
<00:02:22.485>with <00:02:22.951>input <00:02:23.418>and <00:02:23.885>output.

39
00:02:25.275 --> 00:02:29.975
<00:02:25.275>Beside <00:02:25.430>we <00:02:25.586>have, <00:02:25.741>uh, <00:02:25.897>data, <00:02:26.052>so <00:02:26.208>we <00:02:26.363>can <00:02:26.519>integrate <00:02:26.675>our

40
00:02:31.055 --> 00:02:35.895
<00:02:31.055>structured <00:02:31.288>and <00:02:31.521>unstructured <00:02:31.755>data <00:02:31.988>database <00:02:32.221>data <00:02:32.455>files.

41
00:02:36.115 --> 00:02:39.775
<00:02:36.115>And <00:02:36.270>so <00:02:36.426>what <00:02:36.581>in, <00:02:36.737>uh, <00:02:36.892>uh, <00:02:37.048>with <00:02:37.203>a <00:02:37.359>rack <00:02:37.515>pattern,

42
00:02:41.035 --> 00:02:42.855
<00:02:41.035>and <00:02:41.234>on <00:02:41.435>the <00:02:41.635>other <00:02:41.835>hand, <00:02:42.035>we <00:02:42.234>have <00:02:42.435>tools.

43
00:02:43.555 --> 00:02:47.135
<00:02:43.555>Uh, <00:02:43.788>this <00:02:44.021>could <00:02:44.255>be, <00:02:44.488>uh, <00:02:44.721>API <00:02:44.955>calls,

44
00:02:47.395 --> 00:02:52.255
<00:02:47.395>but, <00:02:47.535>uh, <00:02:47.675>it <00:02:47.815>can <00:02:47.955>also <00:02:48.095>be <00:02:48.235>built <00:02:48.375>in <00:02:48.515>tools, <00:02:48.655>uh, <00:02:48.795>we,

45
00:02:52.355 --> 00:02:56.655
<00:02:52.355>we <00:02:52.588>see <00:02:52.821>next, <00:02:53.054>or <00:02:53.288>we <00:02:53.521>can <00:02:53.755>integrate

46
00:02:57.165 --> 00:03:00.925
<00:02:57.165>some <00:02:57.364>external <00:02:57.565>APIs <00:02:57.765>with <00:02:57.965>the <00:02:58.165>help <00:02:58.364>of <00:02:58.565>MCP.

47
00:03:01.785 --> 00:03:05.845
<00:03:01.785>Uh, <00:03:01.940>today <00:03:02.096>we <00:03:02.251>have, <00:03:02.407>uh, <00:03:02.562>hundreds <00:03:02.718>and <00:03:02.873>thousands <00:03:03.029>of <00:03:03.185>systems

48
00:03:06.225 --> 00:03:10.965
<00:03:06.225>and <00:03:06.380>APIs <00:03:06.536>out <00:03:06.691>there <00:03:06.847>in <00:03:07.002>the <00:03:07.158>field <00:03:07.313>that <00:03:07.469>support, <00:03:07.625>uh,

49
00:03:11.025 --> 00:03:12.525
<00:03:11.025>the <00:03:11.700>MCP <00:03:12.375>interface.

50
00:03:13.155 --> 00:03:16.845
<00:03:13.155>It's <00:03:13.435>a <00:03:13.715>small, <00:03:13.995>um, <00:03:14.275>protocol, <00:03:14.555>the,

51
00:03:16.905 --> 00:03:21.325
<00:03:16.905>the <00:03:17.138>model <00:03:17.371>context <00:03:17.605>protocol, <00:03:17.838>uh, <00:03:18.071>where, <00:03:18.305>uh,

52
00:03:22.025 --> 00:03:26.375
<00:03:22.025>we <00:03:22.258>can <00:03:22.491>describe <00:03:22.725>what <00:03:22.958>does <00:03:23.191>the <00:03:23.425>API

53
00:03:26.395 --> 00:03:29.415
<00:03:26.395>and <00:03:26.570>the <00:03:26.745>model <00:03:26.920>can <00:03:27.095>decide <00:03:27.270>to <00:03:27.445>call <00:03:27.620>it <00:03:27.795>remotely.

54
00:03:30.235 --> 00:03:34.855
<00:03:30.235>So <00:03:30.410>we <00:03:30.585>have <00:03:30.760>a <00:03:30.935>large, <00:03:31.110>uh, <00:03:31.285>ecosystem <00:03:31.460>of <00:03:31.635>APIs,

55
00:03:35.035 --> 00:03:37.255
<00:03:35.035>uh, <00:03:35.385>an <00:03:35.734>agent <00:03:36.085>can <00:03:36.435>use

56
00:03:39.035 --> 00:03:42.215
<00:03:39.035>and <00:03:39.315>agents <00:03:39.595>can <00:03:39.875>work <00:03:40.155>in <00:03:40.435>teams.

57
00:03:43.115 --> 00:03:48.055
<00:03:43.115>So <00:03:43.315>you <00:03:43.515>can, <00:03:43.715>uh, <00:03:43.915>um, <00:03:44.115>design <00:03:44.315>complex <00:03:44.515>workflows

58
00:03:48.435 --> 00:03:51.695
<00:03:48.435>or <00:03:48.785>cross-functional <00:03:49.135>teams <00:03:49.485>of <00:03:49.835>agents.

59
00:03:52.035 --> 00:03:53.095
<00:03:52.035>And <00:03:52.353>that <00:03:52.671>is <00:03:52.989>cool

60
00:03:53.095 --> 00:03:56.375
<00:03:53.095>because <00:03:53.375>then, <00:03:53.655>uh, <00:03:53.935>an <00:03:54.215>agent <00:03:54.495>team

61
00:03:56.995 --> 00:04:01.855
<00:03:56.995>can <00:03:57.195>operate <00:03:57.395>on <00:03:57.595>large <00:03:57.795>tasks, <00:03:57.995>tasks <00:03:58.195>that <00:03:58.395>normally,

62
00:04:02.555 --> 00:04:04.895
<00:04:02.555>uh, <00:04:03.021>processed <00:04:03.488>by <00:04:03.955>humans.

63
00:04:05.635 --> 00:04:08.375
<00:04:05.635>That's <00:04:06.101>the <00:04:06.568>idea. <00:04:07.035>Okay?

64
00:04:08.475 --> 00:04:11.175
<00:04:08.475>And <00:04:08.650>what <00:04:08.825>we <00:04:09.000>need <00:04:09.174>is <00:04:09.350>some <00:04:09.525>kind <00:04:09.700>of <00:04:09.875>memory.

65
00:04:12.075 --> 00:04:16.255
<00:04:12.075>We <00:04:12.308>need <00:04:12.541>a <00:04:12.774>general <00:04:13.008>communication <00:04:13.241>channel <00:04:13.475>so

66
00:04:16.255 --> 00:04:19.175
<00:04:16.255>that <00:04:16.454>the <00:04:16.654>agents <00:04:16.855>can <00:04:17.055>talk <00:04:17.255>with <00:04:17.454>each <00:04:17.654>other.

67
00:04:19.955 --> 00:04:24.375
<00:04:19.954>Uh, <00:04:20.130>think <00:04:20.305>of <00:04:20.479>it <00:04:20.654>as <00:04:20.829>a <00:04:21.005>WhatsApp <00:04:21.180>chat <00:04:21.354>group

68
00:04:24.515 --> 00:04:25.535
<00:04:24.515>or <00:04:24.821>something <00:04:25.127>like <00:04:25.433>that.

69
00:04:25.965 --> 00:04:28.215
<00:04:25.965>Yeah. <00:04:26.244>And <00:04:26.525>we <00:04:26.804>need <00:04:27.085>some <00:04:27.364>storage

70
00:04:28.365 --> 00:04:32.175
<00:04:28.365>because, <00:04:28.715>uh, <00:04:29.065>every <00:04:29.415>agent, <00:04:29.765>uh,

71
00:04:32.615 --> 00:04:34.335
<00:04:32.615>produces <00:04:33.315>sub <00:04:34.015>results

72
00:04:34.835 --> 00:04:38.815
<00:04:34.835>and, <00:04:35.034>uh, <00:04:35.234>that, <00:04:35.435>um, <00:04:35.635>must <00:04:35.835>be, <00:04:36.034>uh, <00:04:36.234>saved,

73
00:04:38.995 --> 00:04:40.255
<00:04:38.995>uh, <00:04:39.373>at <00:04:39.751>server <00:04:40.129>side.

74
00:04:41.155 --> 00:04:46.095
<00:04:41.155>And <00:04:41.330>we <00:04:41.505>need <00:04:41.679>input <00:04:41.854>triggers <00:04:42.030>to <00:04:42.205>trigger <00:04:42.380>the <00:04:42.554>agent.

75
00:04:47.035 --> 00:04:50.815
<00:04:47.034>So <00:04:47.190>if <00:04:47.346>we <00:04:47.501>don't <00:04:47.657>want <00:04:47.812>to, <00:04:47.968>uh, <00:04:48.123>prompt <00:04:48.279>it <00:04:48.434>ourself.

76
00:04:53.245 --> 00:04:57.895
<00:04:53.245>Okay? <00:04:53.372>Now, <00:04:53.499>uh, <00:04:53.626>the, <00:04:53.754>the <00:04:53.881>technical <00:04:54.008>part, <00:04:54.135>uh, <00:04:54.263>we <00:04:54.390>have <00:04:54.517>a <00:04:54.645>lot

77
00:04:57.915 --> 00:05:00.575
<00:04:57.915>of, <00:04:58.195>uh, <00:04:58.475>tools <00:04:58.755>built <00:04:59.035>in <00:04:59.315>tools.

78
00:05:01.235 --> 00:05:05.735
<00:05:01.235>For <00:05:01.375>example, <00:05:01.515>we, <00:05:01.655>we <00:05:01.795>see <00:05:01.935>here <00:05:02.075>the <00:05:02.215>tools <00:05:02.355>from <00:05:02.495>OpenAI, <00:05:02.635>uh,

79
00:05:06.615 --> 00:05:08.815
<00:05:06.615>powerful <00:05:06.895>tools <00:05:07.175>that <00:05:07.455>can <00:05:07.735>be <00:05:08.015>useful.

80
00:05:09.035 --> 00:05:12.935
<00:05:09.035>If <00:05:09.235>you <00:05:09.435>develop <00:05:09.635>agents, <00:05:09.835>for <00:05:10.035>example, <00:05:10.235>you <00:05:10.435>know,

81
00:05:12.995 --> 00:05:14.695
<00:05:12.995>the <00:05:13.461>code <00:05:13.928>interpreter <00:05:14.395>tool.

82
00:05:15.245 --> 00:05:19.655
<00:05:15.245>It's <00:05:15.400>a <00:05:15.556>really <00:05:15.711>cool <00:05:15.867>tool <00:05:16.022>because, <00:05:16.178>uh, <00:05:16.333>it <00:05:16.489>can <00:05:16.645>produce

83
00:05:20.275 --> 00:05:24.055
<00:05:20.275>or <00:05:20.430>generate, <00:05:20.586>uh, <00:05:20.741>Python <00:05:20.897>and <00:05:21.052>code, <00:05:21.208>uh, <00:05:21.363>on <00:05:21.519>the <00:05:21.674>fly.

84
00:05:24.555 --> 00:05:28.495
<00:05:24.555>So <00:05:24.730>if <00:05:24.905>you <00:05:25.080>have <00:05:25.255>a <00:05:25.430>complex, <00:05:25.605>uh, <00:05:25.780>tasks, <00:05:25.955>uh,

85
00:05:28.715 --> 00:05:31.695
<00:05:28.715>the <00:05:29.065>model <00:05:29.414>can, <00:05:29.765>uh, <00:05:30.114>generate

86
00:05:32.275 --> 00:05:36.335
<00:05:32.275>or <00:05:32.430>can <00:05:32.586>develop, <00:05:32.741>uh, <00:05:32.897>a <00:05:33.052>solution <00:05:33.208>with, <00:05:33.363>with <00:05:33.519>the <00:05:33.674>help

87
00:05:36.335 --> 00:05:40.415
<00:05:36.335>of <00:05:36.534>Python, <00:05:36.734>uh, <00:05:36.935>and <00:05:37.135>gets <00:05:37.335>back <00:05:37.534>the <00:05:37.734>results

88
00:05:40.555 --> 00:05:43.855
<00:05:40.555>or <00:05:40.788>the, <00:05:41.021>the, <00:05:41.255>uh, <00:05:41.488>operates, <00:05:41.721>uh, <00:05:41.955>on,

89
00:05:43.855 --> 00:05:46.495
<00:05:43.855>on <00:05:44.088>the <00:05:44.321>Python <00:05:44.555>code, <00:05:44.788>on <00:05:45.021>server <00:05:45.255>side.

90
00:05:46.555 --> 00:05:50.735
<00:05:46.555>It, <00:05:46.695>it <00:05:46.835>runs <00:05:46.975>in <00:05:47.115>a, <00:05:47.255>in <00:05:47.395>a, <00:05:47.535>um, <00:05:47.675>in <00:05:47.815>a <00:05:47.955>sandbox

91
00:05:50.835 --> 00:05:52.455
<00:05:50.835>and <00:05:51.114>then <00:05:51.395>gets <00:05:51.674>back <00:05:51.955>the <00:05:52.234>results.

92
00:05:53.275 --> 00:05:57.285
<00:05:53.275>Or <00:05:53.391>you <00:05:53.508>can <00:05:53.625>use <00:05:53.741>the <00:05:53.858>file, <00:05:53.974>uh, <00:05:54.091>or <00:05:54.208>the, <00:05:54.325>the <00:05:54.441>web <00:05:54.558>search <00:05:54.674>tool.

93
00:05:58.265 --> 00:06:01.965
<00:05:58.265>Uh, <00:05:58.405>if <00:05:58.544>you <00:05:58.685>need <00:05:58.825>up <00:05:58.965>to <00:05:59.104>date <00:05:59.245>information <00:05:59.385>from <00:05:59.525>the <00:05:59.664>internet,

94
00:06:02.275 --> 00:06:06.795
<00:06:02.275>then, <00:06:02.450>uh, <00:06:02.625>the <00:06:02.799>open <00:06:02.974>AI <00:06:03.150>guys <00:06:03.325>do <00:06:03.500>the <00:06:03.674>rec

95
00:06:06.795 --> 00:06:07.995
<00:06:06.795>thing <00:06:07.155>with <00:06:07.515>the <00:06:07.875>internet.

96
00:06:08.135 --> 00:06:09.955
<00:06:08.135>So <00:06:08.485>with <00:06:08.835>the <00:06:09.185>internet <00:06:09.534>search

97
00:06:10.095 --> 00:06:12.595
<00:06:10.095>and, <00:06:10.295>uh, <00:06:10.495>then, <00:06:10.695>uh, <00:06:10.895>the <00:06:11.095>results <00:06:11.295>are <00:06:11.495>processed,

98
00:06:13.135 --> 00:06:17.315
<00:06:13.135>or <00:06:13.275>you <00:06:13.414>can <00:06:13.555>use <00:06:13.695>the <00:06:13.835>file <00:06:13.974>search <00:06:14.115>tool <00:06:14.255>if <00:06:14.395>you <00:06:14.534>want

99
00:06:17.315 --> 00:06:21.395
<00:06:17.315>to <00:06:17.470>include <00:06:17.626>your <00:06:17.781>own <00:06:17.937>domain <00:06:18.092>specific <00:06:18.248>data <00:06:18.403>into <00:06:18.559>the <00:06:18.715>process.

100
00:06:22.105 --> 00:06:26.235
<00:06:22.105>Then <00:06:22.280>you <00:06:22.455>only <00:06:22.630>have, <00:06:22.805>uh, <00:06:22.980>to <00:06:23.155>upload <00:06:23.330>your <00:06:23.505>documents,

101
00:06:26.935 --> 00:06:29.995
<00:06:26.935>uh, <00:06:27.110>to <00:06:27.285>a <00:06:27.460>server <00:06:27.635>side <00:06:27.810>storage <00:06:27.985>at <00:06:28.160>open <00:06:28.335>ai.

102
00:06:30.215 --> 00:06:34.035
<00:06:30.215>And, <00:06:30.414>uh, <00:06:30.614>they, <00:06:30.815>uh, <00:06:31.015>do <00:06:31.215>the, <00:06:31.414>all <00:06:31.614>these

103
00:06:34.795 --> 00:06:37.995
<00:06:34.795>rack <00:06:35.028>heavy <00:06:35.261>lifting, <00:06:35.495>uh, <00:06:35.728>indexing <00:06:35.961>your <00:06:36.195>document

104
00:06:38.735 --> 00:06:41.555
<00:06:38.735>and, <00:06:38.910>uh, <00:06:39.085>set <00:06:39.260>up <00:06:39.435>a, <00:06:39.610>a <00:06:39.785>vector <00:06:39.960>store <00:06:40.135>and,

105
00:06:41.655 --> 00:06:42.995
<00:06:41.655>and <00:06:41.956>this <00:06:42.258>kind <00:06:42.559>of <00:06:42.861>stuff.

106
00:06:43.415 --> 00:06:46.595
<00:06:43.415>And <00:06:43.695>you <00:06:43.975>don't, <00:06:44.255>uh, <00:06:44.535>uh, <00:06:44.815>um,

107
00:06:47.335 --> 00:06:51.235
<00:06:47.335>or <00:06:47.474>you, <00:06:47.614>you <00:06:47.755>cannot <00:06:47.895>just, <00:06:48.034>uh, <00:06:48.174>chat <00:06:48.315>with, <00:06:48.455>with <00:06:48.594>your <00:06:48.734>data,

108
00:06:52.055 --> 00:06:54.555
<00:06:52.055>or <00:06:52.255>you <00:06:52.455>can <00:06:52.655>use <00:06:52.855>the <00:06:53.055>computer <00:06:53.255>use <00:06:53.455>tool.

109
00:06:55.425 --> 00:06:56.595
<00:06:55.425>This <00:06:55.688>a <00:06:55.951>little <00:06:56.214>bit <00:06:56.478>scary

110
00:06:56.595 --> 00:07:00.155
<00:06:56.595>because, <00:06:56.828>uh, <00:06:57.061>the <00:06:57.295>model, <00:06:57.528>uh, <00:06:57.761>opens, <00:06:57.995>um,

111
00:07:00.895 --> 00:07:03.235
<00:07:00.895>an <00:07:01.174>operating <00:07:01.455>system <00:07:01.734>with <00:07:02.015>a <00:07:02.294>browser

112
00:07:03.735 --> 00:07:05.755
<00:07:03.735>and <00:07:04.085>navigates <00:07:04.435>in <00:07:04.785>that <00:07:05.135>browser

113
00:07:06.135 --> 00:07:09.435
<00:07:06.135>and, <00:07:06.368>uh, <00:07:06.601>um, <00:07:06.835>can <00:07:07.068>act <00:07:07.301>like, <00:07:07.534>uh,

114
00:07:09.755 --> 00:07:11.275
<00:07:09.755>a <00:07:10.211>human <00:07:10.667>would <00:07:11.123>do,

115
00:07:12.495 --> 00:07:14.995
<00:07:12.495>or <00:07:12.775>you <00:07:13.055>have <00:07:13.335>a <00:07:13.615>local <00:07:13.895>shell.

116
00:07:15.125 --> 00:07:16.635
<00:07:15.125>There <00:07:15.804>are, <00:07:16.484>uh,

117
00:07:16.815 --> 00:07:20.835
<00:07:16.815>or <00:07:16.970>this <00:07:17.126>is <00:07:17.281>a <00:07:17.437>tool, <00:07:17.592>uh, <00:07:17.748>it, <00:07:17.903>it <00:07:18.059>produces, <00:07:18.215>uh,

118
00:07:20.925 --> 00:07:22.755
<00:07:20.925>shell <00:07:21.205>commands <00:07:21.485>in <00:07:21.765>something <00:07:22.045>like <00:07:22.325>that.

119
00:07:23.375 --> 00:07:27.235
<00:07:23.375>So <00:07:23.515>as <00:07:23.655>you <00:07:23.795>see <00:07:23.935>here, <00:07:24.075>we <00:07:24.215>have <00:07:24.355>some <00:07:24.495>general <00:07:24.635>tools <00:07:24.775>we,

120
00:07:27.415 --> 00:07:29.875
<00:07:27.415>we <00:07:27.695>can <00:07:27.975>put, <00:07:28.255>put <00:07:28.535>in, <00:07:28.815>uh,

121
00:07:30.095 --> 00:07:34.715
<00:07:30.095>and, <00:07:30.295>uh, <00:07:30.495>can, <00:07:30.695>um, <00:07:30.895>include <00:07:31.095>in <00:07:31.295>our <00:07:31.495>agent.

122
00:07:35.695 --> 00:07:39.115
<00:07:35.695>So, <00:07:35.822>and, <00:07:35.949>uh, <00:07:36.076>then <00:07:36.204>we, <00:07:36.331>we <00:07:36.458>have <00:07:36.585>a <00:07:36.713>lot <00:07:36.840>of <00:07:36.967>APIs <00:07:37.094>to

123
00:07:40.105 --> 00:07:41.235
<00:07:40.105>developed <00:07:41.122>agents.

124
00:07:42.065 --> 00:07:45.675
<00:07:42.065>This, <00:07:42.220>these <00:07:42.376>are <00:07:42.531>only <00:07:42.687>the <00:07:42.842>APIs <00:07:42.998>from <00:07:43.153>op <00:07:43.309>may <00:07:43.465>I,

125
00:07:46.335 --> 00:07:48.595
<00:07:46.335>we <00:07:46.614>all <00:07:46.895>know <00:07:47.174>the <00:07:47.455>chat <00:07:47.734>completions,

126
00:07:48.835 --> 00:07:52.515
<00:07:48.835>A <00:07:49.114>PIA <00:07:49.395>simple <00:07:49.674>API <00:07:49.955>to-do <00:07:50.234>simple

127
00:07:52.705 --> 00:07:53.875
<00:07:52.705>chat <00:07:53.758>communication.

128
00:07:54.545 --> 00:07:57.915
<00:07:54.545>Okay? <00:07:54.720>It's <00:07:54.895>quite <00:07:55.070>simple <00:07:55.245>and <00:07:55.420>this <00:07:55.595>is <00:07:55.770>good, <00:07:55.945>yeah.

129
00:07:58.255 --> 00:08:02.115
<00:07:58.255>But, <00:07:58.410>um, <00:07:58.566>yeah, <00:07:58.721>for <00:07:58.877>the <00:07:59.032>agent <00:07:59.188>thing, <00:07:59.343>you <00:07:59.499>need, <00:07:59.655>uh,

130
00:08:02.585 --> 00:08:04.115
<00:08:02.585>some <00:08:03.273>more <00:08:03.962>functionalities.

131
00:08:04.655 --> 00:08:06.395
<00:08:04.655>So, <00:08:05.005>uh, <00:08:05.354>the <00:08:05.705>op <00:08:06.054>may,

132
00:08:06.635 --> 00:08:11.115
<00:08:06.635>I <00:08:06.810>guys <00:08:06.985>introduces <00:08:07.159>the <00:08:07.335>assistance <00:08:07.510>API <00:08:07.685>one <00:08:07.860>year <00:08:08.034>ago.

133
00:08:12.215 --> 00:08:16.475
<00:08:12.215>Uh, <00:08:12.354>and, <00:08:12.494>uh, <00:08:12.635>with <00:08:12.775>this <00:08:12.914>API, <00:08:13.054>you <00:08:13.195>have <00:08:13.335>server <00:08:13.474>side <00:08:13.614>sessions,

134
00:08:17.095 --> 00:08:21.195
<00:08:17.095>so <00:08:17.250>you <00:08:17.406>don't <00:08:17.561>have <00:08:17.717>to <00:08:17.872>collect <00:08:18.028>all <00:08:18.183>the <00:08:18.339>messages, <00:08:18.495>uh,

135
00:08:21.455 --> 00:08:23.715
<00:08:21.455>by <00:08:21.805>yourself <00:08:22.155>on <00:08:22.505>the <00:08:22.854>client.

136
00:08:24.335 --> 00:08:29.155
<00:08:24.335>Uh, <00:08:24.474>but <00:08:24.614>with <00:08:24.755>this <00:08:24.895>API, <00:08:25.034>you <00:08:25.174>have <00:08:25.315>server <00:08:25.455>side <00:08:25.594>threats, <00:08:25.734>then,

137
00:08:29.295 --> 00:08:32.395
<00:08:29.295>uh, <00:08:29.645>every <00:08:29.995>agent <00:08:30.345>that, <00:08:30.695>uh,

138
00:08:33.895 --> 00:08:38.475
<00:08:33.895>is <00:08:34.034>in <00:08:34.174>the <00:08:34.314>communication <00:08:34.454>loop <00:08:34.595>can, <00:08:34.735>uh, <00:08:34.875>can <00:08:35.015>get <00:08:35.155>to <00:08:35.294>this,

139
00:08:38.775 --> 00:08:42.715
<00:08:38.775>um, <00:08:38.930>to <00:08:39.086>this <00:08:39.241>threat <00:08:39.397>and, <00:08:39.552>and <00:08:39.708>can <00:08:39.863>join <00:08:40.019>the <00:08:40.174>conversation.

140
00:08:43.575 --> 00:08:45.555
<00:08:43.575>And <00:08:43.925>you <00:08:44.275>have <00:08:44.625>tool <00:08:44.975>support.

141
00:08:45.775 --> 00:08:49.475
<00:08:45.775>So <00:08:45.930>you <00:08:46.086>can <00:08:46.241>use <00:08:46.397>the <00:08:46.552>file, <00:08:46.708>uh, <00:08:46.863>the <00:08:47.019>file <00:08:47.175>search

142
00:08:49.655 --> 00:08:51.195
<00:08:49.655>or <00:08:49.932>the, <00:08:50.209>the <00:08:50.486>code <00:08:50.763>in <00:08:51.041>operator.

143
00:08:52.975 --> 00:08:56.125
<00:08:52.975>That's <00:08:53.175>cool. <00:08:53.375>But <00:08:53.575>the <00:08:53.775>API <00:08:53.975>is <00:08:54.175>deprecated <00:08:54.375>now

144
00:08:56.125 --> 00:08:59.085
<00:08:56.125>because, <00:08:56.358>uh, <00:08:56.591>open <00:08:56.825>AI <00:08:57.058>just <00:08:57.291>releases, <00:08:57.525>uh,

145
00:08:59.605 --> 00:09:01.685
<00:08:59.605>responses <00:09:00.071>API <00:09:00.538>this <00:09:01.005>year.

146
00:09:02.505 --> 00:09:06.085
<00:09:02.505>And, <00:09:02.660>uh, <00:09:02.816>it <00:09:02.971>had <00:09:03.127>all <00:09:03.282>that, <00:09:03.438>all <00:09:03.593>the <00:09:03.749>features, <00:09:03.905>uh,

147
00:09:06.155 --> 00:09:09.325
<00:09:06.155>from <00:09:06.388>the <00:09:06.621>assistance <00:09:06.855>API, <00:09:07.088>with <00:09:07.321>the <00:09:07.555>simplicity

148
00:09:09.465 --> 00:09:11.565
<00:09:09.465>of <00:09:09.815>the <00:09:10.165>chat <00:09:10.515>completion, <00:09:10.865>API.

149
00:09:11.955 --> 00:09:15.845
<00:09:11.955>Okay? <00:09:12.130>And, <00:09:12.305>uh, <00:09:12.480>we <00:09:12.655>have <00:09:12.830>a <00:09:13.005>lot <00:09:13.180>of <00:09:13.355>tools

150
00:09:16.385 --> 00:09:20.005
<00:09:16.385>and, <00:09:16.585>uh, <00:09:16.785>uh, <00:09:16.985>some, <00:09:17.185>some <00:09:17.385>other <00:09:17.585>nice <00:09:17.785>features

151
00:09:20.115 --> 00:09:22.925
<00:09:20.115>that <00:09:20.395>makes <00:09:20.675>it <00:09:20.955>easy <00:09:21.235>to, <00:09:21.515>um,

152
00:09:23.115 --> 00:09:25.645
<00:09:23.115>develop <00:09:23.815>single <00:09:24.515>agents.

153
00:09:26.915 --> 00:09:28.805
<00:09:26.915>Okay? <00:09:27.381>That's <00:09:27.848>the <00:09:28.314>basics.

154
00:09:28.865 --> 00:09:32.205
<00:09:28.865>But <00:09:29.098>if <00:09:29.331>you <00:09:29.565>want <00:09:29.798>to <00:09:30.031>develop, <00:09:30.265>uh,

155
00:09:32.635 --> 00:09:34.565
<00:09:32.635>complex <00:09:33.335>agent <00:09:34.035>workflows

156
00:09:34.865 --> 00:09:39.285
<00:09:34.865>or <00:09:35.098>agent <00:09:35.331>teams, <00:09:35.565>then <00:09:35.798>you <00:09:36.031>need <00:09:36.265>another

157
00:09:39.885 --> 00:09:44.525
<00:09:39.885>API <00:09:40.040>and <00:09:40.196>Hope <00:09:40.351>may <00:09:40.507>I <00:09:40.662>provides <00:09:40.818>for, <00:09:40.973>for, <00:09:41.129>for <00:09:41.285>that,

158
00:09:44.785 --> 00:09:46.165
<00:09:44.785>the <00:09:45.406>agent's <00:09:46.026>SDK.

159
00:09:46.905 --> 00:09:51.165
<00:09:46.905>And <00:09:47.060>I <00:09:47.216>want <00:09:47.371>to <00:09:47.527>show <00:09:47.682>you <00:09:47.838>what, <00:09:47.993>uh, <00:09:48.149>this <00:09:48.305>do.

160
00:09:52.415 --> 00:09:56.365
<00:09:52.415>Agent <00:09:52.589>SCK <00:09:52.765>is <00:09:52.939>a <00:09:53.115>successor <00:09:53.290>of <00:09:53.464>open <00:09:53.640>air <00:09:53.814>ice

161
00:09:57.095 --> 00:09:59.205
<00:09:57.095>swamp <00:09:57.445>framework, <00:09:57.795>as <00:09:58.145>you <00:09:58.495>know,

162
00:10:00.025 --> 00:10:04.965
<00:10:00.025>and <00:10:00.180>it <00:10:00.336>is <00:10:00.491>available <00:10:00.647>in <00:10:00.802>Python <00:10:00.958>or <00:10:01.113>in <00:10:01.269>no <00:10:01.425>jazz.

163
00:10:06.065 --> 00:10:09.165
<00:10:06.065>And <00:10:06.345>this <00:10:06.625>is <00:10:06.905>a <00:10:07.185>really <00:10:07.465>sweet,

164
00:10:09.505 --> 00:10:11.525
<00:10:09.505>uh, <00:10:10.205>little <00:10:10.905>library.

165
00:10:12.365 --> 00:10:16.285
<00:10:12.365>I <00:10:12.492>want <00:10:12.619>to <00:10:12.746>show <00:10:12.874>you <00:10:13.001>how <00:10:13.128>easy <00:10:13.255>it <00:10:13.383>is, <00:10:13.510>uh, <00:10:13.637>to <00:10:13.765>build

166
00:10:17.115 --> 00:10:21.485
<00:10:17.115>complex <00:10:17.348>agent, <00:10:17.581>uh, <00:10:17.815>workflows <00:10:18.048>or <00:10:18.281>agent <00:10:18.515>teams.

167
00:10:22.395 --> 00:10:24.885
<00:10:22.395>Okay? <00:10:22.675>Uh, <00:10:22.954>we <00:10:23.235>have, <00:10:23.515>uh, <00:10:23.795>uh,

168
00:10:25.595 --> 00:10:30.445
<00:10:25.595>Jupyter <00:10:25.735>Notebook <00:10:25.875>hosted <00:10:26.015>in <00:10:26.155>Call <00:10:26.295>up <00:10:26.435>if <00:10:26.575>you <00:10:26.715>want <00:10:26.855>to, <00:10:26.995>um,

169
00:10:31.105 --> 00:10:32.125
<00:10:31.105>try <00:10:31.564>it <00:10:32.023>yourself.

170
00:10:32.465 --> 00:10:36.005
<00:10:32.465>Uh, <00:10:32.745>download <00:10:33.025>the, <00:10:33.305>the <00:10:33.585>Python <00:10:33.865>file

171
00:10:36.065 --> 00:10:38.885
<00:10:36.065>or <00:10:36.240>the, <00:10:36.415>the <00:10:36.590>Jupiter <00:10:36.765>Notebook <00:10:36.940>file <00:10:37.115>on <00:10:37.290>GitHub <00:10:37.465>York,

172
00:10:39.025 --> 00:10:40.165
<00:10:39.025>Norman <00:10:39.538>Gen <00:10:40.050>ai.

173
00:10:40.665 --> 00:10:43.965
<00:10:40.665>And <00:10:40.839>this <00:10:41.015>is <00:10:41.189>here, <00:10:41.365>the <00:10:41.540>agent, <00:10:41.714>SDK <00:10:41.890>demo. <00:10:42.064>Okay?

174
00:10:45.025 --> 00:10:48.285
<00:10:45.025>So, <00:10:45.258>uh, <00:10:45.491>first <00:10:45.725>we <00:10:45.958>have <00:10:46.191>to, <00:10:46.425>uh,

175
00:10:48.475 --> 00:10:50.445
<00:10:48.475>install <00:10:48.825>the, <00:10:49.175>the <00:10:49.525>Python <00:10:49.875>package.

176
00:10:51.625 --> 00:10:56.525
<00:10:51.625>Um, <00:10:51.765>and <00:10:51.905>then, <00:10:52.045>uh, <00:10:52.185>we <00:10:52.325>provide <00:10:52.465>our <00:10:52.605>open <00:10:52.745>AI, <00:10:52.885>API <00:10:53.025>key.

177
00:10:57.005 --> 00:11:01.125
<00:10:57.005>I <00:10:57.180>use, <00:10:57.355>uh, <00:10:57.530>a <00:10:57.705>functionality <00:10:57.880>here <00:10:58.055>from <00:10:58.230>CoLab <00:10:58.405>to,

178
00:11:01.225 --> 00:11:03.765
<00:11:01.225>to <00:11:01.505>get <00:11:01.785>the <00:11:02.065>environment, <00:11:02.345>uh, <00:11:02.625>arrival.

179
00:11:04.995 --> 00:11:08.805
<00:11:04.995>Okay? <00:11:05.275>And <00:11:05.555>now <00:11:05.835>we <00:11:06.115>can <00:11:06.395>start.

180
00:11:11.635 --> 00:11:14.585
<00:11:11.635>First, <00:11:11.985>we <00:11:12.335>define <00:11:12.685>an <00:11:13.035>agent.

181
00:11:14.925 --> 00:11:17.185
<00:11:14.925>An <00:11:15.275>agent <00:11:15.625>has <00:11:15.974>a <00:11:16.324>name

182
00:11:17.925 --> 00:11:20.025
<00:11:17.925>and <00:11:18.391>get <00:11:18.858>some <00:11:19.324>instructions.

183
00:11:20.525 --> 00:11:25.105
<00:11:20.525>Uh, <00:11:20.805>so <00:11:21.084>the <00:11:21.365>agent <00:11:21.645>knows, <00:11:21.925>uh,

184
00:11:25.895 --> 00:11:27.505
<00:11:25.895>what, <00:11:26.175>what <00:11:26.454>it <00:11:26.735>should <00:11:27.015>do, <00:11:27.295>and,

185
00:11:27.605 --> 00:11:30.145
<00:11:27.605>and <00:11:27.885>yeah, <00:11:28.165>what's, <00:11:28.445>what's <00:11:28.725>its <00:11:29.005>job.

186
00:11:31.285 --> 00:11:35.065
<00:11:31.285>And <00:11:31.440>we <00:11:31.596>provide <00:11:31.751>some <00:11:31.907>information <00:11:32.062>about <00:11:32.218>the <00:11:32.373>model <00:11:32.529>we <00:11:32.685>want

187
00:11:35.065 --> 00:11:37.065
<00:11:35.065>to <00:11:35.415>use, <00:11:35.765>and <00:11:36.115>that's <00:11:36.465>it.

188
00:11:38.495 --> 00:11:40.945
<00:11:38.495>Then <00:11:38.728>we <00:11:38.961>can <00:11:39.195>run <00:11:39.428>the <00:11:39.661>agent, <00:11:39.895>and

189
00:11:41.455 --> 00:11:45.585
<00:11:41.455>therefore <00:11:41.630>we <00:11:41.805>have <00:11:41.980>the <00:11:42.155>run <00:11:42.330>class <00:11:42.505>with <00:11:42.680>the <00:11:42.855>synchronous

190
00:11:46.285 --> 00:11:47.305
<00:11:46.285>run <00:11:47.203>method.

191
00:11:48.125 --> 00:11:52.665
<00:11:48.125>So <00:11:48.325>we, <00:11:48.525>um, <00:11:48.725>first <00:11:48.925>put <00:11:49.125>in <00:11:49.325>our <00:11:49.525>agent

192
00:11:52.735 --> 00:11:55.645
<00:11:52.735>with <00:11:53.015>a <00:11:53.295>starting <00:11:53.575>agent, <00:11:53.855>uh, <00:11:54.135>parameter.

193
00:11:55.945 --> 00:11:59.965
<00:11:55.945>Uh, <00:11:56.072>yeah, <00:11:56.199>as <00:11:56.326>I <00:11:56.454>said <00:11:56.581>before, <00:11:56.708>agents <00:11:56.835>can <00:11:56.963>run <00:11:57.090>in <00:11:57.217>a <00:11:57.345>team,

194
00:12:00.345 --> 00:12:04.245
<00:12:00.345>and <00:12:00.500>here <00:12:00.656>you <00:12:00.811>must, <00:12:00.967>uh, <00:12:01.122>decide <00:12:01.278>which <00:12:01.433>agent <00:12:01.589>should <00:12:01.745>start,

195
00:12:05.585 --> 00:12:07.725
<00:12:05.585>and <00:12:05.865>we <00:12:06.145>put <00:12:06.425>in <00:12:06.705>some <00:12:06.985>input.

196
00:12:07.945 --> 00:12:10.405
<00:12:07.945>Uh, <00:12:08.178>this <00:12:08.411>is <00:12:08.645>a <00:12:08.878>classical <00:12:09.111>prompt, <00:12:09.345>okay?

197
00:12:11.505 --> 00:12:12.725
<00:12:11.505>So, <00:12:12.054>and <00:12:12.603>then

198
00:12:14.565 --> 00:12:16.575
<00:12:14.565>it's <00:12:15.265>run <00:12:15.965>synchronously.

199
00:12:17.035 --> 00:12:19.415
<00:12:17.035>So <00:12:17.314>you <00:12:17.594>then <00:12:17.875>have <00:12:18.155>the <00:12:18.435>result,

200
00:12:20.155 --> 00:12:23.655
<00:12:20.155>and <00:12:20.310>with <00:12:20.466>the <00:12:20.621>final <00:12:20.777>output <00:12:20.932>property, <00:12:21.088>you <00:12:21.243>get <00:12:21.399>a <00:12:21.555>string

201
00:12:24.595 --> 00:12:28.935
<00:12:24.595>and <00:12:24.750>you <00:12:24.906>can, <00:12:25.061>uh, <00:12:25.217>format <00:12:25.372>it, <00:12:25.528>uh, <00:12:25.683>format <00:12:25.839>it <00:12:25.995>sweetly

202
00:12:29.165 --> 00:12:31.615
<00:12:29.165>with <00:12:29.631>a <00:12:30.098>markup <00:12:30.564>class,

203
00:12:31.835 --> 00:12:33.735
<00:12:31.835>and <00:12:32.115>then <00:12:32.395>you <00:12:32.675>have <00:12:32.955>a, <00:12:33.235>yeah,

204
00:12:34.055 --> 00:12:37.565
<00:12:34.055>a <00:12:34.405>sweet <00:12:34.755>output <00:12:35.104>like <00:12:35.454>this.

205
00:12:45.515 --> 00:12:49.205
<00:12:45.515>Okay? <00:12:45.748>So <00:12:45.981>you <00:12:46.215>can <00:12:46.448>also <00:12:46.681>run <00:12:46.915>it

206
00:12:50.635 --> 00:12:54.605
<00:12:50.635>synchronously, <00:12:50.868>uh, <00:12:51.101>with <00:12:51.335>a <00:12:51.568>run <00:12:51.801>streamed <00:12:52.035>method.

207
00:12:55.545 --> 00:13:00.045
<00:12:55.545>Uh, <00:12:55.778>in <00:12:56.011>this <00:12:56.245>case, <00:12:56.478>you <00:12:56.711>get <00:12:56.944>chunks

208
00:13:00.145 --> 00:13:03.365
<00:13:00.145>of <00:13:00.425>results <00:13:00.704>that <00:13:00.985>you <00:13:01.265>can, <00:13:01.545>uh,

209
00:13:03.395 --> 00:13:05.205
<00:13:03.395>process, <00:13:04.795>okay?

210
00:13:06.265 --> 00:13:10.365
<00:13:06.265>And <00:13:06.465>you <00:13:06.665>have <00:13:06.865>an <00:13:07.064>event <00:13:07.265>type, <00:13:07.465>uh, <00:13:07.665>uh,

211
00:13:10.365 --> 00:13:14.525
<00:13:10.365>with <00:13:10.540>this <00:13:10.715>event <00:13:10.890>type, <00:13:11.065>you <00:13:11.240>can <00:13:11.415>filter <00:13:11.590>the <00:13:11.765>response

212
00:13:14.525 --> 00:13:18.725
<00:13:14.525>because <00:13:14.699>you'd <00:13:14.875>not <00:13:15.050>only <00:13:15.225>have <00:13:15.400>the, <00:13:15.574>the <00:13:15.750>pure <00:13:15.925>results,

213
00:13:19.385 --> 00:13:22.245
<00:13:19.385>but <00:13:19.665>also <00:13:19.944>tracing <00:13:20.225>information <00:13:20.505>on <00:13:20.785>sub

214
00:13:22.275 --> 00:13:23.765
<00:13:22.275>results <00:13:22.610>and <00:13:22.945>something <00:13:23.280>like <00:13:23.616>that.

215
00:13:24.105 --> 00:13:26.925
<00:13:24.105>We <00:13:24.455>see <00:13:24.805>this <00:13:25.155>later, <00:13:25.505>okay?

216
00:13:28.145 --> 00:13:29.805
<00:13:28.145>Now <00:13:28.611>we <00:13:29.078>run <00:13:29.545>it,

217
00:13:29.825 --> 00:13:34.245
<00:13:29.825>and <00:13:29.965>then <00:13:30.105>yeah, <00:13:30.245>you <00:13:30.385>have <00:13:30.525>these, <00:13:30.665>uh, <00:13:30.805>chat <00:13:30.945>GBT <00:13:31.085>style <00:13:31.225>output.

218
00:13:35.235 --> 00:13:36.805
<00:13:35.235>Okay, <00:13:35.935>that's <00:13:36.635>fine.

219
00:13:38.225 --> 00:13:40.525
<00:13:38.225>Now, <00:13:38.575>we <00:13:38.925>integrate <00:13:39.275>some <00:13:39.625>functions,

220
00:13:40.865 --> 00:13:43.845
<00:13:40.865>and, <00:13:41.065>uh, <00:13:41.265>here <00:13:41.465>you <00:13:41.665>can <00:13:41.865>see <00:13:42.065>the <00:13:42.265>sweetness

221
00:13:44.185 --> 00:13:48.645
<00:13:44.185>of <00:13:44.340>the <00:13:44.496>agents <00:13:44.651>SCK, <00:13:44.807>if <00:13:44.962>you <00:13:45.118>develop <00:13:45.273>it <00:13:45.429>with <00:13:45.584>Python,

222
00:13:49.275 --> 00:13:52.045
<00:13:49.275>because <00:13:49.555>it <00:13:49.834>has <00:13:50.115>perfect <00:13:50.395>Python <00:13:50.675>support.

223
00:13:53.065 --> 00:13:55.965
<00:13:53.065>Uh, <00:13:53.265>we <00:13:53.465>have <00:13:53.665>a, <00:13:53.865>uh, <00:13:54.065>a <00:13:54.265>function <00:13:54.465>here.

224
00:13:56.305 --> 00:14:00.645
<00:13:56.305>The <00:13:56.505>function <00:13:56.704>puts <00:13:56.905>something <00:13:57.104>into <00:13:57.305>the <00:13:57.505>shopping <00:13:57.704>list,

225
00:14:01.225 --> 00:14:04.925
<00:14:01.225>and <00:14:01.458>we, <00:14:01.691>uh, <00:14:01.925>mark, <00:14:02.158>uh, <00:14:02.391>the <00:14:02.625>function

226
00:14:05.115 --> 00:14:08.645
<00:14:05.115>with <00:14:05.465>a <00:14:05.815>function <00:14:06.165>tool, <00:14:06.515>okay?

227
00:14:09.825 --> 00:14:13.645
<00:14:09.825>And <00:14:10.058>then <00:14:10.291>we <00:14:10.525>can <00:14:10.758>directly <00:14:10.991>assign <00:14:11.225>it

228
00:14:13.865 --> 00:14:14.925
<00:14:13.865>to <00:14:14.342>our <00:14:14.819>agent.

229
00:14:16.505 --> 00:14:20.885
<00:14:16.505>No, <00:14:16.705>no <00:14:16.905>string <00:14:17.105>magic <00:14:17.305>or <00:14:17.505>some <00:14:17.705>metadata <00:14:17.905>magic

230
00:14:20.985 --> 00:14:22.005
<00:14:20.985>or <00:14:21.291>something <00:14:21.597>like <00:14:21.903>this.

231
00:14:22.275 --> 00:14:26.845
<00:14:22.275>Just <00:14:22.402>put <00:14:22.529>in <00:14:22.656>the <00:14:22.784>name <00:14:22.911>of <00:14:23.038>the <00:14:23.165>Python <00:14:23.293>method, <00:14:23.420>and <00:14:23.547>that's <00:14:23.675>it.

232
00:14:27.745 --> 00:14:31.095
<00:14:27.745>And <00:14:28.025>the <00:14:28.305>API <00:14:28.585>is <00:14:28.865>able, <00:14:29.145>uh,

233
00:14:31.355 --> 00:14:35.015
<00:14:31.355>to <00:14:31.530>collect <00:14:31.705>all <00:14:31.880>the <00:14:32.055>met <00:14:32.230>data <00:14:32.405>that <00:14:32.580>is <00:14:32.755>necessary

234
00:14:35.915 --> 00:14:40.335
<00:14:35.915>to <00:14:36.115>describe <00:14:36.314>the <00:14:36.515>model, <00:14:36.714>what <00:14:36.915>is, <00:14:37.115>uh, <00:14:37.314>the,

235
00:14:42.445 --> 00:14:44.775
<00:14:42.445>yeah, <00:14:42.725>what <00:14:43.005>does <00:14:43.285>the, <00:14:43.565>the <00:14:43.845>method

236
00:14:45.235 --> 00:14:48.055
<00:14:45.235>and, <00:14:45.390>uh, <00:14:45.546>what <00:14:45.701>kind <00:14:45.857>of <00:14:46.012>power <00:14:46.168>are <00:14:46.323>the <00:14:46.479>method <00:14:46.635>has

237
00:14:48.155 --> 00:14:49.175
<00:14:48.155>and <00:14:48.461>something <00:14:48.766>like <00:14:49.073>this.

238
00:14:49.675 --> 00:14:54.285
<00:14:49.675>And <00:14:49.814>so, <00:14:49.954>if, <00:14:50.094>uh, <00:14:50.234>the <00:14:50.375>model <00:14:50.515>decides <00:14:50.655>to <00:14:50.795>call <00:14:50.935>this <00:14:51.074>method,

239
00:14:54.865 --> 00:14:56.725
<00:14:54.865>the <00:14:55.331>SDK <00:14:55.798>does <00:14:56.265>it,

240
00:14:57.625 --> 00:14:59.965
<00:14:57.625>and <00:14:57.858>then <00:14:58.091>he <00:14:58.325>gets <00:14:58.558>back <00:14:58.791>the <00:14:59.025>result

241
00:15:00.305 --> 00:15:03.605
<00:15:00.305>and <00:15:00.538>communicates <00:15:00.771>that <00:15:01.005>back <00:15:01.238>to <00:15:01.471>the <00:15:01.704>model

242
00:15:03.945 --> 00:15:07.765
<00:15:03.945>and <00:15:04.085>gets <00:15:04.225>the <00:15:04.365>answer <00:15:04.505>back, <00:15:04.645>eh, <00:15:04.785>you, <00:15:04.925>you <00:15:05.065>know, <00:15:05.205>this <00:15:05.345>kind

243
00:15:07.765 --> 00:15:11.765
<00:15:07.765>of <00:15:07.965>double <00:15:08.165>look <00:15:08.365>up <00:15:08.564>workflow, <00:15:08.765>if <00:15:08.965>you, <00:15:09.165>uh,

244
00:15:12.585 --> 00:15:14.645
<00:15:12.585>uh, <00:15:12.865>if <00:15:13.145>you <00:15:13.425>develop <00:15:13.705>it, <00:15:13.985>uh,

245
00:15:14.645 --> 00:15:16.885
<00:15:14.645>with <00:15:14.925>a <00:15:15.204>chat <00:15:15.485>completion, <00:15:15.765>API, <00:15:16.045>yeah.

246
00:15:17.265 --> 00:15:22.165
<00:15:17.265>So <00:15:17.392>in <00:15:17.519>here, <00:15:17.646>we <00:15:17.774>only <00:15:17.901>have <00:15:18.028>to <00:15:18.155>put <00:15:18.283>in <00:15:18.410>with <00:15:18.537>the <00:15:18.665>tools,

247
00:15:22.585 --> 00:15:26.965
<00:15:22.585>um, <00:15:22.760>the <00:15:22.935>parameter, <00:15:23.110>our <00:15:23.285>function, <00:15:23.460>and <00:15:23.635>then <00:15:23.810>run <00:15:23.985>it.

248
00:15:27.145 --> 00:15:29.085
<00:15:27.145>That's <00:15:27.845>it. <00:15:28.545>Okay?

249
00:15:29.945 --> 00:15:34.485
<00:15:29.945>And <00:15:31.345>so,

250
00:15:34.985 --> 00:15:35.205
uh,

251
00:15:42.035 --> 00:15:42.325
Okay.

252
00:15:42.385 --> 00:15:46.325
<00:15:42.385>And <00:15:42.525>as <00:15:42.665>you <00:15:42.805>can <00:15:42.944>see <00:15:43.085>here, <00:15:43.225>we <00:15:43.365>have <00:15:43.505>some <00:15:43.645>trace <00:15:43.785>output

253
00:15:46.875 --> 00:15:47.885
<00:15:46.875>from <00:15:47.329>the <00:15:47.784>function.

254
00:15:48.305 --> 00:15:51.845
<00:15:48.305>So <00:15:48.479>you <00:15:48.655>can <00:15:48.829>see <00:15:49.005>the <00:15:49.180>function <00:15:49.354>is <00:15:49.530>called, <00:15:49.704>okay.

255
00:15:52.585 --> 00:15:56.725
<00:15:52.585>And <00:15:52.785>we, <00:15:52.985>we <00:15:53.185>don't, <00:15:53.385>uh, <00:15:53.585>have <00:15:53.785>to <00:15:53.985>deal

256
00:15:56.835 --> 00:15:59.125
<00:15:56.835>with <00:15:57.115>function <00:15:57.395>calling <00:15:57.675>in <00:15:57.955>this <00:15:58.235>case.

257
00:16:00.315 --> 00:16:02.565
<00:16:00.315>Okay? <00:16:00.781>So <00:16:01.248>that's <00:16:01.715>fine.

258
00:16:02.865 --> 00:16:04.165
<00:16:02.865>But, <00:16:03.255>uh, <00:16:03.645>let's, <00:16:04.035>um,

259
00:16:05.675 --> 00:16:10.125
<00:16:05.675>integrate <00:16:05.849>some <00:16:06.025>build-in <00:16:06.199>tools <00:16:06.375>from <00:16:06.550>OpenAI <00:16:06.724>into <00:16:06.900>the <00:16:07.074>process.

260
00:16:10.945 --> 00:16:14.565
<00:16:10.945>Uh, <00:16:11.085>in <00:16:11.225>this <00:16:11.365>case, <00:16:11.505>we <00:16:11.645>have, <00:16:11.785>uh, <00:16:11.925>the <00:16:12.065>web <00:16:12.205>search <00:16:12.345>tool.

261
00:16:15.105 --> 00:16:16.565
<00:16:15.105>And <00:16:15.433>it's <00:16:15.762>quite <00:16:16.090>easy <00:16:16.419>too,

262
00:16:16.565 --> 00:16:19.245
<00:16:16.565>because, <00:16:16.740>uh, <00:16:16.915>you <00:16:17.090>define <00:16:17.265>your <00:16:17.440>agent <00:16:17.615>with <00:16:17.790>a <00:16:17.965>name,

263
00:16:19.635 --> 00:16:20.725
<00:16:19.635>with <00:16:20.616>instructions.

264
00:16:20.905 --> 00:16:25.325
<00:16:20.905>You <00:16:21.021>can <00:16:21.138>define <00:16:21.255>an <00:16:21.371>output <00:16:21.488>type <00:16:21.605>if <00:16:21.721>you <00:16:21.838>like, <00:16:21.954>if <00:16:22.071>you <00:16:22.188>want <00:16:22.305>to,

265
00:16:25.425 --> 00:16:29.445
<00:16:25.425>uh, <00:16:25.625>return, <00:16:25.824>uh, <00:16:26.025>with <00:16:26.224>a <00:16:26.425>Js <00:16:26.625>N <00:16:26.824>format

266
00:16:29.745 --> 00:16:30.805
<00:16:29.745>or <00:16:30.063>something <00:16:30.381>like <00:16:30.699>this,

267
00:16:31.065 --> 00:16:33.845
<00:16:31.065>or <00:16:31.240>you <00:16:31.415>say, <00:16:31.590>okay, <00:16:31.765>give <00:16:31.940>me <00:16:32.115>a <00:16:32.290>string, <00:16:32.465>huh?

268
00:16:34.305 --> 00:16:39.045
<00:16:34.305>And <00:16:34.505>in <00:16:34.704>the <00:16:34.905>tools <00:16:35.104>parameter, <00:16:35.305>we <00:16:35.505>call <00:16:35.704>the

269
00:16:40.025 --> 00:16:44.565
<00:16:40.025>web <00:16:40.165>search <00:16:40.305>tool <00:16:40.444>method, <00:16:40.584>this <00:16:40.725>is <00:16:40.865>built <00:16:41.005>in, <00:16:41.145>in <00:16:41.285>the <00:16:41.425>SDK,

270
00:16:44.945 --> 00:16:49.045
<00:16:44.945>and <00:16:45.120>that's, <00:16:45.295>uh, <00:16:45.470>returns, <00:16:45.645>uh, <00:16:45.820>the <00:16:45.995>necessary <00:16:46.170>meta <00:16:46.345>data,

271
00:16:49.745 --> 00:16:53.845
<00:16:49.745>uh, <00:16:49.872>to <00:16:49.999>tell <00:16:50.126>the <00:16:50.254>model <00:16:50.381>that <00:16:50.508>we <00:16:50.635>want <00:16:50.763>to <00:16:50.890>use <00:16:51.017>this <00:16:51.145>tool.

272
00:16:54.265 --> 00:16:58.885
<00:16:54.265>And <00:16:54.465>so <00:16:54.665>every <00:16:54.865>prompt <00:16:55.064>we <00:16:55.265>execute <00:16:55.465>now, <00:16:55.665>um,

273
00:16:59.765 --> 00:17:01.845
<00:16:59.765>produces <00:17:00.231>a <00:17:00.698>web <00:17:01.165>search.

274
00:17:02.705 --> 00:17:05.765
<00:17:02.705>So <00:17:02.880>on <00:17:03.055>the <00:17:03.230>tool, <00:17:03.405>uh, <00:17:03.580>do <00:17:03.755>a <00:17:03.930>web <00:17:04.105>search,

275
00:17:06.065 --> 00:17:10.245
<00:17:06.065>and <00:17:06.220>in <00:17:06.376>the <00:17:06.531>search <00:17:06.687>results, <00:17:06.842>uh, <00:17:06.998>get <00:17:07.153>back, <00:17:07.309>uh, <00:17:07.465>the,

276
00:17:10.265 --> 00:17:15.205
<00:17:10.265>the <00:17:10.440>websites <00:17:10.615>make <00:17:10.790>this <00:17:10.965>rec <00:17:11.140>thing <00:17:11.315>with <00:17:11.490>the <00:17:11.665>websites,

277
00:17:15.705 --> 00:17:18.685
<00:17:15.704>and, <00:17:15.905>uh, <00:17:16.105>get <00:17:16.304>the <00:17:16.504>answer <00:17:16.704>from <00:17:16.905>the <00:17:17.105>data.

278
00:17:19.475 --> 00:17:23.965
<00:17:19.474>Yeah. <00:17:19.630>And <00:17:19.786>so <00:17:19.941>we <00:17:20.097>can <00:17:20.252>prompt <00:17:20.408>up <00:17:20.563>to <00:17:20.719>date, <00:17:20.875>um,

279
00:17:24.475 --> 00:17:26.525
<00:17:24.474>information <00:17:24.824>like <00:17:25.175>this <00:17:25.524>one <00:17:25.875>here

280
00:17:26.525 --> 00:17:29.965
<00:17:26.525>with <00:17:26.725>a <00:17:26.925>German <00:17:27.125>football <00:17:27.325>bun <00:17:27.525>Liga, <00:17:27.725>for <00:17:27.925>example.

281
00:17:30.545 --> 00:17:33.175
<00:17:30.545>And <00:17:30.895>so <00:17:31.245>we <00:17:31.595>get, <00:17:31.945>uh,

282
00:17:34.505 --> 00:17:35.685
<00:17:34.505>the <00:17:34.770>answer <00:17:35.036>with <00:17:35.301>the <00:17:35.567>tool.

283
00:17:41.295 --> 00:17:45.065
<00:17:41.295>Okay? <00:17:41.528>So <00:17:41.761>now, <00:17:41.995>uh, <00:17:42.228>it's <00:17:42.461>all <00:17:42.695>fine,

284
00:17:45.245 --> 00:17:47.905
<00:17:45.245>but, <00:17:45.594>um, <00:17:45.945>we <00:17:46.294>have, <00:17:46.645>uh,

285
00:17:48.225 --> 00:17:51.805
<00:17:48.225>normally <00:17:48.425>we <00:17:48.625>have <00:17:48.824>conversations <00:17:49.024>in <00:17:49.225>our, <00:17:49.425>uh, <00:17:49.625>process

286
00:17:52.425 --> 00:17:54.485
<00:17:52.425>and <00:17:52.891>not <00:17:53.358>single <00:17:53.825>prompts.

287
00:17:55.475 --> 00:17:57.325
<00:17:55.475>Okay, <00:17:55.824>let's <00:17:56.175>do <00:17:56.524>a <00:17:56.875>conversation.

288
00:17:57.705 --> 00:18:02.125
<00:17:57.705>We <00:17:57.845>have, <00:17:57.985>uh, <00:17:58.125>our <00:17:58.264>starting <00:17:58.405>agent, <00:17:58.544>and <00:17:58.685>we <00:17:58.824>have <00:17:58.965>our <00:17:59.105>prompt

289
00:18:02.265 --> 00:18:03.845
<00:18:02.265>and <00:18:02.545>we <00:18:02.825>get <00:18:03.105>a <00:18:03.385>result, <00:18:03.665>okay?

290
00:18:04.865 --> 00:18:09.005
<00:18:04.865>And <00:18:05.005>on <00:18:05.145>the <00:18:05.285>result, <00:18:05.425>you <00:18:05.565>can, <00:18:05.705>uh, <00:18:05.845>output <00:18:05.985>the <00:18:06.125>final <00:18:06.265>output,

291
00:18:09.185 --> 00:18:10.325
<00:18:09.185>as <00:18:09.527>we've <00:18:09.869>seen <00:18:10.211>before,

292
00:18:10.905 --> 00:18:15.005
<00:18:10.905>but <00:18:11.060>we <00:18:11.216>can <00:18:11.371>also <00:18:11.527>call <00:18:11.682>the <00:18:11.838>two <00:18:11.993>input <00:18:12.149>list <00:18:12.305>method.

293
00:18:15.635 --> 00:18:20.605
<00:18:15.635>Then <00:18:15.810>we <00:18:15.985>get <00:18:16.160>back <00:18:16.335>a <00:18:16.510>chained <00:18:16.685>list, <00:18:16.860>a <00:18:17.035>list

294
00:18:20.755 --> 00:18:22.805
<00:18:20.755>that <00:18:21.221>we <00:18:21.688>can <00:18:22.155>append.

295
00:18:23.425 --> 00:18:28.365
<00:18:23.425>And <00:18:23.580>so <00:18:23.736>we <00:18:23.891>have <00:18:24.047>this, <00:18:24.202>um, <00:18:24.358>uh, <00:18:24.513>collection <00:18:24.669>of, <00:18:24.825>um,

296
00:18:28.785 --> 00:18:32.805
<00:18:28.785>of <00:18:29.018>methods, <00:18:29.251>uh, <00:18:29.485>we <00:18:29.718>can, <00:18:29.951>uh, <00:18:30.185>put

297
00:18:34.615 --> 00:18:38.435
<00:18:34.615>as <00:18:34.895>input <00:18:35.175>to, <00:18:35.455>uh, <00:18:35.735>the <00:18:36.015>agent

298
00:18:38.975 --> 00:18:42.475
<00:18:38.975>and <00:18:39.175>can <00:18:39.375>append <00:18:39.574>it <00:18:39.774>with <00:18:39.975>a <00:18:40.175>new <00:18:40.375>message.

299
00:18:42.775 --> 00:18:46.715
<00:18:42.775>And <00:18:43.055>so <00:18:43.335>we <00:18:43.615>collect <00:18:43.895>all <00:18:44.175>messages

300
00:18:46.975 --> 00:18:50.075
<00:18:46.975>and <00:18:47.208>can <00:18:47.441>transfer <00:18:47.675>it <00:18:47.908>to <00:18:48.141>the <00:18:48.375>model.

301
00:18:51.145 --> 00:18:51.435
Okay?

302
00:18:56.015 --> 00:18:59.075
<00:18:56.015>Now, <00:18:56.155>and <00:18:56.295>here <00:18:56.435>you <00:18:56.575>can <00:18:56.715>see <00:18:56.855>the <00:18:56.995>structure <00:18:57.135>of <00:18:57.275>the <00:18:57.415>list.

303
00:18:59.655 --> 00:19:04.315
<00:18:59.655>So <00:18:59.810>as <00:18:59.966>you <00:19:00.121>can <00:19:00.277>see, <00:19:00.432>it's <00:19:00.588>a <00:19:00.743>simple <00:19:00.899>Jason. <00:19:01.055>Okay?

304
00:19:04.775 --> 00:19:07.955
<00:19:04.775>So <00:19:04.975>now, <00:19:05.175>uh, <00:19:05.375>the, <00:19:05.575>these <00:19:05.775>are <00:19:05.975>the <00:19:06.175>basics.

305
00:19:07.975 --> 00:19:11.675
<00:19:07.975>The <00:19:08.175>real <00:19:08.375>cool <00:19:08.574>stuff, <00:19:08.774>uh, <00:19:08.975>comes <00:19:09.175>next, <00:19:09.375>uh,

306
00:19:11.825 --> 00:19:13.075
<00:19:11.825>with <00:19:12.950>handoffs.

307
00:19:13.185 --> 00:19:17.955
<00:19:13.185>With <00:19:13.385>handoffs, <00:19:13.585>uh, <00:19:13.784>you <00:19:13.985>can, <00:19:14.185>um, <00:19:14.385>build, <00:19:14.585>um,

308
00:19:18.095 --> 00:19:20.915
<00:19:18.095>uh, <00:19:18.375>an <00:19:18.655>agent <00:19:18.935>team <00:19:19.215>with, <00:19:19.495>uh,

309
00:19:21.355 --> 00:19:23.635
<00:19:21.355>a <00:19:21.821>pattern <00:19:22.288>called <00:19:22.755>handoff.

310
00:19:24.215 --> 00:19:28.875
<00:19:24.215>The <00:19:24.370>idea <00:19:24.526>is <00:19:24.681>that, <00:19:24.837>uh, <00:19:24.992>you <00:19:25.148>put <00:19:25.303>in <00:19:25.459>your <00:19:25.615>prompt

311
00:19:29.615 --> 00:19:31.075
<00:19:29.615>to <00:19:30.272>an <00:19:30.929>agent,

312
00:19:31.535 --> 00:19:35.595
<00:19:31.535>and <00:19:31.815>this <00:19:32.095>agent, <00:19:32.375>uh, <00:19:32.655>decides <00:19:32.935>which,

313
00:19:36.615 --> 00:19:41.035
<00:19:36.615>uh, <00:19:36.895>agent <00:19:37.175>is, <00:19:37.455>uh, <00:19:37.735>able <00:19:38.015>to

314
00:19:41.805 --> 00:19:44.955
<00:19:41.805>solve <00:19:42.038>your <00:19:42.271>problem <00:19:42.505>or <00:19:42.738>answer <00:19:42.971>your <00:19:43.205>question.

315
00:19:46.065 --> 00:19:49.915
<00:19:46.065>Okay? <00:19:46.265>Well, <00:19:46.465>here <00:19:46.665>we <00:19:46.865>see <00:19:47.065>we <00:19:47.265>have, <00:19:47.465>uh,

316
00:19:50.045 --> 00:19:51.115
<00:19:50.045>three <00:19:51.008>agents.

317
00:19:52.325 --> 00:19:53.875
<00:19:52.325>These <00:19:53.022>are <00:19:53.720>accountants,

318
00:19:54.415 --> 00:19:58.875
<00:19:54.415>and <00:19:54.570>the, <00:19:54.726>uh, <00:19:54.881>these <00:19:55.037>are <00:19:55.192>special, <00:19:55.348>uh, <00:19:55.503>the, <00:19:55.659>the, <00:19:55.815>uh,

319
00:20:00.225 --> 00:20:04.795
<00:20:00.225>specialized <00:20:00.458>in, <00:20:00.691>uh, <00:20:00.925>record, <00:20:01.158>um, <00:20:01.391>uh, <00:20:01.625>travel

320
00:20:05.315 --> 00:20:09.235
<00:20:05.315>expenses <00:20:05.595>or, <00:20:05.875>uh, <00:20:06.155>process <00:20:06.435>fuel <00:20:06.715>expenses

321
00:20:09.695 --> 00:20:12.475
<00:20:09.695>or <00:20:10.161>process <00:20:10.628>general <00:20:11.095>expenses.

322
00:20:13.025 --> 00:20:16.515
<00:20:13.025>Okay? <00:20:13.225>And <00:20:13.425>for <00:20:13.625>that, <00:20:13.825>we <00:20:14.025>have <00:20:14.225>defined <00:20:14.425>tools.

323
00:20:17.775 --> 00:20:21.315
<00:20:17.775>So <00:20:17.950>here <00:20:18.125>we <00:20:18.300>have <00:20:18.475>these <00:20:18.650>pies <00:20:18.825>and <00:20:19.000>functions, <00:20:19.175>okay?

324
00:20:22.055 --> 00:20:25.315
<00:20:22.055>That's, <00:20:22.335>this <00:20:22.615>is, <00:20:22.895>uh, <00:20:23.175>the <00:20:23.455>job,

325
00:20:25.855 --> 00:20:30.045
<00:20:25.855>and <00:20:26.055>we <00:20:26.255>have <00:20:26.455>a <00:20:26.655>third, <00:20:26.855>uh, <00:20:27.055>fourth <00:20:27.255>agent,

326
00:20:30.265 --> 00:20:34.565
<00:20:30.265>the <00:20:30.498>triage <00:20:30.731>agent <00:20:30.965>that, <00:20:31.198>uh, <00:20:31.431>roots <00:20:31.665>your

327
00:20:35.105 --> 00:20:38.485
<00:20:35.105>prompt <00:20:35.385>to <00:20:35.665>the <00:20:35.945>suitable <00:20:36.225>agent, <00:20:36.505>okay?

328
00:20:39.185 --> 00:20:43.285
<00:20:39.185>And <00:20:39.325>then <00:20:39.465>we <00:20:39.605>can, <00:20:39.745>uh, <00:20:39.885>provide <00:20:40.024>it <00:20:40.165>here <00:20:40.304>with <00:20:40.445>the <00:20:40.585>handoffs,

329
00:20:43.665 --> 00:20:44.805
<00:20:43.665>uh, <00:20:44.691>parameter.

330
00:20:45.065 --> 00:20:47.725
<00:20:45.065>We <00:20:45.345>put <00:20:45.625>in <00:20:45.905>just <00:20:46.185>our <00:20:46.465>agents

331
00:20:48.505 --> 00:20:50.245
<00:20:48.505>and <00:20:48.971>said, <00:20:49.438>okay, <00:20:49.905>rooted.

332
00:20:51.265 --> 00:20:54.925
<00:20:51.265>That's <00:20:51.465>it. <00:20:51.665>Then <00:20:51.865>we <00:20:52.065>have <00:20:52.265>our <00:20:52.465>prompt <00:20:52.665>here,

333
00:20:55.345 --> 00:20:57.205
<00:20:55.345>please <00:20:55.695>record <00:20:56.045>my <00:20:56.395>fuel <00:20:56.745>cost.

334
00:20:58.305 --> 00:21:01.005
<00:20:58.305>And <00:20:58.771>runner <00:20:59.238>run <00:20:59.705>streamed

335
00:21:02.485 --> 00:21:05.485
<00:21:02.485>starting <00:21:02.764>agent <00:21:03.044>is <00:21:03.324>a <00:21:03.604>triage <00:21:03.885>agent,

336
00:21:06.345 --> 00:21:09.245
<00:21:06.345>and <00:21:06.578>our <00:21:06.811>user <00:21:07.045>query, <00:21:07.278>and <00:21:07.511>that's <00:21:07.745>it.

337
00:21:15.075 --> 00:21:19.775
<00:21:15.075>So, <00:21:15.191>and <00:21:15.308>in <00:21:15.425>here, <00:21:15.541>can, <00:21:15.658>you <00:21:15.775>can <00:21:15.891>see, <00:21:16.008>uh, <00:21:16.125>I <00:21:16.241>can, <00:21:16.358>uh, <00:21:16.475>filter

338
00:21:20.395 --> 00:21:25.015
<00:21:20.395>the <00:21:20.595>streamed <00:21:20.795>output <00:21:20.995>to <00:21:21.195>receive, <00:21:21.395>uh, <00:21:21.595>tracing <00:21:21.795>informations.

339
00:21:25.875 --> 00:21:30.615
<00:21:25.875>So <00:21:26.002>we <00:21:26.129>can <00:21:26.256>see <00:21:26.384>here, <00:21:26.511>uh, <00:21:26.638>we <00:21:26.765>go <00:21:26.893>in <00:21:27.020>with <00:21:27.147>our <00:21:27.275>prompt.

340
00:21:31.395 --> 00:21:34.335
<00:21:31.395>The <00:21:31.628>starting <00:21:31.861>agent <00:21:32.095>is <00:21:32.328>a <00:21:32.561>triage <00:21:32.795>agent.

341
00:21:34.805 --> 00:21:39.775
<00:21:34.805>Then <00:21:34.945>it <00:21:35.085>routes <00:21:35.225>to <00:21:35.365>the <00:21:35.505>fuel <00:21:35.645>cost <00:21:35.785>agents <00:21:35.925>with <00:21:36.065>this <00:21:36.205>parameter,

342
00:21:40.555 --> 00:21:44.095
<00:21:40.555>uh, <00:21:40.755>the <00:21:40.955>fuel <00:21:41.155>cost <00:21:41.355>agents <00:21:41.555>calls <00:21:41.755>a <00:21:41.955>tool.

343
00:21:46.025 --> 00:21:50.395
<00:21:46.025>This <00:21:46.200>is <00:21:46.375>the, <00:21:46.550>the <00:21:46.725>function, <00:21:46.900>the <00:21:47.075>tool, <00:21:47.250>uh, <00:21:47.425>calls

344
00:21:51.265 --> 00:21:54.515
<00:21:51.265>with <00:21:51.465>this <00:21:51.665>data, <00:21:51.865>and <00:21:52.065>this <00:21:52.265>is <00:21:52.465>the <00:21:52.665>output.

345
00:21:54.895 --> 00:21:58.515
<00:21:54.895>And <00:21:55.175>now <00:21:55.455>the <00:21:55.735>official, <00:21:56.014>uh, <00:21:56.295>output,

346
00:21:58.615 --> 00:22:02.275
<00:21:58.615>or <00:21:58.848>the <00:21:59.081>official <00:21:59.315>result <00:21:59.548>of <00:21:59.781>this <00:22:00.015>process

347
00:22:03.325 --> 00:22:07.595
<00:22:03.325>comes, <00:22:03.525>comes, <00:22:03.725>uh, <00:22:03.925>from <00:22:04.125>the <00:22:04.325>triage <00:22:04.525>agent, <00:22:04.725>uh,

348
00:22:07.685 --> 00:22:10.195
<00:22:07.685>where <00:22:08.034>he <00:22:08.385>collects <00:22:08.735>the <00:22:09.085>results.

349
00:22:10.745 --> 00:22:12.965
<00:22:10.745>Okay? <00:22:12.145>So,

350
00:22:13.505 --> 00:22:17.245
<00:22:13.505>and, <00:22:13.785>uh, <00:22:14.065>this <00:22:14.345>is <00:22:14.625>an <00:22:14.905>example

351
00:22:17.385 --> 00:22:18.805
<00:22:17.385>of <00:22:17.811>an <00:22:18.237>agent <00:22:18.663>workflow.

352
00:22:20.065 --> 00:22:24.605
<00:22:20.065>Uh, <00:22:20.240>the, <00:22:20.415>the <00:22:20.590>next <00:22:20.765>sample <00:22:20.940>is, <00:22:21.115>uh, <00:22:21.290>an <00:22:21.465>example

353
00:22:24.905 --> 00:22:26.845
<00:22:24.905>of <00:22:25.371>a <00:22:25.838>cross-functional <00:22:26.305>team.

354
00:22:28.145 --> 00:22:32.845
<00:22:28.145>Uh, <00:22:28.345>in <00:22:28.545>this <00:22:28.745>case, <00:22:28.945>we <00:22:29.145>have <00:22:29.345>three <00:22:29.545>chefs.

355
00:22:33.635 --> 00:22:35.845
<00:22:33.635>Yeah, <00:22:33.985>they <00:22:34.335>can <00:22:34.685>cook <00:22:35.035>meals

356
00:22:36.225 --> 00:22:40.285
<00:22:36.225>or, <00:22:36.504>um, <00:22:36.784>can <00:22:37.064>write, <00:22:37.344>uh, <00:22:37.625>receipts

357
00:22:40.425 --> 00:22:41.605
<00:22:40.425>or <00:22:40.779>something <00:22:41.133>like <00:22:41.487>this.

358
00:22:42.105 --> 00:22:46.845
<00:22:42.105>And <00:22:42.280>they're <00:22:42.455>specialized <00:22:42.630>in, <00:22:42.805>uh, <00:22:42.980>desserts <00:22:43.155>and <00:22:43.330>main <00:22:43.505>courses

359
00:22:47.345 --> 00:22:48.525
<00:22:47.345>or <00:22:48.407>appetizers.

360
00:22:49.195 --> 00:22:53.445
<00:22:49.195>Okay? <00:22:49.395>And <00:22:49.595>these <00:22:49.794>three <00:22:49.995>chefs, <00:22:50.195>um, <00:22:50.395>are <00:22:50.595>connected

361
00:22:53.905 --> 00:22:55.365
<00:22:53.905>to <00:22:54.343>the <00:22:54.781>receipt <00:22:55.219>agent.

362
00:22:56.305 --> 00:22:59.965
<00:22:56.305>So <00:22:56.538>when <00:22:56.771>we <00:22:57.005>call <00:22:57.238>the <00:22:57.471>receipt <00:22:57.705>agent

363
00:23:00.185 --> 00:23:03.805
<00:23:00.185>and <00:23:00.325>say, <00:23:00.465>okay, <00:23:00.605>give, <00:23:00.745>give <00:23:00.885>me <00:23:01.024>a <00:23:01.165>receipt <00:23:01.304>for <00:23:01.445>a <00:23:01.585>meal

364
00:23:05.595 --> 00:23:08.965
<00:23:05.595>with, <00:23:05.828>um, <00:23:06.061>uh, <00:23:06.295>appetizer, <00:23:06.528>our <00:23:06.761>main <00:23:06.995>cause

365
00:23:08.985 --> 00:23:13.125
<00:23:08.985>and <00:23:09.140>dessert, <00:23:09.296>it <00:23:09.451>can, <00:23:09.607>uh, <00:23:09.762>do <00:23:09.918>it <00:23:10.073>with <00:23:10.229>the <00:23:10.385>help

366
00:23:13.705 --> 00:23:18.645
<00:23:13.705>of <00:23:13.985>the <00:23:14.264>three, <00:23:14.544>uh, <00:23:14.824>other <00:23:15.105>agents

367
00:23:19.555 --> 00:23:22.925
<00:23:19.555>that <00:23:20.021>are, <00:23:20.488>um, <00:23:20.955>assigned

368
00:23:23.345 --> 00:23:26.125
<00:23:23.345>to <00:23:23.625>this <00:23:23.905>agent <00:23:24.185>via <00:23:24.465>a <00:23:24.745>tool.

369
00:23:27.185 --> 00:23:31.445
<00:23:27.185>So <00:23:27.312>do, <00:23:27.439>you <00:23:27.566>can <00:23:27.694>call <00:23:27.821>on <00:23:27.948>the <00:23:28.075>agent <00:23:28.203>the <00:23:28.330>as <00:23:28.457>tool <00:23:28.585>method

370
00:23:31.945 --> 00:23:35.645
<00:23:31.945>and <00:23:32.225>puts <00:23:32.504>into <00:23:32.784>the <00:23:33.064>tool <00:23:33.345>parameter.

371
00:23:35.955 --> 00:23:39.845
<00:23:35.955>Yeah. <00:23:36.155>And <00:23:36.355>then <00:23:36.554>you <00:23:36.754>describe <00:23:36.955>what, <00:23:37.155>what's <00:23:37.355>the,

372
00:23:40.145 --> 00:23:43.365
<00:23:40.145>what's <00:23:40.345>the <00:23:40.545>job <00:23:40.745>here <00:23:40.945>for, <00:23:41.145>for <00:23:41.345>this <00:23:41.545>agent?

373
00:23:43.835 --> 00:23:47.675
<00:23:43.835>Okay? <00:23:44.301>So <00:23:44.768>that's <00:23:45.235>it.

374
00:23:47.935 --> 00:23:52.595
<00:23:47.935>Now <00:23:48.135>you <00:23:48.335>run, <00:23:48.534>it <00:23:48.735>gets <00:23:48.935>back <00:23:49.135>some <00:23:49.335>results,

375
00:23:52.975 --> 00:23:54.155
<00:23:52.975>you <00:23:53.329>can <00:23:53.683>filter <00:23:54.037>it

376
00:23:54.495 --> 00:23:59.435
<00:23:54.495>and, <00:23:54.650>uh, <00:23:54.806>can <00:23:54.961>trace <00:23:55.117>all, <00:23:55.272>uh, <00:23:55.428>outputs, <00:23:55.583>all <00:23:55.739>the <00:23:55.895>traces,

377
00:24:00.575 --> 00:24:03.755
<00:24:00.575>and, <00:24:01.275>uh, <00:24:01.975>this

378
00:24:03.975 --> 00:24:07.255
<00:24:03.975>is <00:24:04.675>the <00:24:05.375>result.

379
00:24:07.915 --> 00:24:10.615
<00:24:07.915>We <00:24:08.195>start <00:24:08.475>with <00:24:08.754>a <00:24:09.034>received <00:24:09.315>agent.

380
00:24:13.225 --> 00:24:18.095
<00:24:13.225>Whoop. <00:24:13.380>So <00:24:13.536>here <00:24:13.691>we <00:24:13.847>see <00:24:14.002>the, <00:24:14.158>there <00:24:14.313>are <00:24:14.469>the <00:24:14.625>tools.

381
00:24:19.275 --> 00:24:23.295
<00:24:19.275>The <00:24:19.450>appetizer <00:24:19.625>is <00:24:19.800>called, <00:24:19.975>the <00:24:20.150>main <00:24:20.325>cause <00:24:20.500>is <00:24:20.675>called,

382
00:24:24.475 --> 00:24:25.695
<00:24:24.475>um, <00:24:25.024>the <00:24:25.572>dessert.

383
00:24:26.115 --> 00:24:28.095
<00:24:26.115>And <00:24:26.348>as, <00:24:26.581>as <00:24:26.815>you <00:24:27.048>can <00:24:27.281>see <00:24:27.515>here,

384
00:24:28.955 --> 00:24:33.775
<00:24:28.955>the <00:24:29.188>agent <00:24:29.421>starts <00:24:29.655>working, <00:24:29.888>the <00:24:30.121>appetizer, <00:24:30.355>uh,

385
00:24:35.355 --> 00:24:39.295
<00:24:35.355>uh, <00:24:35.482>provides <00:24:35.609>an <00:24:35.736>answer, <00:24:35.864>main <00:24:35.991>course, <00:24:36.118>and <00:24:36.245>so <00:24:36.373>on <00:24:36.500>and <00:24:36.627>so <00:24:36.755>on.

386
00:24:40.275 --> 00:24:44.855
<00:24:40.275>And <00:24:40.625>after <00:24:40.975>that, <00:24:41.325>the <00:24:41.675>received

387
00:24:45.985 --> 00:24:49.415
<00:24:45.985>agent <00:24:46.334>collects <00:24:46.685>all <00:24:47.034>the <00:24:47.385>information,

388
00:24:49.835 --> 00:24:52.775
<00:24:49.835>all <00:24:50.115>the <00:24:50.395>results <00:24:50.675>from <00:24:50.955>the <00:24:51.235>sub-agents,

389
00:24:53.235 --> 00:24:57.975
<00:24:53.235>and, <00:24:53.435>uh, <00:24:53.635>provides, <00:24:53.834>uh, <00:24:54.034>a <00:24:54.235>whole, <00:24:54.435>uh, <00:24:54.635>uh,

390
00:24:58.165 --> 00:25:00.775
<00:24:58.165>menu <00:24:58.514>and, <00:24:58.865>and <00:24:59.215>outputs <00:24:59.565>it.

391
00:25:01.405 --> 00:25:05.695
<00:25:01.405>Okay? <00:25:01.605>So <00:25:01.805>this <00:25:02.004>is, <00:25:02.205>uh, <00:25:02.405>these <00:25:02.605>are <00:25:02.805>two,

392
00:25:06.035 --> 00:25:11.015
<00:25:06.035>two <00:25:06.235>main <00:25:06.435>patterns <00:25:06.635>to, <00:25:06.835>uh, <00:25:07.035>build <00:25:07.235>agent <00:25:07.435>teams

393
00:25:11.275 --> 00:25:12.735
<00:25:11.275>or <00:25:11.932>agent <00:25:12.589>workflows.

394
00:25:13.355 --> 00:25:16.655
<00:25:13.355>The <00:25:13.495>last <00:25:13.635>feature <00:25:13.775>I <00:25:13.915>want <00:25:14.055>to <00:25:14.195>show, <00:25:14.335>uh, <00:25:14.475>is <00:25:14.615>a <00:25:14.755>guardrails.

395
00:25:17.275 --> 00:25:20.895
<00:25:17.275>And <00:25:17.430>the <00:25:17.586>idea <00:25:17.741>of <00:25:17.897>guardrails <00:25:18.052>is <00:25:18.208>that <00:25:18.363>you <00:25:18.519>have <00:25:18.675>input

396
00:25:21.075 --> 00:25:24.635
<00:25:21.075>or <00:25:21.308>output <00:25:21.541>filters, <00:25:21.775>so <00:25:22.008>you <00:25:22.241>can <00:25:22.475>control

397
00:25:25.215 --> 00:25:29.235
<00:25:25.215>how <00:25:25.415>the <00:25:25.615>model <00:25:25.814>is, <00:25:26.014>uh, <00:25:26.215>doing <00:25:26.415>its <00:25:26.615>job.

398
00:25:31.265 --> 00:25:34.775
<00:25:31.265>Okay? <00:25:31.731>First, <00:25:32.198>we, <00:25:32.665>um,

399
00:25:36.715 --> 00:25:41.375
<00:25:36.715>define <00:25:36.889>a <00:25:37.064>data <00:25:37.240>structure, <00:25:37.415>uh, <00:25:37.590>where <00:25:37.764>we <00:25:37.939>can <00:25:38.115>say,

400
00:25:41.925 --> 00:25:45.015
<00:25:41.925>okay, <00:25:42.205>if <00:25:42.485>the <00:25:42.764>filter <00:25:43.044>is <00:25:43.325>triggered,

401
00:25:45.365 --> 00:25:47.415
<00:25:45.365>this <00:25:45.715>property <00:25:46.065>should <00:25:46.415>be <00:25:46.765>true,

402
00:25:48.195 --> 00:25:52.335
<00:25:48.195>and <00:25:48.335>the <00:25:48.475>reason <00:25:48.615>is <00:25:48.754>a <00:25:48.895>string <00:25:49.034>why <00:25:49.175>it <00:25:49.314>is <00:25:49.455>triggered, <00:25:49.595>okay?

403
00:25:52.885 --> 00:25:54.975
<00:25:52.885>Then <00:25:53.235>you <00:25:53.585>define <00:25:53.935>an <00:25:54.285>agent,

404
00:25:56.235 --> 00:25:59.615
<00:25:56.235>and <00:25:56.514>this <00:25:56.794>agent <00:25:57.074>is <00:25:57.354>the <00:25:57.635>guardrail.

405
00:26:01.075 --> 00:26:04.375
<00:26:01.075>The <00:26:01.425>agent <00:26:01.775>checks <00:26:02.125>the <00:26:02.475>input

406
00:26:04.595 --> 00:26:07.735
<00:26:04.595>or <00:26:04.795>the <00:26:04.995>output <00:26:05.195>message <00:26:05.395>from <00:26:05.595>the <00:26:05.795>other <00:26:05.995>agent.

407
00:26:08.325 --> 00:26:10.295
<00:26:08.325>Okay? <00:26:09.725>So,

408
00:26:10.515 --> 00:26:13.895
<00:26:10.515>so <00:26:10.690>we <00:26:10.865>say <00:26:11.040>this <00:26:11.215>is <00:26:11.390>a <00:26:11.565>politics <00:26:11.740>checker <00:26:11.915>checks.

409
00:26:14.195 --> 00:26:19.095
<00:26:14.195>If <00:26:14.350>the <00:26:14.506>user <00:26:14.661>is <00:26:14.817>asking <00:26:14.972>about <00:26:15.128>political <00:26:15.283>topics, <00:26:15.439>we <00:26:15.595>want

410
00:26:19.095 --> 00:26:23.015
<00:26:19.095>to, <00:26:19.295>uh, <00:26:19.495>yeah, <00:26:19.695>we, <00:26:19.895>we <00:26:20.095>don't <00:26:20.295>want <00:26:20.495>this.

411
00:26:23.395 --> 00:26:24.735
<00:26:23.395>So <00:26:23.696>we <00:26:23.998>filter <00:26:24.299>it <00:26:24.601>out.

412
00:26:25.755 --> 00:26:30.655
<00:26:25.755>And, <00:26:25.895>uh, <00:26:26.035>here <00:26:26.175>we <00:26:26.315>can <00:26:26.455>see <00:26:26.595>the <00:26:26.735>output <00:26:26.875>type <00:26:27.015>is, <00:26:27.155>um,

413
00:26:31.555 --> 00:26:33.815
<00:26:31.555>is <00:26:31.835>assigned <00:26:32.115>to <00:26:32.395>this <00:26:32.675>data <00:26:32.955>structure.

414
00:26:34.565 --> 00:26:37.805
<00:26:34.565>Yeah. <00:26:35.031>And <00:26:35.498>okay, <00:26:35.965>so,

415
00:26:38.025 --> 00:26:42.845
<00:26:38.025>and <00:26:38.152>we <00:26:38.279>must <00:26:38.406>provide <00:26:38.534>a <00:26:38.661>special <00:26:38.788>kind <00:26:38.915>of <00:26:39.043>function <00:26:39.170>with <00:26:39.297>a <00:26:39.425>fixed,

416
00:26:43.825 --> 00:26:46.325
<00:26:43.825>uh, <00:26:44.525>definition, <00:26:45.225>uh,

417
00:26:46.585 --> 00:26:49.285
<00:26:46.585>and, <00:26:46.935>uh, <00:26:47.285>uh, <00:26:47.635>provide, <00:26:47.985>uh,

418
00:26:49.385 --> 00:26:52.165
<00:26:49.385>the <00:26:49.735>input <00:26:50.085>guardrail, <00:26:50.435>uh, <00:26:50.785>attribute.

419
00:26:52.705 --> 00:26:55.125
<00:26:52.705>And <00:26:52.905>it, <00:26:53.105>uh, <00:26:53.304>goes <00:26:53.504>in <00:26:53.705>the, <00:26:53.905>the <00:26:54.105>context,

420
00:26:56.465 --> 00:27:01.005
<00:26:56.465>the <00:26:56.698>calling <00:26:56.931>agent <00:26:57.165>and <00:26:57.398>the, <00:26:57.631>the <00:26:57.865>prompt,

421
00:27:02.065 --> 00:27:05.725
<00:27:02.065>and <00:27:02.415>it <00:27:02.765>outputs <00:27:03.115>a <00:27:03.465>result.

422
00:27:06.145 --> 00:27:09.045
<00:27:06.145>And <00:27:06.378>this <00:27:06.611>is <00:27:06.845>a <00:27:07.078>result <00:27:07.311>of <00:27:07.545>running

423
00:27:10.105 --> 00:27:12.805
<00:27:10.105>the <00:27:10.385>politics <00:27:10.665>agent <00:27:10.945>with <00:27:11.225>the <00:27:11.505>input

424
00:27:13.665 --> 00:27:18.085
<00:27:13.665>and <00:27:13.865>the <00:27:14.065>return <00:27:14.264>is, <00:27:14.465>uh, <00:27:14.665>yeah, <00:27:14.865>the <00:27:15.065>structure

425
00:27:18.225 --> 00:27:22.085
<00:27:18.225>of <00:27:18.399>the <00:27:18.574>output <00:27:18.750>with <00:27:18.925>a, <00:27:19.100>uh, <00:27:19.274>with <00:27:19.449>a <00:27:19.625>reason

426
00:27:22.745 --> 00:27:26.405
<00:27:22.745>and <00:27:23.094>the <00:27:23.445>is <00:27:23.794>triggered <00:27:24.145>property.

427
00:27:26.795 --> 00:27:28.085
<00:27:26.795>Okay? <00:27:27.375>That's <00:27:27.956>it.

428
00:27:28.475 --> 00:27:33.365
<00:27:28.475>Then <00:27:28.649>we <00:27:28.824>have <00:27:29.000>the, <00:27:29.175>the <00:27:29.350>agent, <00:27:29.524>uh, <00:27:29.699>we <00:27:29.875>want

429
00:27:33.365 --> 00:27:37.205
<00:27:33.365>to <00:27:33.598>ask <00:27:33.831>and, <00:27:34.065>uh, <00:27:34.298>get, <00:27:34.531>uh, <00:27:34.765>model,

430
00:27:37.625 --> 00:27:42.565
<00:27:37.625>and <00:27:37.905>we <00:27:38.185>assign <00:27:38.465>the <00:27:38.745>input <00:27:39.025>guardrail

431
00:27:43.275 --> 00:27:46.805
<00:27:43.275>with <00:27:43.508>this, <00:27:43.741>um, <00:27:43.975>uh, <00:27:44.208>with <00:27:44.441>this <00:27:44.675>parameter,

432
00:27:47.865 --> 00:27:49.005
<00:27:47.865>and <00:27:48.121>we <00:27:48.378>can <00:27:48.634>test <00:27:48.891>it.

433
00:27:49.505 --> 00:27:53.605
<00:27:49.505>We <00:27:49.660>have <00:27:49.816>a <00:27:49.971>query, <00:27:50.127>uh, <00:27:50.282>with <00:27:50.438>a <00:27:50.593>question <00:27:50.749>about, <00:27:50.905>uh,

434
00:27:53.605 --> 00:27:57.645
<00:27:53.605>political <00:27:53.885>issues, <00:27:54.165>and <00:27:54.445>then <00:27:54.725>the <00:27:55.005>guardrail,

435
00:27:58.305 --> 00:27:59.565
<00:27:58.305>uh, <00:27:59.439>signals.

436
00:27:59.945 --> 00:28:04.205
<00:27:59.945>Uh, <00:28:00.100>this, <00:28:00.256>uh, <00:28:00.411>the <00:28:00.567>user <00:28:00.722>is <00:28:00.878>asking <00:28:01.033>about <00:28:01.189>political <00:28:01.345>topic

437
00:28:05.165 --> 00:28:08.725
<00:28:05.165>concerns, <00:28:05.445>uh, <00:28:05.725>the <00:28:06.004>federal <00:28:06.284>government, <00:28:06.565>okay?

438
00:28:09.265 --> 00:28:12.285
<00:28:09.265>So <00:28:09.465>as <00:28:09.665>you <00:28:09.865>can <00:28:10.065>see <00:28:10.265>here, <00:28:10.465>this, <00:28:10.665>uh,

439
00:28:12.635 --> 00:28:15.205
<00:28:12.635>this <00:28:12.985>API <00:28:13.335>is <00:28:13.685>quite <00:28:14.035>simple

440
00:28:16.905 --> 00:28:18.245
<00:28:16.905>and <00:28:17.307>it's <00:28:17.708>quite <00:28:18.110>powerful.

441
00:28:19.035 --> 00:28:23.805
<00:28:19.035>This <00:28:19.175>is <00:28:19.315>all <00:28:19.455>you <00:28:19.595>need <00:28:19.735>to <00:28:19.875>know <00:28:20.015>about <00:28:20.155>developing <00:28:20.295>great <00:28:20.435>agents

442
00:28:24.625 --> 00:28:27.485
<00:28:24.625>and, <00:28:24.975>uh, <00:28:25.325>designing <00:28:25.675>agent <00:28:26.025>teams,

443
00:28:28.115 --> 00:28:32.565
<00:28:28.115>designing <00:28:28.315>agent <00:28:28.515>workflows, <00:28:28.715>handful <00:28:28.915>of <00:28:29.115>python, <00:28:29.315>nothing <00:28:29.515>more,

444
00:28:33.785 --> 00:28:36.525
<00:28:33.785>uh, <00:28:34.135>because, <00:28:34.485>uh, <00:28:34.835>the <00:28:35.185>ai,

445
00:28:36.665 --> 00:28:39.965
<00:28:36.665>and <00:28:36.898>especially <00:28:37.131>the <00:28:37.365>agent <00:28:37.598>thing, <00:28:37.831>it's <00:28:38.065>about,

446
00:28:40.945 --> 00:28:42.485
<00:28:40.945>um, <00:28:42.331>concepts.

447
00:28:43.075 --> 00:28:46.805
<00:28:43.075>It's <00:28:43.425>not <00:28:43.775>about <00:28:44.125>learning <00:28:44.475>APIs

448
00:28:46.985 --> 00:28:50.245
<00:28:46.985>or <00:28:47.451>developing <00:28:47.918>super <00:28:48.385>stuff.

449
00:28:50.435 --> 00:28:53.845
<00:28:50.435>It's <00:28:50.715>just <00:28:50.995>knowing <00:28:51.274>the <00:28:51.554>right <00:28:51.835>concepts

450
00:28:54.145 --> 00:28:56.605
<00:28:54.145>and <00:28:54.495>narrowing <00:28:54.845>the <00:28:55.195>right <00:28:55.545>APIs.

451
00:28:57.555 --> 00:28:59.245
<00:28:57.555>Okay? <00:28:58.021>And <00:28:58.488>that's <00:28:58.955>it.