HomeOrchestration

Building Individual Agent Modules

Setting Up Our Development Environment

Since we're familiar with building agent modules, let's speedrun through the setup for both the Financial Data Analyst and Market Researcher modules using the official module template.

Building the Financial Data Analyst

Let's examine our first agent module, the Financial Data Analyst. This agent specializes in processing and analyzing quantitative financial data.

Component Structure

Full code for the Financial Data Analyst module can be found here.

Schema Definition (schemas.py)

Main Implementation (run.py)

Run local test:

Agent Creation Command:

Running the Agent:

Building the Market Researcher

Our Market Researcher agent focuses on gathering and analyzing market news and trends. Let's look at its implementation:

Full code for the Market Researcher module can be found here.

Run local test:

Agent Creation Command:

Running the Agent:

What's Next?

In Module 2, we'll learn how to create the orchestrator that coordinates these agents. We'll explore:

  • Handling communication between agents
  • Managing workflow coordination
  • Processing and synthesizing results

Remember: The complete code for each agent is available in our GitHub repository. The examples here highlight the key concepts and structure.

Questions about agent implementation? Join our community for expert help and discussions →