Frameworks → Agno (Phidata) → Python
Superface SDK lets you integrate external apps with your Agno agent using function calling.
pip install superface
Obtain your agent's secret key and connect tools you want your agent to have access to in Superface dashboard.
from superface.agno import Superface
superface = Superface(
api_key=os.getenv("SUPERFACE_API_KEY")
)
Load connected tools for agent using get_tools()
method.
tools = superface.get_tools()
Or use directly in Agno agent definition
from agno.agent import Agent
from agno.models.openai import OpenAIChat
agent = Agent(
model=OpenAIChat(id="gpt-4o"),
description="You are an enthusiastic stock reporter with a flair for storytelling!",
markdown=True,
tools=[superface.get_tools()],
show_tool_calls=True
)
agent.print_response(
"Tell me about current stock prices for AAPL and MSFT",
stream=True
)