streams
AGENTS.md5 starsChanged 7 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 checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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.
- sentry_streams/AGENTS.mdAGENTS.md
- sentry_streams_k8s/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- sentry_streams/CLAUDE.mdCLAUDE.md
- sentry_streams_k8s/CLAUDE.mdCLAUDE.md
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
- Very specific: line 84
Run strict type checking on sentry_streams
- Very specific: line 120
If encountering CMake errors, the .envrc should set CMAKE_POLICY_VERSION_MINIMUM=3.5 automatically.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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.
Files
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 configurationsscripts/- 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-devInstalls development dependencies for all packages using uv. This will:
- Install
uvpackage manager if not present - Set up virtual environments for
sentry_streamsandsentry_streams_k8s
make install-pre-commit-hookInstalls pre-commit hooks for code quality checks.
make resetRemoves all build artifacts and virtual environments for a clean slate.
Testing
make tests-streamsRuns Python tests for the sentry_streams package.
make tests-integrationRuns integration tests for sentry_streams.
make tests-rust-streamsRuns Rust tests for the sentry_streams package.
make tests-k8sRuns tests for the sentry_streams_k8s package.
Type Checking
make typecheckRuns 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-streamsBuilds the sentry_streams wheel package.
make build-streams-k8sBuilds the sentry_streams_k8s wheel package.
make docsBuilds the Sphinx documentation for the streaming platform.
Development Prerequisites
- Python 3.11+
- Rust toolchain (for
sentry_streamsdevelopment) - 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
direnvfor automatic environment setup. Rundirenv allowwhen prompted. - If encountering CMake errors, the
.envrcshould setCMAKE_POLICY_VERSION_MINIMUM=3.5automatically. - For GCP interactions, run
gcloud auth application-default login. - Documentation is available at: https://getsentry.github.io/streams/
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
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.

