Skip to main content
Autonomous ad campaign management. Your AI agent runs campaigns while you sleep.

What Makes Codex Different

Most AI tools are assistants. They answer questions. They generate copy. They analyze data when you ask. Codex is autonomous. You define the goal — “check my ad performance every morning and flag anything unusual” — and the agent runs that task on a schedule. No human in the loop. It wakes up, pulls your campaign data, analyzes it, and sends you a summary. If your cost-per-acquisition spikes 40% overnight, you get an alert before you’ve had coffee. When you connect Codex to Adspirer, you get 400+ advertising tools that run on a schedule. It’s an AI ad manager that operates 24/7.

Prerequisites

  • OpenAI Codex CLI installed and working
  • git installed (used by the installer)
  • An Adspirer account (free to start)
  • At least one ad platform account: Google Ads, Meta Ads, Amazon Ads, ChatGPT Ads, LinkedIn Ads, or TikTok Ads

Setup

You’re connected. Codex now has 400+ advertising tools available for autonomous and interactive use.

Available Skills

You don’t need to remember skill names — just describe what you want and Codex will match the right skill automatically.

What You Can Do

400+ tools across 6 ad platforms, available for autonomous or on-demand tasks:

Autonomous Workflows (The Real Use Case)

Here’s why people use Codex with Adspirer:

Daily Performance Check-In

Agent YAML default_prompt:
Schedule this to run every morning at 8am. You wake up to a performance summary in your inbox or Slack. No dashboards to check.

Weekly Wasted Spend Audit

Agent YAML default_prompt:
Run this every Monday. The agent finds money leaks and tells you exactly what to fix.

Budget Rebalancing

Agent YAML default_prompt:
Run this monthly. The agent analyzes cross-platform ROI and recommends where to shift spend.

Anomaly Detection

Agent YAML default_prompt:
Run this every 6 hours. The agent acts as a 24/7 monitoring system. If something breaks at 3am, you get an alert.

On-Demand Prompts (Non-Autonomous)

You can also run Codex with one-off prompts instead of the default task:

Campaign Creation

LinkedIn Lead Gen

Cross-Platform Report

Safety Features (Critical for Autonomous Agents)

When an AI agent runs without human oversight, safety matters. Adspirer enforces these rules:
  • All campaigns created PAUSED: Even in autonomous mode, campaigns don’t launch until you manually approve them
  • No budget changes without confirmation: The agent can analyze and recommend budget changes, but it can’t execute them autonomously
  • Read-before-write workflows: Skills force research and validation before any campaign creation
  • Connection status checks: Agent verifies it’s managing the correct account before taking any action
  • No automatic retries: If a tool call fails, the agent reports the error instead of retrying blindly
Bottom line: Autonomous doesn’t mean uncontrolled. The agent analyzes, recommends, and alerts — but you make the final spending decisions.

Troubleshooting

FAQ

No. All campaigns are created PAUSED, and budget changes require user confirmation. The agent can analyze, recommend, and alert — but you approve spending decisions manually.
Claude Code is interactive — you ask it to do something, it does it. Codex is autonomous — you define a task once, and it runs on a schedule. Use Claude Code for ad-hoc analysis. Use Codex for recurring tasks like daily performance checks.
Edit the default_prompt in ~/.codex/agents/performance-marketing-agent.toml. Restart the agent for changes to take effect.
Yes. Create separate agent config files with different default prompts. Each agent can specify which Adspirer account to use via the switch_primary_account tool.
Adspirer pricing is based on tool calls. Free tier: 15 calls/month. Plus: 49/mofor150calls.Pro:49/mo for 150 calls. Pro: 99/mo for 600 calls. Max: $199/mo for 3,000 calls. Autonomous agents typically use 2-5 tool calls per run. See full pricing details.
Last modified on July 8, 2026