You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`AgentWorkflow` is a powerful system that enables you to create and orchestrate one or multiple agents with tools to perform specific tasks. It's built on top of the base `Workflow` system and provides a streamlined interface for agent interactions.
10
-
11
-
## Installation
12
-
13
-
You'll need to install the `@llamaindex/workflow` package:
Agent Workflows are a powerful system that enables you to create and orchestrate one or multiple agents with tools to perform specific tasks. It's built on top of the base `Workflow` system and provides a streamlined interface for agent interactions.
28
10
29
11
## Usage
30
12
@@ -33,7 +15,7 @@ You'll need to install the `@llamaindex/workflow` package:
33
15
The simplest use case is creating a single agent with specific tools. Here's an example of creating an assistant that tells jokes:
@@ -33,7 +33,7 @@ const userQuestion = "which are the best comedies after 2010?";
33
33
constsystemPrompt=
34
34
"You are a Python interpreter.\n - You are given tasks to complete and you run python code to solve them.\n - The python code runs in a Jupyter notebook. Every time you call $(interpreter) tool, the python code is executed in a separate cell. It's okay to make multiple calls to $(interpreter).\n - Display visualizations using matplotlib or any other visualization library directly in the notebook. Shouldn't save the visualizations to a file, just return the base64 encoded data.\n - You can install any pip package (if it exists) if you need to but the usual packages for data analysis are already preinstalled.\n - You can run any python code you want in a secure environment.";
0 commit comments