You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: align messaging across documentation and config files
- Refine messaging to focus on agentic guardrails and plug n play experience
- Introduce docs with MkDocs structure and navigation
Signed-off-by: Dimitris Kargatzis <dkargatzis@gmail.com>
Intelligent GitHub workflow monitoring and enforcement powered by AI agents.
3
+
Agentic Guardrails for GitHub repositories that enforces rules and improves team collaboration.
4
4
5
5
## Overview
6
6
7
-
Watchflow is an intelligent governance solution for GitHub repositories that uses AI agents to automate policy enforcement and improve collaboration. By combining natural language rule definitions with real-time event processing, Watchflow provides nuanced governance that adapts to your team's workflow.
7
+
Watchflow is a governance tool that uses AI agents to automate policy enforcement across your GitHub repositories. By
8
+
combining rule-based logic with AI-powered intelligence, Watchflow provides context-aware governance that adapts to your
9
+
team's workflow and scales with your organization.
8
10
9
-
## Problem Statement
11
+
## Why Watchflow?
10
12
11
-
Traditional CI/CD rules are rigid and often fail to capture the complexity of real-world development scenarios. Teams need:
13
+
Traditional governance tools are rigid and often fail to capture the complexity of real-world development scenarios.
14
+
Teams need:
12
15
13
16
-**Intelligent rule evaluation** that understands context and intent
14
-
-**Flexible acknowledgment systems** that allow for justified exceptions
17
+
-**Flexible acknowledgment systems** that allow for legitimate exceptions
15
18
-**Real-time governance** that scales with repository activity
16
-
-**Natural language interfaces** that make rule creation accessible
19
+
-**Plug n play GitHub integration** that works within existing workflows
17
20
18
-
## Solution
21
+
## How It Works
19
22
20
23
Watchflow addresses these challenges through:
21
24
22
-
-**AI-Powered Rule Engine**: Uses LangGraph agents with GPT-4.1-mini to intelligently evaluate rules against repository events
23
-
-**Hybrid Evaluation Strategy**: Combines fast validators for common checks with LLM reasoning for complex scenarios
24
-
-**Intelligent Acknowledgments**: Processes acknowledgment requests through PR comments with context-aware decision making
25
-
-**Stateless Architecture**: Fully scalable FastAPI backend with no persistent storage requirements
25
+
-**AI-Powered Rule Engine**: Uses AI agents to intelligently evaluate rules against repository events
26
+
-**Hybrid Architecture**: Combines rule-based logic with AI intelligence for optimal performance
27
+
-**Intelligent Acknowledgments**: Processes acknowledgment requests through PR comments with context-aware decision
28
+
making
29
+
-**Plug n play Integration**: Works within GitHub interface with no additional UI required
26
30
27
-
## Core Features
31
+
## Key Features
28
32
29
33
### Natural Language Rules
30
-
Define governance rules in plain English. Watchflow translates these into actionable YAML configurations and provides intelligent evaluation.
34
+
Define governance rules in plain English. Watchflow translates these into actionable YAML configurations and provides
35
+
intelligent evaluation.
31
36
32
37
```yaml
33
38
rules:
@@ -42,96 +47,42 @@ rules:
42
47
message: "Deployments are not allowed on weekends"
43
48
```
44
49
45
-
### Agent-Powered Decisions
46
-
Three specialized AI agents work together:
50
+
### Flexible Rule System
51
+
Define governance rules in YAML format with rich conditions and actions. Support for approval requirements, security
52
+
reviews, deployment protection, and more.
47
53
48
-
- **Engine Agent**: Hybrid rule evaluation using validators and LLM reasoning
49
-
- **Feasibility Agent**: Analyzes rule descriptions and generates YAML configurations
50
-
- **Acknowledgment Agent**: Evaluates acknowledgment requests with context awareness
54
+
### Intelligent Acknowledgment Workflow
55
+
When rules are violated, developers can acknowledge them with simple comments. AI agents evaluate requests and provide
56
+
context-aware decisions.
51
57
52
-
### Real-time Event Processing
53
-
Processes GitHub events (push, pull_request, check_run, deployment, etc.) securely and asynchronously, with dynamic context enrichment via GitHub API.
58
+
## Hybrid Architecture
54
59
55
-
## Architecture
60
+
Watchflow uses a unique hybrid architecture that combines rule-based logic with AI-powered intelligence:
56
61
57
-
### Key Components
58
-
59
-
- **Webhook Handlers**: Secure GitHub event processing with signature verification
60
-
- **Event Processors**: Context enrichment and rule evaluation orchestration
61
-
- **AI Agents**: LangGraph-based intelligent decision making
62
-
- **Task Queue**: Asynchronous processing for scalability
63
-
- **Rule System**: YAML-based rule definition and validation
62
+
- **Rule Engine**: Fast, deterministic rule evaluation for common scenarios
63
+
- **AI Agents**: Intelligent context analysis and decision making
64
+
- **Decision Orchestrator**: Combines both approaches for optimal results
65
+
- **GitHub Integration**: Plug n play event processing and action execution
64
66
65
67
## Quick Start
66
68
67
-
### Prerequisites
68
-
69
-
- Python 3.12+
70
-
- GitHub App credentials
71
-
- OpenAI API key
72
-
- Public webhook endpoint (ngrok for local development)
0 commit comments