agentleFS
SentryKnown publishergetsentry/streams/AGENTS.md

streams

AGENTS.md5 starsChanged 2 months agoApache-2.0View on GitHub

This repository contains the Sentry Streaming Platform. The Streaming Platform provides the infrastructure and the runtime to build and run Kafka based streaming stateful and stateless streaming applications. The repository is organized into two main Python packages: Overall structure of the streaming platform is in the README. It contains links to the specific module. The architecture of the platform itself — subsystems, decisions, invariants, guarantees and known debt — is in sentry_streams/docs/architecture. The root Makefile provides commands for common development…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository5 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run strict type checking on sentry_streams

    line 84
  2. Very specific:

    If encountering CMake errors, the .envrc should set CMAKE_POLICY_VERSION_MINIMUM=3.5 automatically.

    line 120

≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md - Streams Repository

Repository Overview

This repository contains the Sentry Streaming Platform. The Streaming Platform provides the infrastructure and the runtime to build and run Kafka based streaming stateful and stateless streaming applications.

Repository Structure

The repository is organized into two main Python packages:

  • sentry_streams/ - The core streaming platform implementation (hybrid Rust/Python package)
    • See sentry_streams/AGENTS.md for package-specific development instructions
  • sentry_streams_k8s/ - Kubernetes integration and deployment automation for Sentry Streams (pure Python package)
    • See sentry_streams_k8s/AGENTS.md for package-specific development instructions

Architecture documents

Overall structure of the streaming platform is in the README. It contains links to the specific module.

The architecture of the platform itself — subsystems, decisions, invariants, guarantees and known debt — is in sentry_streams/docs/architecture.

Other Directories

  • platforms/ - Docker and deployment configurations
  • scripts/ - Utility scripts for development and deployment

Makefile Commands

The root Makefile provides commands for common development tasks across both packages:

Setup and Installation

make install-dev

Installs development dependencies for all packages using uv. This will:

  • Install uv package manager if not present
  • Set up virtual environments for sentry_streams and sentry_streams_k8s
make install-pre-commit-hook

Installs pre-commit hooks for code quality checks.

make reset

Removes all build artifacts and virtual environments for a clean slate.

Testing

make tests-streams

Runs Python tests for the sentry_streams package.

make tests-integration

Runs integration tests for sentry_streams.

make tests-rust-streams

Runs Rust tests for the sentry_streams package.

make tests-k8s

Runs tests for the sentry_streams_k8s package.

Type Checking

make typecheck

Runs mypy type checking on both packages. This will:

  • Build Rust modules needed for type checking
  • Run strict type checking on sentry_streams
  • Run strict type checking on sentry_streams_k8s

Building and Documentation

make build-streams

Builds the sentry_streams wheel package.

make build-streams-k8s

Builds the sentry_streams_k8s wheel package.

make docs

Builds the Sphinx documentation for the streaming platform.

Development Prerequisites

  • Python 3.11+
  • Rust toolchain (for sentry_streams development)
  • uv package manager (automatically installed by make install-dev)
  • direnv (recommended for automatic environment setup)

Working with Individual Packages

For detailed development instructions specific to each package, including virtual environment requirements, testing, and type checking, see the AGENTS.md files in each package directory:

  • sentry_streams/AGENTS.md

Additional Notes

  • The repository uses direnv for automatic environment setup. Run direnv allow when prompted.
  • If encountering CMake errors, the .envrc should set CMAKE_POLICY_VERSION_MINIMUM=3.5 automatically.
  • For GCP interactions, run gcloud auth application-default login.
  • Documentation is available at: https://getsentry.github.io/streams/

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.