TransformerOptimus / SuperAGI

<⚡️> SuperAGI - A dev-first open source autonomous AI agent framework. Enabling developers to build, manage & run useful autonomous agents quickly and reliably.
https://superagi.com/
MIT License
15.22k stars 1.83k forks source link

Delete Agent #217

Closed jeffreyha-dev closed 1 year ago

jeffreyha-dev commented 1 year ago

I maybe missing something, how do I delete a created agent? I only see "resume" with the 3 dots. Thanks in advance.

EpicApex commented 1 year ago

You are right I have the same issue, A pull request is in order

neelayan7 commented 1 year ago

So currently, we don't have the capability to delete an agent. We'll be pushing it probably in the next version release. We currently only can pause a run and start it again.

AIProDeveloper commented 1 year ago

The problem I have now, is that agents are running in the background even if they have been stopped. I would like to just delete the agent completely. Is there a way to do that in the code?

bilskirnir commented 1 year ago

The problem I have now, is that agents are running in the background even if they have been stopped. I would like to just delete the agent completely. Is there a way to do that in the code?

I had the same problem, it was running up my api credits. I just deleted it and I'm going to wait for a future update. It's strange you can't delete them, you would think that was a basic feature.

kainnov commented 1 year ago

Anyone try this? To delete agents from Superagi, you can follow these steps:

Log in to your Superagi account and go to the "Agents" section. Find the agent you want to delete and click on their name to open their profile page. Click on the "Delete" button on the top right corner of the page. Confirm the deletion by clicking on the "Delete" button again on the pop-up message. It's important to note that deleting an agent will permanently remove them from your account, and you won't be able to restore their information or activity history. So make sure you really want to delete the agent before proceeding.

In case you want to deactivate an agent temporarily instead of deleting them, you can do so by clicking on the gear icon that appears next to their name in the "Agents" section and choosing the "Deactivate" option. This will hide the agent from your dashboard but keep their data stored in your account.

Did not work for me, maybe there is a different version out there

neelayan7 commented 1 year ago

Currently in PR: https://github.com/TransformerOptimus/SuperAGI/pull/558

JohnHunt999 commented 1 year ago

Change done in v0.0.9. Closing this.