mirror of
https://github.com/MervinPraison/PraisonAI.git
synced 2026-11-08 01:08:39 -10:00
10 lines
252 B
Python
10 lines
252 B
Python
# praisonai: skip=true
|
|
from praisonaiagents import Agent, MCP
|
|
|
|
qa_agent = Agent(
|
|
instructions="""You are a Question Answering Agent.""",
|
|
llm="openai/gpt-4o-mini",
|
|
tools=MCP("http://localhost:8080/agents/sse")
|
|
)
|
|
|
|
qa_agent.start("AI in 2025") |