Skip to main content

Requirements

Before installing Agentor, make sure you have:
  • Python 3.11 or higher — check your version with python --version
  • pip or uv package manager
  • An API key from your LLM provider (OpenAI, Anthropic, Google, and many more)

Install from PyPI

Agentor 0.1.0 is a prerelease. Ask for it explicitly with --pre:
Plain pip install agentor and pip install --upgrade agentor still give you the stable 0.0.x line. That is deliberate: 0.1.0 rebuilt the agent engine, and nobody is moved onto it without asking. See the 0.1.0a1 release notes for what changed.
To stay on the stable line instead:
For faster dependency resolution and better virtual environment management, use uv. On macOS and Linux:

Install from source

To install the latest development version directly from GitHub:
The development version may contain unreleased features and breaking changes. Use this only if you need cutting-edge features or want to contribute.

Optional dependencies

The core install stays small. Tools that need a heavyweight SDK live behind an extra, so you only download what you use.
Google tools moved in 0.1.0. The Google API client and SuperAuth are roughly 100 MB and used to be installed for everyone. They are now in the google extra. If GmailTool or CalendarTool raises an ImportError, run pip install --pre "agentor[google]".
The scrapegraph extra requires Python 3.12 or newer, because scrapegraph-py>=2.1.0 ships no wheels for 3.11. On 3.11 the extra installs but the SDK is skipped, and instantiating ScrapeGraphAI raises ImportError. See the ScrapeGraphAI tool reference for the full capability surface.

Set up environment variables

Agentor reads provider credentials from the environment. Create a .env file in your project root:
.env
You only need the key for the provider you plan to use. Agentor reaches most providers through their OpenAI-compatible endpoint, and the rest through LiteLLM.

Load environment variables

In your Python code, load the environment variables:
Or set them directly in your shell:

Verify installation

Confirm Agentor is installed correctly:
You should see 0.1.0a1 on the prerelease, or a 0.0.x version on the stable line.
import agentor should return almost instantly. Heavy dependencies are loaded only when something actually needs them.

Enable observability (optional)

To turn on tracing and monitoring, set your Celesto API key:
Get your key from the Celesto dashboard. Tracing is off unless you ask for it. Opt in on the agent, or on a single call:
View traces at celesto.ai/observe. See Tracing for the full guide.

Next steps

Quick start

Build your first agent in under 5 minutes.

Model providers

Point Agentor at OpenRouter, Groq, Ollama, or any compatible endpoint.

Model settings

Tune temperature, token limits, and other generation parameters.

Durable runs

Save runs so a new process can finish them after a crash.
Last modified on July 31, 2026