diff --git a/frontend-web/src/components/workspace/agents/agent-card.tsx b/frontend-web/src/components/workspace/agents/agent-card.tsx
index cc136d61..86f32274 100644
--- a/frontend-web/src/components/workspace/agents/agent-card.tsx
+++ b/frontend-web/src/components/workspace/agents/agent-card.tsx
@@ -66,10 +66,11 @@ export function AgentCard({ agent }: AgentCardProps) {
const isOwned =
!isBuiltin && agent.user_id !== null && agent.user_id === currentUserId;
const isFromOthers = !isBuiltin && !isOwned;
- // System admins are allowed to edit built-in agents in place. Delete and
- // publish-toggle stay owner-only — built-ins shouldn't be removable, and
- // they are inherently visible to everyone so toggling published is moot.
+ // System admins are allowed to edit and delete built-in agents.
+ // Publish-toggle stays owner-only — built-ins are inherently visible to
+ // everyone so toggling published is moot.
const canEdit = isOwned || (isBuiltin && isAdmin);
+ const canDelete = isOwned || (isBuiltin && isAdmin);
useEffect(() => {
if (!editOpen) {
@@ -241,7 +242,7 @@ export function AgentCard({ agent }: AgentCardProps) {
{t.agents.chat}
- {(canEdit || isOwned) && (
+ {(canEdit || canDelete || isOwned) && (
{isOwned && (
)}
- {isOwned && (
+ {canDelete && (