Research Analyst Agent Example

Simple example showing how to set up a research analyst agent with PilottAI framework.

Setup

pip install pilott

Example Usage

from pilott import Serve
from pilott.core import AgentConfig, LLMConfig

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

# Create agent
research_agent = await pilott.add_agent(
    role="research_analyst",
    goal="Conduct thorough research and provide insights",
    tools=["data_analyzer", "research_synthesizer"]
)

# Analyze data
task = {
    "type": "analyze_data",
    "data_source": "market_survey_2024",
    "analysis_type": "trend_analysis"
}

result = await pilott.execute([task])

Tools

  • data_analyzer: Analyze research data
  • research_synthesizer: Synthesize research findings

Features

  • Data analysis
  • Research synthesis
  • Trend identification
  • Insight generation

Code

Ready to use code research_analyst.py