diff --git a/.gitignore b/.gitignore
index 043f2941..4fd1ef9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -60,6 +60,7 @@ offline-backend-20260512/skills/
offline-backend-20260512/wheelhouse/
offline-backend-20260512/backend/.deer-flow/data/*.db
offline-backend-20260512/backend/.deer-flow/data/*.db-*
+offline-backend-20260512/backend/.deer-flow/*
offline-backend-20260512/start_backend.sh
offline-backend-20260512/stop_backend.sh
offline-backend-20260512/check_backend.sh
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) {