-
Notifications
You must be signed in to change notification settings - Fork 19
Description
If you created multiple agents and then delete them, they get listed as deleted but then after you create a new one the old agents "return." It seems they are never actually deleted because the python processes are still running.
Agent 'agent019' deleted
Agent 'agent017' deleted
Agent 'agent016' deleted
surfkit list agents
No agents found.
surfkit create agent -r process -n agent022
urfkit list agents
Process 'agent016' is running but not in the database. Creating new instance.
Process 'agent017' is running but not in the database. Creating new instance.
Process 'agent019' is running but not in the database. Creating new instance.
Process 'agent020' is running but not in the database. Creating new instance.
Process 'agent021' is running but not in the database. Creating new instance.
Name Kind Type Runtime Status Port
agent021 TaskAgent SurfSamurai process running 9094
agent020 TaskAgent SurfSamurai process running 9093
agent019 TaskAgent SurfSamurai process running 9092
agent017 TaskAgent SurfSamurai process running 9091
agent016 TaskAgent SurfSamurai process running 9090
agent022 TaskAgent SurfSamurai process running 9095
\zeus:~/kentauros-projects/agentsea/surfsamurai-v2$ ps -A | grep SURFER
23680 ?? 0:04.25 /opt/homebrew/Cellar/[email protected]/3.12.4/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python -m surfsamurai.server SURFER=agent016 SERVER_PORT=9090
23863 ?? 0:01.95 /opt/homebrew/Cellar/[email protected]/3.12.4/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python -m surfsamurai.server SURFER=agent017 SERVER_PORT=9091
23958 ?? 0:02.05 /opt/homebrew/Cellar/[email protected]/3.12.4/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python -m surfsamurai.server SURFER=agent019 SERVER_PORT=9092
24069 ?? 0:01.94 /opt/homebrew/Cellar/[email protected]/3.12.4/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python -m surfsamurai.server SURFER=agent020 SERVER_PORT=9093
24263 ?? 0:01.92 /opt/homebrew/Cellar/[email protected]/3.12.4/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python -m surfsamurai.server SURFER=agent021 SERVER_PORT=9094
24440 ?? 0:01.90 /opt/homebrew/Cellar/[email protected]/3.12.4/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python -m surfsamurai.server SURFER=agent022 SERVER_PORT=9095
24467 ttys000 0:00.00 grep SURFER