Replies: 13 comments 7 replies
-
|
Also tried with |
Beta Was this translation helpful? Give feedback.
-
|
Try |
Beta Was this translation helpful? Give feedback.
-
|
can you change init.py to __ init __.py? Also have you tried running just 'adk web'? we are using this at work and it's oddly stupid. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, and my bad - I wrote init.py but the file was correctly named init.py starting in the agent dir with |
Beta Was this translation helpful? Give feedback.
-
|
Ah ok looks like I had probably written it right but markdown is eating the underscores and needs to be escaped |
Beta Was this translation helpful? Give feedback.
-
|
moving to discussions as it seems to be a set up issue rather than an ADK bug. |
Beta Was this translation helpful? Give feedback.
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: The issue is likely due to either running on an unsupported Python version (3.13.7) or a known problem with
|
Beta Was this translation helpful? Give feedback.
-
|
Following. i am also running into the same issue. |
Beta Was this translation helpful? Give feedback.
-
|
Trying with --no-reload results in the same issue, so did running with Python 3.12.10 (uninstalled all versions of Python, removed venv and rebuilt from scratch). |
Beta Was this translation helpful? Give feedback.
-
|
@boyangsvl consider moving this back to issues, I see this issue as well. Notably |
Beta Was this translation helpful? Give feedback.
-
|
Please note that |
Beta Was this translation helpful? Give feedback.
-
|
The issue (Warning: No agents found in current folder. for adk web) is still there. This is not a setup issue. Some error should be thrown sothat we can troubleshoot. no error is been thrown by the agent code. I am using a Mac. adk run . is working fine problem is with only adk web command. init.py contains from . import agent I tried with python 3.12.8 tried with --no-reload also adk web is Not showing the agent in the UI |
Beta Was this translation helpful? Give feedback.
-
|
@boyangsvl The code I am using to run is from https://google.github.io/adk-docs/get-started/python/#explore-the-agent-project:~:text=the%20following%20code%3A-,from%20google.adk.agents.llm_agent%20import%20Agent,),-Set%20your%20API Tried running it with I have attached all dependencies from pip freeze agentic_requirements.txt |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.
Describe the bug
Running
adk web my_agentloads ui but shows "Warning: No agents found in current folder." and agent is not available in dropdown. Runningadk run my_agentworks fine, running code in init.py loads things fine as well.To Reproduce
Please share a minimal code and data to reproduce your problem.
Steps to reproduce the behavior:
init.py:
from .agent import root_agentagent.py:
adk web my_agentExpected behavior
Web UI should show my agent and allow me to interact with it.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Model Information:
Additional context
Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions