arctl agent init adk python myagent
arctl agent build . --push
arctl agent publish . --version 0.1.0
Delete the myagent folder, and run the agent from the registry arctl agent run myagent. Close the chat, then check the folder:
~/projects/emptyfolder 09:56:29
❯ tree
.
└── myagent
└── 0.1.0
A myagent/0.1.0 folder is created -- if you try to run the agent again, it will fail now because run thinks we're trying to run an agent from a local folder (which is empty). We need to investigate where/why/when that empty folder structure gets created, why is it needed and prevent it from being created and/or delete it if it's not needed.