- TypeScript
Usage Examples
Single Agent Example
Single Agent Example
Create and run a single agent to perform a specific task:
Multi-Agent Example
Multi-Agent Example
Create and run multiple agents working together:
Task-Based Agent Example
Task-Based Agent Example
Create agents with specific tasks and dependencies:
Running the Examples
1
Set Environment Variables
2
Create Example File
Create a new TypeScript file (e.g.,
app.ts) with any of the above examples.3
Run the Example
Tool Calls Examples
Direct Function Tools
Direct Function Tools
Create an agent with directly registered function tools:

