pipecat: Instructions file for Codex

AGENTS.md

pipecat AGENTS.md is an instructions file for Codex, OpenCode from pipecat-ai/pipecat. It costs 5,953 tokens per session, scanned A, original, BSD-2-Clause.

A repository guide for coding agents working on Pipecat, an open-source Python framework for building real-time voice and multimedia conversation systems. It documents the project, setup steps, development commands, tests, formatting checks, and release evaluations.

In plain words
What is it for?
Use it when setting up Pipecat, running tests or checks, installing pre-commit hooks, previewing changelog entries, or running conversation-agent evaluations.
Why use it?
It gives an agent the project-specific instructions needed to work safely and run the right checks. This avoids guessing how the repository is installed, tested, or prepared for release.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; mentions AGENTS.md.

This is pipecat-ai/pipecat's own configuration. It tells Codex and OpenCode how to work on pipecat 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 pipecat configures →

About the project

Pipecat is an open-source Python framework for building real-time conversational agents that work with voice, video, images, and other media. It is for creating voice assistants, companions, business agents, and multi-agent systems from modular conversation pipelines.

pipecat-ai/pipecat · 17,588 stars · on GitHub · pipecat.ai

Reuse

Borrowing it

Nothing to install: this file belongs to pipecat-ai/pipecat. 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/pipecat-ai/pipecat/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/pipecat-ai/pipecat

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 pipecat AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/pipecat-ai/pipecat/agents-md/github.svg)](https://agentmods.dev/instructions/pipecat-ai/pipecat/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/pipecat-ai/pipecat/agents-md"><img src="https://agentmods.dev/badge/instructions/pipecat-ai/pipecat/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 pipecat AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/pipecat-ai/pipecat/agents-md"><img src="https://agentmods.dev/badge/instructions/pipecat-ai/pipecat/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,953 This file is loaded in full into every session.
When invoked 5,953 The same file — it is already loaded in full.
Security scan A 0 findings. 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.05953 $0.05953
Opus 5.5 $0.02381 $0.02381
Sonnet 5.5 $0.01191 $0.01191
Haiku 4.5 $0.00595 $0.00595

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

Security

Grade A, and why

pipecat AGENTS.md scanned grade A with 0 findings 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 16d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 258 lines

How it starts

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

AGENTS.md

This file provides guidance to AI coding agents when working with code in this repository.

Project Overview

Pipecat is an open-source Python framework for building real-time voice and multimodal conversational AI agents. It orchestrates audio/video, AI services, transports, and conversation pipelines using a frame-based architecture.

Common Commands

# Setup development environment
uv sync --group dev --all-extras --no-extra gstreamer --no-extra local

# Install pre-commit hooks
uv run pre-commit install

# Run all tests (in parallel, one worker per CPU core; `-n 0` runs them in one process)
uv run pytest

# Run a single test file
uv run pytest tests/test_name.py

# Run a specific test
uv run pytest tests/test_name.py::test_function_name

# Preview changelog
uv run towncrier build --draft --version Unreleased

# Check changelog fragment names (CI runs this on every PR)
uv run python scripts/check-changelog-fragments.py

# Run a behavioral eval scenario against a running bot (started with `python bot.py`)
pipecat eval run scenarios/<name>.yaml --bot-url ws://localhost:7860/ws

# Run the full release-eval suite (spawns bots from a manifest, runs scenarios in parallel)
pipecat eval suite evals/release/manifest.yaml -p <bot-pattern> -s <scenario>

# Judge saved simulation conversations (<stem>.conversation.json) again, without the bot
pipecat eval judge scenarios/<name>.yaml -s <scenario> logs/*.conversation.json -o judged.jsonl

# Lint and format check
uv run ruff check
uv run ruff format --check

# Update dependencies (after editing pyproject.toml)
uv lock && uv sync

# Refresh the Pipecat UI component snapshot vendored into the CLI's React client templates
node scripts/cli/sync-pipecat-ui.mjs

Architecture

Frame-Based Pipeline Processing

All data flows as Frame objects through a pipeline of FrameProcessors:

[Processor1] → [Processor2] → ... → [ProcessorN]

Key components:

  • Frames (src/pipecat/frames/frames.py): Data units (audio, text, video) and control signals. Flow DOWNSTREAM (input→output) or UPSTREAM (acknowledgments/errors).

Read the full file on GitHub · 258 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. 16d ago Changed · +49 tokens per session 359fac2cee11
  2. 20d ago Changed · +3 lines · +25 tokens per session a378db71ed59
  3. 22d ago Changed · +28 tokens per session 79446fd8f38b
  4. 1mo ago Changed · +11 lines · +317 tokens per session de5f48ce34f8
  5. 1mo ago Changed · +11 tokens per session 479696927df9
  6. 1mo ago Changed · +3 tokens per session ef47582bb5f0
  7. 1mo ago Changed · +21 tokens per session 6e61c9f5e9dd
  8. 1mo ago Changed · +2 lines · +137 tokens per session 5ee1e8ae250b
  9. 1mo ago Changed · +5 lines · +211 tokens per session 86487967c6ea
  10. 1mo ago First seen · 237 lines · 5,151 tokens per session scan A 5835bb3f3448

Subscribe to this mod's changes

pipecat AGENTS.md is an instructions file published in the GitHub repository pipecat-ai/pipecat (17,588 stars, last pushed yesterday), licensed BSD-2-Clause. It adds 5,953 tokens to every session, about $0.0238 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

pipecat AGENTS.md compared with instructions from other repositories

pipecat AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pipecat AGENTS.mdpipecat-ai/pipecatInstructions file18kyesterdayBSD-2-ClauseA5,953Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot