Agenter

Decode your intent into working code.

Agenter is a backend-agnostic SDK for orchestrating autonomous AI coding agents. It provides a unified interface for working with multiple agent runtimes like Claude Code, Codex, OpenHands, and ACP-compatible agents.

Quick Start

import asyncio
from agenter import AutonomousCodingAgent, CodingRequest, Verbosity

async def main():
    agent = AutonomousCodingAgent(model="claude-sonnet-4-20250514")

    result = await agent.execute(
        CodingRequest(
            prompt="Create a FastAPI app with a health check endpoint",
            cwd="./workspace",
        ),
        verbosity=Verbosity.NORMAL
    )

    if result.status == "completed":
        print(f"Success! Modified {len(result.files)} files.")
        print(f"Cost: ${result.total_cost_usd:.4f}")

asyncio.run(main())

Installation

# Default installation (anthropic-sdk backend)
pip install agenter

# With specific backends
pip install agenter[claude-code]
pip install agenter[codex]
pip install agenter[acp]

# With framework adapters
pip install agenter[adapters]

Documentation

Guides

API Reference