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

# Sales rep

# Sales Representative Agent Example

Simple example showing how to set up a sales representative agent with PilottAI framework.

## Setup

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

## Example Usage

```python theme={null}
from pilottai import Serve
from pilottai.core import AgentConfig, LLMConfig

# Initialize
pilott = Serve(name="SalesRepresentative")

# Create agent
sales_agent = await pilott.add_agent(
    title="sales_representative",
    goal="Manage leads and close sales effectively",
    tools=["lead_manager", "proposal_generator"]
)

# Manage lead
job = {
    "type": "manage_lead",
    "lead_id": "LEAD123",
    "action": "qualify",
    "details": {
        "company": "TechCorp",
        "budget": "100k"
    }
}

result = await pilott.execute([job])
```

## Tools

* lead\_manager: Manage sales leads
* proposal\_generator: Generate sales proposals

## Features

* Lead qualification
* Proposal generation
* Sales process automation
* Client relationship management

## Code

Ready to use code [sales\_rep.py](../../pilott/agents/sales_rep.py)
