Commit c3b818e 1 parent 4a805d1 commit c3b818e Copy full SHA for c3b818e
File tree 1 file changed +7
-15
lines changed
1 file changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -6,37 +6,29 @@ description: Learn the basics of the AI Agent SDK in a few minutes.
6
6
7
7
<Steps >
8
8
<Step title = " Start with a template" >
9
- ``` npx @covalenthq/create-zee-app ```
9
+ < pre >< code > npx @covalenthq/create-zee-app </ code ></ pre >
10
10
</Step >
11
11
<Step title = " Modify the agent" >
12
- ``` tsx
13
- const agent1 = new Agent ({
12
+ <pre ><code >{ ` const agent1 = new Agent({
14
13
name: "Agent1",
15
14
model: {
16
15
provider: "OPEN_AI",
17
16
name: "gpt-4o-mini",
18
17
},
19
18
description: "A helpful AI assistant that can engage in conversation.",
20
- });
21
- ```
19
+ }); ` } </code ></pre >
22
20
</Step >
23
21
<Step title = " Modify the ZEE Workflow" >
24
- ``` tsx
25
- const zee = new ZeeWorkflow ({
22
+ <pre ><code >{ ` const zee = new ZeeWorkflow({
26
23
description: "A workflow of agents that do stuff together",
27
24
output: "Just bunch of stuff",
28
25
agents: { agent1, agent2 },
29
- });
30
- ```
26
+ }); ` } </code ></pre >
31
27
</Step >
32
28
<Step title = " Run the Zee Workflow" >
33
- ``` tsx
34
- (async function main() {
29
+ <pre ><code >{ ` (async function main() {
35
30
const result = await zee.run();
36
31
console.log(result);
37
- })();
38
- ```
39
-
32
+ })(); ` } </code ></pre >
40
33
</Step >
41
-
42
34
</Steps >
You can’t perform that action at this time.
0 commit comments