This repository contains example projects showcasing how to use the AIAI CLI with different AI agent frameworks. Each example demonstrates practical applications for building AI workflows with observability and tracing capabilities.
- crewai_example: Example using CrewAI for sales email generation
- langgraph_example: Example using LangGraph for lead processing and email generation
- Python 3.8 or higher
- Rye for dependency management (recommended)
- AIAI CLI installed
git clone https://github.com/zenbase/aiai-cli-examples.git
cd aiai-cli-examples
This example demonstrates how to use CrewAI with AIAI to create a sales email generation system.
# Navigate to the CrewAI example directory
cd crewai_example
# Install dependencies
rye sync
# Run the example
aiai
The CrewAI example creates a specialized agent that crafts personalized sales emails for Zenbase, focusing on LLM development, prompt engineering, and model optimization capabilities.
This example shows how to use LangGraph with AIAI to build a multi-step AI workflow for lead processing and email generation.
# Navigate to the LangGraph example directory
cd langgraph_example
# Install dependencies
rye sync
# Run the example
aiai
The LangGraph example implements a directed graph workflow that extracts structured information from unstructured lead data and generates personalized sales emails.
Both examples expect an .env
file with your API keys. You can copy the provided .env.sample
file and add your keys:
cp .env.sample .env
# Edit .env with your API keys