The shift from chatbots to agents is fundamentally a shift in risk. A chatbot can produce bad text; an agent can take bad actions. A chatbot hallucinating a fact is annoying; an agent hallucinating a "success" on a $5,000 purchase is catastrophic. This guide is the safety playbook we use for our own agent deployments and recommend to readers — the configuration, practices, and mental models that let you get the productivity benefits of agents without the disaster scenarios.

We've organized this guide around five layers of safety, from most fundamental to most operational: permission models, financial guardrails, data protection, monitoring and audit, and operational practices. Skip ahead to any section, but read all five before deploying an agent in production.

The three core principles

Before getting into specifics, three principles guide everything else in this guide:

  • Default to least privilege. An agent should have the minimum permissions needed to do its job — no more. You can always grant additional access later; you can't undo damage from excess access.
  • Make actions reversible where possible. Prefer configurations where mistakes can be undone. Use virtual cards with hard limits instead of primary bank accounts. Use draft mode instead of auto-send. Use file copies instead of in-place edits.
  • Trust but verify. Agents are useful but not infallible. Treat their outputs as drafts to be checked, not final answers. The verification cost is small compared to the cost of an undetected error.

Permission models: the foundation of agent safety

The single most important safety decision you'll make is what permissions an agent has. Permissions determine what an agent can touch — which apps, which files, which APIs, which websites. The default permissions for most agents are too permissive for production use. Tighten them.

App-level permissions

For desktop agents like Claude Computer Use, configure which applications the agent can control. The default is usually "all apps," which is convenient but dangerous. Instead, build a deliberate allow-list: the specific apps the agent needs to do its job. Anything not on the list is off-limits.

