Cannot initialise simple local agent

as I go through the instruction in Run Local Agent API - Agno and follow step by step, I cannot set up my very local agent.

INFO: 192.168.65.1:46791 - “GET / HTTP/1.1” 404 Not Found
INFO: 192.168.65.1:46791 - “GET /favicon.ico HTTP/1.1” 404 Not Found
INFO: 192.168.65.1:31911 - “GET / HTTP/1.1” 404 Not Found

could you please help me with this error?

Hi @MinhThang
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 @MinhThang – I get how it might seem, but your FastAPI server is actually running at http://localhost:8000. The root route / in FastAPI doesn’t return any data by default, but you can view the interactive API docs at http://localhost:8000/docs.

You should also be able to hit an endpoint like http://localhost:8000/ask?query="What is the recipe for pad thai?" and get a response.

Let me know if it works for you! :))

1 Like

Hey @MinhThang — I hope the OpenAI API key shown in the picture is a dummy. I’d also recommend always hiding part of the image that expose API keys, just to be safe.

1 Like