Getting Started with AI Agents: A Beginner's Guide

Getting Started with AI Agents: A Beginner's Guide — Everything you need to know about AI agents — what they are, how they work, and how to set up your first one with Office Claws.
Mar 28, 20264 mins read
Share with

What Are AI Agents?

AI agents are software programs that use large language models (LLMs) to perform tasks autonomously. Unlike a simple chatbot that only responds to messages, an agent can:

  • Plan — Break down complex tasks into steps
  • Execute — Run code, call APIs, and interact with systems
  • Iterate — Review results and adjust their approach
  • Persist — Maintain context across sessions

Think of them as virtual team members that can handle repetitive, technical, or time-consuming work.

How AI agents work: Plan, Execute, Iterate, Persist

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

Common Use Cases

Software Development

  • Code review and bug detection
  • Writing tests and documentation
  • Refactoring and optimization
  • Answering questions about codebases

DevOps

  • Log analysis and anomaly detection
  • Infrastructure monitoring
  • Automated incident response
  • Configuration management

Content

  • Drafting blog posts and articles
  • Social media content generation
  • Translation and localization
  • SEO optimization

Research

  • Summarizing documents and papers
  • Data collection and analysis
  • Competitive research
  • Market analysis

What You Need

To run an AI agent, you typically need:

  1. Model access — An API key from a provider such as OpenAI, or a subscription like ChatGPT that includes Codex. Costs vary but expect $10-50/month for moderate usage.

  2. Compute infrastructure — A server where the agent runs. This can be your local machine (limited), a cloud VPS (recommended), or a managed service.

  3. A management tool — Something to deploy, monitor, and interact with your agent. This is where Office Claws comes in.

Setting Up Your First Agent with Office Claws

Setup flow: Download, Register, Configure, Provision, Chat

Step 1: Download the App

Office Claws is a desktop app available for macOS, Windows, and Linux. Download it from our homepage. Prefer the terminal? Install the CLI with curl -fsSL https://officeclaws.com/downloads/install.sh | sh.

Step 2: Subscribe

Office Claws has a single plan: Self-Hosted at $4.99/month for your first agent. Your agents run on VPSes in your own Contabo account, which Contabo bills you for directly (a small VPS is a few euros a month). An active subscription is required before you can provision an agent.

Step 3: Connect Your Keys

The setup wizard will ask for:

  • Your Contabo API credentials (client ID, client secret, API user, API password)
  • A Tailscale auth key (for secure networking)
  • Your OpenAI Codex (ChatGPT) subscription, connected by signing in (officeclaws connect-codex in the CLI)

Your Contabo and Tailscale credentials are stored locally in your operating system's keychain, and the Codex sign-in lives on your agent's VPS. See the security page for what Office Claws does store.

Step 4: Create Your Agent

Click "Create Agent" and Office Claws will:

  1. Provision a VPS with Docker and the agent runtime
  2. Connect it to your Tailscale network
  3. Install Codex, ready to connect to your ChatGPT subscription

This takes about 2-3 minutes.

Step 5: Start Chatting

Once your agent appears at their desk in the pixel-art office, click on them to open the chat panel. Try these first messages:

  • "What can you help me with?"
  • "Analyze this code for potential bugs: [paste code]"
  • "Summarize the key points of this document: [paste text]"

Tips for Success

  1. Start small — Begin with simple tasks and increase complexity as you learn what your agent can handle
  2. Be specific — Clear, detailed instructions get better results than vague requests
  3. Iterate — If the first response is not perfect, refine your prompt and try again
  4. Monitor costs — Keep an eye on your Codex usage limits and your Contabo bill to avoid surprises
  5. Use the right model — The strongest Codex model at higher reasoning effort is best for complex reasoning. Lighter settings work for simple tasks and stretch your usage limits further.

Next Steps

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