Connecting AgentOS fails

Hello, I am using the most basic set up to test out the control panel, I would appreciate if someone could let me know if I am doing anything wrong or how to fix it.

Same problem here:

(agno-test) ➜ agno-test git:(main) ✗ python my_os.py ╔══════════════ AgentOS ══════════════╗ ║ ║ ║ ║ ║ https://os.agno.com/ ║ ║ ║ ║ ║ ║ Running on: http://localhost:7777 ║ ║ ║ ║ ║ ╚═════════════════════════════════════╝ INFO: Will watch for changes in these directories: ['/Users/air/Developer/agno-test'] INFO: Uvicorn running on http://localhost:7777 (Press CTRL+C to quit) INFO: Started reloader process [85539] using StatReload INFO: Started server process [85546] INFO: Waiting for application startup. INFO: Application startup complete. INFO: 127.0.0.1:51972 - "GET / HTTP/1.1" 404 Not Found INFO: 127.0.0.1:51972 - "GET / HTTP/1.1" 404 Not Found

# although it can curl to it:
curl -i ``http://localhost:7777/config`` {“os_id”:“my-first-os”,“description”:“My first AgentOS”,“available_models”:,“databases”:,“session”:{“dbs”:},“metrics”:{“dbs”:},“memory”:{“dbs”:},“knowledge”:{“dbs”:},“evals”:{“dbs”:},“agents”:[{“id”:“assistant”,“name”:“Assistant”}],“teams”:,“workflows”:,“interfaces”:}% ➜ ~ curl -i http://localhost:7777/configHTTP/1.1 200 OKdate: Tue, 16 Sep 2025 19:43:19 GMTserver: uvicorncontent-length: 288content-type: application/json

{“os_id”:“my-first-os”,“description”:“My first AgentOS”,“available_models”:,“databases”:,“session”:{“dbs”:},“metrics”:{“dbs”:},“memory”:{“dbs”:},“knowledge”:{“dbs”:},“evals”:{“dbs”:},“agents”:[{“id”:“assistant”,“name”:“Assistant”}],“teams”:,“workflows”:,“interfaces”:}%

This is quite concerning as I’m heavily considering using AgentOS in production in about 2-3 months. Maybe this is too optimistic and I should wait longer before it’s production-ready.

I would also like to note that http://localhost:7777/docs does give me the swagger UI.

Hey @AganNous @stijnagentic sorry about this.
We are looking into this. @monalisha will be here soon to help you out.

Thank you for your patience

Hi @AganNous
I can see that the GET call is to just / endpoint from the image( which should not be the case) , it should be to the below config and health call.
INFO: 127.0.0.1:49650 - “GET /health HTTP/1.1” 200 OK
INFO: 127.0.0.1:49650 - “GET /config HTTP/1.1” 200 OK
I am not able to replicate it , I am running the example mentioned here AgentOS Demo - Agno . Is is possible to share the code so that I can run it on my end to replicate the issue ?
Meanwhile can you please check if you are using the latest Agno version and check for browser compatibility. AgentOS Connection Issues - Agno

Still can’t connect in 2.0.6

{“name”:“AgentOS API”,“description”:“My first AgentOS”,“os_id”:“my-first-os”,“version”:“1.0.0”}

Hi @stijnagentic . Can you please share the codebase with me if possible , so that i can replicate this issue ?

Same error I’m getting

I think this is something related to cors error

Hey @Vinay @stijnagentic , which browser are you using?, Brave and Safari sometimes have connection issues. To help resolve this, you can check out our guide here AgentOS Connection Issues - Agno

Indeed Brave and Safari do not work (happened to be the two browsers I was using funnily). When could we expect a fix?

I am facing the same issue too. I modified the following two key points and was able to connect. Hope this helps you.

1. please do not create a FastAPI app like the official example, but use the app obtained from agent_os.get_app() to add your routes
2. please add https://os.agno.com to the allow_origins list

from fastapi import FastAPI
from agno.agent import Agent
from agno.models.openai import OpenAIChat
from agno.os import AgentOS

# 1. please do not create a FastAPI app like the official example, but use the app obtained from agent_os.get_app() to add your routes
# app = FastAPI(title="My Custom App")


# Pass your app to AgentOS
agent_os = AgentOS(
    agents=[Agent(id="basic-agent", model=OpenAIChat(id="gpt-5-mini"))],
    fastapi_app=app  # Your custom FastAPI app
)

# Get the combined app with both AgentOS and your routes
app = agent_os.get_app()

# Add your custom routes
@app.get("/status")
async def status_check():
    return {"status": "healthy"}

# 2. please add https://os.agno.com to the allow_origins list
app.add_middleware(
    CORSMiddleware,
    allow_origins=["https://os.agno.com", "http://localhost:3000","http://localhost:3001"],
    allow_credentials=True,
    allow_methods=["GET", "POST", "PUT", "DELETE"],
    allow_headers=["*"],
)

Hi @stijnagentic For the browser issue you can refer to this documentation AgentOS Connection Issues - Agno
Thanks @OliverYeung for the detailed troubleshoot.

1 Like