# Golem Delete Agent

> Deleting an agent instance. Use when removing, deleting, or destroying a running or idle agent instance via the CLI.

- Skill: `golemcloud/golem-delete-agent` (Agent Skill)
- Install (CLI): `npx skillmds@latest add golemcloud/golem-delete-agent`
- Raw SKILL.md: https://api.skillmd.com/api/skills/golemcloud/golem-delete-agent/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: golemcloud (https://skillmd.com/u/golemcloud)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/golemcloud/golem-delete-agent

---


# Deleting an Agent

Both `golem` and `golem-cli` can be used — all commands below work with either binary.

The `<AGENT_ID>` format depends on the agent's language — refer to the language-specific invocation skills for the exact syntax.

## `agent delete` — Delete an Agent Instance

Permanently removes an agent instance and all its associated state (oplog, memory, etc.).

```shell
golem agent delete <AGENT_ID>
```

### Examples

Delete a specific agent instance:
```shell
golem agent delete CounterAgent("my-counter")
```

Delete an agent in a specific environment:
```shell
golem agent delete my-env/CounterAgent("my-counter")
```

