AI Agent Security: How Office Claws Keeps Your Keys Safe

AI Agent Security: How Office Claws Keeps Your Keys Safe — Learn how Office Claws protects your credentials and data with local-first security, encrypted networking, and isolated infrastructure.
Apr 03, 20263 mins read
Share with

Why Security Matters for AI Agents

When you run AI agents, you are trusting them with sensitive data: API keys worth hundreds of dollars per month, access to your codebase, and potentially confidential business information. Most agent platforms ask you to upload your API keys to their servers. We think that is wrong.

Run your first agent in about 3 minutes

Install the Office Claws CLI, connect your Contabo account and Codex subscription, and your agent gets its own VPS and a desk in the office.

curl -fsSL https://officeclaws.com/downloads/install.sh | sh

$4.99/mo + your own Contabo VPS · keys stay in your keychain

Our Security Principles

Security architecture: Desktop App → Tailscale tunnel → Agent VPS → AI Provider

1. Keys Never Reach Our Servers

Your Contabo API credentials and your Tailscale auth key are stored locally in your operating system's keychain, and your OpenAI Codex (ChatGPT) sign-in lives on your agent's VPS. None of them is ever transmitted to Office Claws servers, stored in our database, or logged. Office Claws also holds no SSH key for your VPS.

When you run officeclaws connect-codex, the resulting Codex sign-in is passed through an encrypted Tailscale tunnel directly from your machine to your agent's VPS.

2. Encrypted Networking with Tailscale

Every connection between your desktop app and your agent VPS goes through Tailscale, a WireGuard-based mesh VPN. This means:

  • End-to-end encryption — Traffic cannot be intercepted, even by us
  • No exposed ports — Your agent's VPS has no public-facing ports
  • Zero-trust networking — Only authenticated devices can connect

3. Isolated Infrastructure

Each agent runs on its own dedicated VPS. There is no shared infrastructure between users. This provides:

  • Process isolation — Your agent cannot access other users' agents
  • Network isolation — Each VPS has its own Tailscale identity
  • Data isolation — Nothing is shared between agent instances

4. You Own Your Infrastructure (Self-Hosted)

With Office Claws, the VPS runs in your own Contabo account. You have full SSH access, can audit everything running on the machine, and can destroy the VPS at any time.

What We Do NOT Have Access To

  • Your Codex (ChatGPT) credentials
  • Your agent's files on its VPS
  • Your SSH access to the VPS (we hold no SSH key)
  • Your Tailscale network traffic
  • Your Contabo resources

What We DO Have Access To

  • Your email address (for account management)
  • Billing information (processed by our payment provider)
  • Install ping from the install script (CLI version, OS, architecture; opt out with OFFICECLAWS_NO_ANALYTICS=1)
  • Agent status metadata (online/offline)
  • VPS metadata: Contabo instance IDs, public IPs, Tailscale IPs and hostnames
  • Each agent's gateway token
  • A copy of your chat history: messages you send through the CLI or desktop app and your agent's replies are saved to your account (not encrypted at rest)
  • Model traffic during the starter allowance: until you run officeclaws connect-codex, model requests go through the Office Claws LLM gateway (llm.officeclaws.com); afterwards they go from your VPS straight to OpenAI

The full, current list is on our security page.

Recommendations

  1. Use dedicated credentials — Create a separate Tailscale auth key and Contabo API password for Office Claws rather than reusing ones shared with other tools
  2. Rotate credentials regularly — You can reconnect your Codex subscription at any time with officeclaws connect-codex
  3. Review your Contabo dashboard — Periodically check your VPSes and billing
  4. Keep your desktop app updated — We ship security patches in every release

Verify It Yourself

You have full root access to your VPS, so you don't have to take our word for what runs there. Inspect the Docker container, the firewall rules (sudo ufw status verbose) and the authorized SSH keys (cat ~/.ssh/authorized_keys). Our security page lists exactly what reaches our servers and the commands to check it.

Security is not a feature — it is a foundation. Everything we build at Office Claws starts with the question: "How do we keep user data safe?"

Author

Office Claws Team

Building the future of AI agent management at Office Claws. Sharing insights on infrastructure, security, and developer experience.

Run your first agent in about 3 minutes

Install the Office Claws CLI, connect your Contabo account and Codex subscription, and your agent gets its own VPS and a desk in the office.

curl -fsSL https://officeclaws.com/downloads/install.sh | sh

$4.99/mo + your own Contabo VPS · keys stay in your keychain