Getting Playground to work

Hi Agno community, I am running a very simple multi agent team with below Python code:

from agno.agent import Agent

from agno.models.openai import OpenAIChat

from agno.storage.agent.sqlite import SqliteAgentStorage

from agno.tools.duckduckgo import DuckDuckGoTools

from agno.tools.yfinance import YFinanceTools

from agno.playground import Playground, serve_playground_app

web_agent = Agent(

name=“Web Agent”,

role=“Search the web for information”,

model=OpenAIChat(id=“gpt-4o”),

tools=[DuckDuckGoTools()],

storage=SqliteAgentStorage(table_name=“web_agent”, db_file=“agents.db”),

add_history_to_messages=True,

markdown=True,

)

finance_agent = Agent(

name=“Finance Agent”,

role=“Get financial data”,

model=OpenAIChat(id=“gpt-4o”),

tools=[YFinanceTools(stock_price=True, analyst_recommendations=True, company_info=True, company_news=True)],

instructions=[“Always use tables to display data”],

storage=SqliteAgentStorage(table_name=“finance_agent”, db_file=“agents.db”),

add_history_to_messages=True,

markdown=True,

)

agent_team = Agent(

team=[web_agent, finance_agent],

name=“Agent Team (Web+Finance)”,

model=OpenAIChat(id=“gpt-4o”),

show_tool_calls=True,

markdown=True,

)

app = Playground(agents=[agent_team]).get_app()

if _name_ == “_main_”:

serve_playground_app(“finance_agent_team:app”, reload=True)

My problem is Agno Playground refuse to connect, here is what the console looks like:

INFO Starting playground on http://localhost:7777
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Agent Playground ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ┃
┃ ┃
┃ Playground URL: Agents - Agno
┃ ┃
┃ ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
INFO: Will watch for changes in these directories: [‘C:\Users\USER\Desktop\agents\awesome-llm-apps\advanced_ai_agents\multi_agent_apps\agent_teams\ai_finance_agent_team’]
INFO: Uvicorn running on h(t)tp://localhost:7777 (Press CTRL+C to quit)
INFO: Started reloader process [41052] using WatchFiles
INFO: Started server process [50612]
INFO: Waiting for application startup.
INFO: Application startup complete.

Agno playground just keeps saying it’s not available, while the console throws the following messages:

1550-acc65b6f5ecd586f.js?dpl=dpl_GahQimoiFVLWpkiucs8BjEXbLxxX:16 GET ht=p://localhost:7777/v1/playground/status net::ERR_BLOCKED_BY_PRIVATE_NETWORK_ACCESS_CHECKS

I tried disabling the PNC check but it still throw that message.

I hacked some of the message, since I am only allow 2 links

Hey @hsiao421, thanks for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all requests one by one and will get back to you soon.If it’s urgent, please let us know. We appreciate your patience!

hey @hsiao421 could you please check troubleshooting guide here : Playground Connection Issues - Agno
this looks like a browser issue .

It’s strange, because I’ve tried Chrome and Edge, and neither work.

The model works, so if I do it in Python interactive prompt, I am able to interact with it using print_response(“prompt”), so yes I do believe it’s browser issue, just can’t figure out what’s wrong with it.