Introduction - Phidata

2 min read Original article ↗

What is Phidata?

Phidata is a framework for building multi-modal agents and workflows.

  • Build agents with memory, knowledge, tools and reasoning.
  • Build teams of agents that can work together to solve problems.
  • Interact with your agents and workflows using a beautiful Agent UI.

Key Features

Install

Simple & Elegant

Phidata Agents are simple and elegant, resulting in minimal, beautiful code. For example, you can create a web search agent in 10 lines of code.

from phi.agent import Agent
from phi.model.openai import OpenAIChat
from phi.tools.duckduckgo import DuckDuckGo

web_agent = Agent(
    name="Web Agent",
    model=OpenAIChat(id="gpt-4o"),
    tools=[DuckDuckGo()],
    instructions=["Always include sources"],
    show_tool_calls=True,
    markdown=True,
)
web_agent.print_response("Tell me about OpenAI Sora?", stream=True)

Setup

Powerful & Flexible

Phidata agents can use multiple tools and follow instructions to achieve complex tasks. For example, you can create a finance agent with tools to query financial data.

Multi-Modal by default

Phidata agents support text, images, audio and video. For example, you can create an image agent that can understand images and make tool calls as needed

Multi-Agent orchestration

Phidata agents can work together as a team to achieve complex tasks.

Continue reading