Our recommended starter allow-list: your browser, your terminal (if you'll use the agent for development), and one or two productivity apps you actually want automated. Add more apps over time as you build trust and identify new use cases. Never include password managers, banking apps, system settings, or anything containing credentials in the allow-list.

File system permissions

Agents that can read and write files need file system boundaries. By default, most agents can access your entire home directory — restrict this. Designate specific folders the agent can access (e.g., ~/Documents/agent-work/, ~/Projects/) and keep everything else off-limits. Critically, never grant access to ~/.ssh/, ~/.aws/, ~/.config/, or any directory containing credentials.

Network permissions

Some agents let you restrict which domains they can reach. If your agent supports this, use it. Whitelist the domains the agent needs to function (the platform's API, the apps you're integrating with) and block everything else. This prevents data exfiltration in the case of a compromised or misconfigured agent.

API scope permissions

For agents that connect to external services via OAuth (Gmail, Slack, HubSpot, etc.), pay attention to the scopes you grant. "Read all emails" is more dangerous than "read emails from specific senders." "Write to any Slack channel" is more dangerous than "post to #ops-alerts only." Most modern OAuth flows let you limit scope — take advantage of this.

Financial guardrails: cap the blast radius

Agents that can make purchases — OpenAI Operator, Claude Computer Use with payment integrations, Lindy with payment tools — need explicit financial guardrails. The default configurations are not safe enough for production.

Virtual credit cards

Never give an agent direct access to your primary credit card or bank account. Instead, use a virtual credit card service (Privacy.com, Stripe Virtual Cards, your bank's virtual card feature if available) with a hard per-purchase limit and a hard monthly cap. We use Privacy.com with a $500 per-purchase cap and a $2,000 monthly cap for our test agent.

The virtual card approach has three benefits. First, it caps the worst-case blast radius — even a completely compromised agent can only spend up to the limit. Second, it lets you shut off access instantly by deleting the virtual card, without affecting your primary card. Third, it provides a clean audit trail of agent-attributed spending.

Confirmation prompts for payments

Every agent that can make purchases should have a "confirm before payment" prompt enabled by default. Some platforms let you disable this for trusted workflows — don't, at least not for the first month of use. We've seen two cases in our testing where an agent attempted a purchase on the wrong product variant; the confirmation prompt caught both. Without it, the wrong purchases would have gone through.

Spending caps in agent platforms

For usage-based platforms like Relevance AI, set explicit spending caps in the billing settings. A poorly-tuned agent can rack up significant charges by running unnecessary steps in a loop — we learned this the hard way, losing $80 in 4 hours during our test. Set a monthly cap and an alert threshold at 50% of the cap.

Data protection: handling sensitive information

Agents process your data — emails, documents, CRM records, possibly customer information. How that data is handled, stored, and retained matters, especially if you're subject to GDPR, HIPAA, CCPA, or other regulations.

Know what data the agent sees

Before deploying an agent, audit what data it will have access to. An inbox triage agent sees every email you receive. A CRM agent sees every contact and deal. A research agent sees every search query. Make sure you're comfortable with that data flowing through the agent platform — including, in most cases, being processed by the underlying LLM provider (OpenAI, Anthropic, Google).

Review the platform's data policy

Every reputable agent platform publishes a data handling policy. Read it. Key questions: Is your data used to train their models? (It shouldn't be, for paid tiers.) Where is data stored? (Look for data residency options if you're in a regulated industry.) How long is data retained? (Shorter is better.) Is data encrypted at rest and in transit? (It should be.)

Avoid deploying agents on regulated data without review

If you handle HIPAA-protected health information, GDPR-sensitive personal data, financial records subject to SOX, or any other regulated data, consult your compliance team before deploying agents. Most agent platforms have enterprise tiers with the necessary compliance certifications (SOC 2 Type II, HIPAA BAAs, etc.), but you need to explicitly opt into them and sign the appropriate agreements.

Redact before processing

For workflows involving sensitive data, consider redacting PII before the agent processes it. A customer support agent that handles refund requests doesn't need to see full credit card numbers — redact them and let the agent work with the masked version. This adds operational overhead but dramatically reduces risk.

Monitoring and audit: catching problems early

Even with perfect permissions and financial guardrails, agents will occasionally do things you didn't expect. Monitoring and audit logging let you catch these incidents early and learn from them.

Enable audit logging

Every reputable agent platform supports audit logging. Turn it on. The log should record every action the agent takes, with timestamps and enough context to understand what happened. For desktop agents, the log should include screenshots. Review the log weekly for the first month of any new workflow, then monthly thereafter.

Set up alerts for unusual activity

Most platforms support alerts for unusual activity — a sudden spike in API calls, an action outside normal parameters, a workflow running at unusual hours. Configure these alerts and route them to a channel you actually monitor (email, Slack, SMS for critical alerts). The goal is to catch problems in minutes, not days.

Review agent decisions regularly

For the first month of any new workflow, sample 10% of agent decisions and review them manually. This surfaces configuration issues, edge cases, and emerging failure modes before they become production incidents. After the first month, sample 1-2% as ongoing quality assurance.

Operational practices: the human side of safety

Technical safeguards are necessary but not sufficient. How you and your team interact with agents — the operational practices around deployment — matters as much as the configuration.

Start small and expand

Don't deploy an agent on a high-stakes workflow first. Start with something low-stakes — categorizing internal notifications, summarizing meeting notes, drafting routine emails. Build trust in the agent's reliability before delegating anything that matters. Most agent failures we've seen came from deploying too aggressively, too early.

Maintain human oversight on critical decisions

Even after an agent has been running reliably for months, keep a human in the loop on critical decisions. An agent can draft an important client email; a human should review and send it. An agent can prepare a refund calculation; a human should approve the refund. The agent's value is in the preparation, not the final action.

Document your agent workflows

For every agent workflow you deploy, document: what the workflow does, what permissions it requires, what data it accesses, what the failure modes are, and how to disable it quickly. This documentation is essential for incident response, team onboarding, and periodic security reviews. If you can't disable an agent workflow within 5 minutes, you don't have adequate control.

Have a kill switch

Every agent deployment should have a clearly documented kill switch — a way to immediately disable the agent if something goes wrong. This might be revoking OAuth tokens, deleting API keys, disabling the agent in the platform's admin panel, or revoking file system permissions. Test the kill switch before you need it; an untested kill switch is a hope, not a control.

Train your team

If multiple people on your team interact with agents, train them on safe usage. This includes: how to recognize when an agent is doing something wrong, who to notify, how to use the kill switch, and what data is and isn't appropriate to share with agents. A 30-minute training session prevents most user-error incidents.

Specific configurations we recommend

For the most popular agents, here are the specific safety configurations we run in production:

Claude Computer Use

See our detailed Claude Computer Use setup guide for the full configuration. Highlights: app allow-list (Safari, Terminal, Notes only), file system restricted to ~/Documents/agent-work/, "confirm every action" for the first week, audit logging enabled, deny-list including 1Password, System Settings, and any banking app.

OpenAI Operator

Use the Plus tier's "always confirm before payment" prompt. Pair with a Privacy.com virtual card with a $500 per-purchase limit. Never store your primary card in Operator's vault. Review the activity log weekly for the first month.

Lindy.ai

Use OAuth scopes narrowly — "read emails from specific senders" rather than "read all emails." Set spending caps on any Lindy that calls paid APIs. Enable email alerts for any Lindy that fails. Review draft replies before sending for the first 30 days.

Relevance AI

Set a hard monthly spending cap in billing settings. Set an alert at 50% of the cap. Test new agents in a sandbox environment before deploying to production. Never give a Relevance agent write access to your production database without extensive testing.

What to do when something goes wrong

Despite all precautions, incidents will happen. Here's the response protocol we recommend:

  1. Stop the agent immediately. Use the kill switch. Don't try to diagnose the problem while the agent is still running.
  2. Assess the damage. What actions did the agent take? What data was affected? What external systems were touched?
  3. Contain the impact. If the agent sent emails, recall them if possible and notify recipients. If it made purchases, contact the merchant to cancel. If it modified files, restore from backup.
  4. Document the incident. Capture the full trajectory from audit logs. Note the root cause, the impact, and the response.
  5. Fix the underlying issue. Was it a configuration error? A bug in the agent? An edge case in the workflow? Address the root cause, not just the symptom.
  6. Re-deploy carefully. Once the fix is in place, re-deploy in shadow mode for 24-48 hours before returning to production.

Safety is an ongoing practice

Agent safety isn't a one-time configuration — it's an ongoing practice. New workflows bring new risks. Platform updates change behavior. Edge cases emerge over time. The agents that cause the fewest problems are the ones whose owners take safety seriously on an ongoing basis, not just at deployment.

The good news is that with reasonable precautions — least-privilege permissions, financial guardrails, audit logging, and ongoing monitoring — agents are safe enough for production use in 2026. The disaster scenarios that get headlines are almost always cases where basic safety practices weren't followed. Don't be one of those cases.

Ready to deploy safely?

Start with our Claude Computer Use setup guide, which includes the full safety configuration we run in production.

Read the setup guide