> ## 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

# Marketing Expert Agent Example

Simple example showing how to set up a marketing expert agent with PilottAI framework.

## Setup

```bash theme={null}
pip install pilott
```

## Example Usage

```python theme={null}
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])
```

## Tools

* 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](../../pilott/agents/marketing_expert.py)
