Documentation Index
Fetch the complete documentation index at: https://docs.pilottai.com/llms.txt
Use this file to discover all available pages before exploring further.
Marketing Expert Agent Example
Simple example showing how to set up a marketing expert agent with PilottAI framework.
Setup
Example Usage
from pilottai import Serve
from pilottai.core import AgentConfig, LLMConfig
# Initialize
pilott = Serve(name="MarketingExpert")
# Create agent
marketing_agent = await pilott.add_agent(
title="marketing_expert",
goal="Create and optimize marketing campaigns",
tools=["content_creator", "campaign_analyzer"]
)
# Create content
job = {
"type": "create_content",
"content_type": "social_post",
"target_audience": "tech professionals"
}
result = await pilott.execute([job])
- content_creator: Create marketing content
- campaign_analyzer: Analyze campaign performance
Features
- Content creation
- Campaign analysis
- Performance tracking
- Audience targeting
Code
Ready to use code marketing_expert.py