Skip to content
项目

关于

自动处理明确的情况,调查模棱两可的情况。面向大规模实时事件处理的高性能安全规则引擎。

其他项目

这些数字如何统计

实测星标增长

24小时
+2
7天
+6
15天
+8
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
ROOST logo

Osprey

Automate the obvious and investigate the ambiguous. Osprey is a safety rules engine and investigation console for real-time event processing at scale.

Your platform streams events to Osprey, and human-written rules evaluate each one as it arrives—taking automatic action, applying labels to the entities involved, and sending verdicts and custom effects to your own systems. Analysts query and chart the results to spot patterns, investigate, and turn what they find into new rules.

Originally developed internally at Discord to combat spam, abuse, botting, and scripting across its platform, Osprey has been open sourced and is developed in the open by the ROOST community to help other platforms facing similar challenges.

The Query page with an SML filter for post-creation events and its history of past queries, beside a timeseries chart showing matching event volume in fifteen-minute buckets

Rules are written in “Some Madeup Language” (SML), Osprey's own unique structured rule language, and extended with user-defined functions (UDFs). Osprey tracks state across events by labeling entities when you provide a labels service backend; see labels_service.py for a Postgres-backed example.

Osprey is built for engineers and Trust & Safety teams who want to explore, test, and integrate it into their platform for incident response and investigations. Read more about user research and personas.

Quick start

If you have Docker Compose, get a demo running with sample data with one command:

curl -sSL https://raw.githubusercontent.com/roostorg/osprey/main/demo.sh | bash

Or try it in your browser with nothing to install: open the demo in GitHub Codespaces, wait a few minutes, and the Osprey UI opens with sample data flowing. Step-by-step guide.

Open in GitHub Codespaces

See the Getting Started guide for more, including what to try in the UI. See the full documentation for a user guide, development setup, basic concepts, integration information, and more.

Adopters

Osprey is used by:

Bluesky Discord Matrix.org

Using Osprey and want to add your project/organization to this list? Open a pull request!

Built in the open

Osprey is an open source project undergoing active development. Features and documentation will evolve based on community feedback; we want to hear from you! Please open an issue, join or start a discussion, or come chat with the community including developers and adopters in our Discord server to share.

Try it locally, connect your data, write some rules, and tell us what's missing for your use case. We're particularly interested in:

  • Integration challenges with your existing platform infrastructure
  • Performance characteristics with your event volumes and rule complexity
  • Missing detection capabilities or response actions you need
  • API improvements that would make adoption easier for your team

Your feedback directly shapes our roadmap and helps us build the most useful Trust & Safety tooling for the community.

Recognition

Discord uses Osprey to quickly detect and remove new types of harm that put users at risk. Rather than leaving other platforms to build similar tools from scratch, ROOST and Discord have open-sourced Osprey in collaboration with internet.dev to make it available for anyone who needs it.

探索相关项目

加载中…