Offboarding AI agents: revoke sessions first, deleting the container isn't enough

ComprehensiveShake76 · reddit · 2026-10-28

A developer running multiple AI agents in per-agent Linux containers on his Mac shares lessons on retiring them: deleting the container or browser profile doesn't kill sessions—copied tokens stay valid until revoked server-side; credentials live for weeks after use stops; read-only filesystems can't stop a signed-in browser acting inside an account.

His rule now: revoke at the service first (sessions, tokens, connected app access), then delete the container, and keep a per-agent list of everything it signed into. Key line: deleting the agent is cleanup; revoking its sessions is offboarding. He admits limits—a container is a strong boundary, not a guarantee, and unseen sessions are still a blind spot.

Original post →

More from coding & agent

coding & agent channel →