agentor: Instructions file for Codex

AGENTS.md

agentor AGENTS.md is an instructions file for Codex, OpenCode from CelestoAI/agentor. It costs 2,495 tokens per session, scanned C, original, Apache-2.0.

Project instructions for Agentor, an open-source framework for building AI agents that connect language models to services such as email, calendars, and CRMs. They describe the project, its repository layout, setup, and prerequisites.

In plain words
What is it for?
Setting up Agentor, finding its source files, understanding its agent, tool, MCP, and A2A components, and making changes within the repository.
Why use it?
They give a coding agent the background needed to navigate the Agentor codebase and follow its development process. This reduces confusion about where code belongs and how the project works.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is CelestoAI/agentor's own configuration. It tells Codex and OpenCode how to work on agentor itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to CelestoAI/agentor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/CelestoAI/agentor/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/CelestoAI/agentor

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agentor AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/celestoai/agentor/agents-md/github.svg)](https://agentmods.dev/instructions/celestoai/agentor/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/celestoai/agentor/agents-md"><img src="https://agentmods.dev/badge/instructions/celestoai/agentor/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agentor AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/celestoai/agentor/agents-md"><img src="https://agentmods.dev/badge/instructions/celestoai/agentor/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,495 This file is loaded in full into every session.
When invoked 2,495 The same file — it is already loaded in full.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02495 $0.02495
Opus 5.5 $0.00998 $0.00998
Sonnet 5.5 $0.00499 $0.00499
Haiku 4.5 $0.00249 $0.00249

Measured 21d ago against content hash 409fc7eb157c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

agentor AGENTS.md scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- This file is the single source of contributor guidance. .github/copilot-instructions.md points here rather than duplicating it: the two were kept "in sync" by hand, drifted anyway, and both went on describing subsys
AGENTS.md · 346 lines

How it starts

The opening of the file, as written. The whole thing — 346 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agentor

Project Overview

Agentor is an open-source framework for building AI agents with secure integrations across email, calendars, CRMs, and more. It connects LLMs to tools and services, and speaks both the Model Context Protocol (MCP) and Agent-to-Agent (A2A) protocols.

Since v0.1.0 it runs on its own agent engine; the openai-agents dependency is gone. See docs/dev/MIGRATION_PLAN.md for why.

Key Features:

  • An agent loop the project owns end to end, emitting a typed event stream
  • Durable runs: the event stream is persisted, so a run resumes after a crash
  • Any OpenAI-compatible provider via base_url, with litellm as the escape hatch
  • LiteMCP - FastAPI-compatible MCP server with decorator API
  • A2A Protocol support for agent interoperability
  • Tool registry and extensible tool system

Repository Structure

agentor/
├── src/agentor/           # Main package source code
│   ├── core/              # Agentor, the user-facing agent class
│   ├── engine/            # The agent loop: events, tools, models, store, tracing, mcp
│   ├── mcp/               # LiteMCP server, API router, proxy
│   ├── tools/             # Tool registry and implementations
│   ├── durable/           # Deprecation shim; durability moved into engine/store.py
│   ├── a2a.py             # Agent-to-Agent protocol
│   ├── skills.py          # Agent Skills loading
│   └── tool_search.py     # Tool Search API
├── tests/                 # Test suite
├── examples/              # Usage examples
├── docs/dev/              # Design and migration records
├── .github/               # GitHub configuration and workflows
└── pyproject.toml         # Project metadata and dependencies

Development Setup

Prerequisites

  • Python 3.11 or higher
  • pip or uv package manager

Installation

  1. Clone the repository:
git clone https://github.com/CelestoAI/agentor.git
cd agentor
  1. Install dependencies using uv (recommended):
pip install uv
uv venv
uv sync

Read the full file on GitHub · 346 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago Changed · -1 lines · -22 tokens per session 409fc7eb157c
  2. 2mo ago First seen · 347 lines · 2,517 tokens per session scan C e90d4a70e864

Subscribe to this mod's changes

agentor AGENTS.md is an instructions file published in the GitHub repository CelestoAI/agentor (214 stars, last pushed 2d ago), licensed Apache-2.0. It adds 2,495 tokens to every session, about $0.0100 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agentor AGENTS.md compared with instructions from other repositories

agentor AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentor AGENTS.mdCelestoAI/agentorInstructions file2142d agoApache-2.0C2,495Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode