Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .coverage
Binary file not shown.
24 changes: 24 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.git
.github
.agents
.ruff_cache
.pytest_cache
pytest-cache-files-*
__pycache__
*.pyc
*.pyo
*.egg-info
.coverage
coverage.json
coverage.xml
htmlcov
dist
build
node_modules
frontend/node_modules
frontend/.next
agentwatch-landing/node_modules
agentwatch-landing/.next
.env
.env.*
*.log
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install pip-audit
run: pip install pip-audit
run: |
pip install -e ".[crypto]"
pip install pip-audit
- name: Audit dependencies
run: pip-audit --desc --requirement <(pip-compile pyproject.toml --quiet 2>/dev/null || echo "")
run: pip-audit --desc
continue-on-error: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ build/
coverage.json
coverage.xml
htmlcov/
site/

# Node
node_modules/
Expand Down
19 changes: 0 additions & 19 deletions Dockerfile.frontend

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
[![Tests](https://img.shields.io/badge/tests-205_passing-brightgreen?style=flat-square)](https://github.com/sreerevanth/AgentWatch)
[![Coverage](https://img.shields.io/codecov/c/github/sreerevanth/AgentWatch?style=flat-square)](https://codecov.io/gh/sreerevanth/AgentWatch)
[![License](https://img.shields.io/badge/license-Apache_2.0-blue?style=flat-square)](LICENSE)
[![Python](https://img.shields.io/badge/python-3.10+-blue?style=flat-square&logo=python)](https://python.org)
[![Python](https://img.shields.io/badge/python-3.12+-blue?style=flat-square&logo=python)](https://python.org)
[![Discord](https://img.shields.io/badge/Discord-Join_Community-5865F2?style=flat-square&logo=discord)](https://discord.gg/n2RzUmZ4)
[![Stars](https://img.shields.io/github/stars/sreerevanth/AgentWatch?style=flat-square&color=gold)](https://github.com/sreerevanth/AgentWatch/stargazers)
[![Forks](https://img.shields.io/github/forks/sreerevanth/AgentWatch?style=flat-square&color=orange)](https://github.com/sreerevanth/AgentWatch/network)
Expand Down
404 changes: 404 additions & 0 deletions VISION.md

Large diffs are not rendered by default.

Empty file removed __main__.py
Empty file.
2 changes: 1 addition & 1 deletion agentwatch/cli/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ async def run_demo():
print(
bold("""
+--------------------------------------------------------------+
| AgentWatch - Demo Suite v0.1.0 |
| AgentWatch - Demo Suite v0.2.0 |
| Reliability, Safety & Observability Layer for AI Agents |
+--------------------------------------------------------------+
""")
Expand Down
5 changes: 2 additions & 3 deletions benchmarks/generate_cases.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import json
import uuid
from pathlib import Path
from typing import Any

from agentwatch.core.schema import AgentEvent, EventType, ExecutionStatus, ToolCallData
Expand All @@ -22,8 +23,6 @@ def create_event(
return event.model_dump_for_storage()


from pathlib import Path

OUTPUT_PATH = Path(__file__).parent / "test_cases.json"


Expand Down Expand Up @@ -87,7 +86,7 @@ def generate_cases():
}
)

with open(OUTPUT_PATH, "w") as f:
with open(OUTPUT_PATH, "w", encoding="utf-8") as f:
json.dump(cases, f, indent=2)


Expand Down
10 changes: 4 additions & 6 deletions benchmarks/run_eval.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import asyncio
import json
import math
import os
import sys
import time
from pathlib import Path
from statistics import mean, median

from rich.console import Console
Expand All @@ -12,10 +14,6 @@
from agentwatch.reasoning.auditor import ReasoningAuditor


import math
from pathlib import Path


def safe_div(n, d):
return n / d if d else 0.0

Expand Down Expand Up @@ -49,7 +47,7 @@ async def run_evaluation():
results_dir = base_dir / "results"
output_path = results_dir / "eval_latest.json"

with open(input_path) as f:
with open(input_path, encoding="utf-8") as f:
cases = json.load(f)

if use_mock_judge:
Expand Down Expand Up @@ -123,7 +121,7 @@ async def run_evaluation():
"confusion_matrix": {"tp": tp, "fp": fp, "tn": tn, "fn": fn},
}

with open(output_path, "w") as f:
with open(output_path, "w", encoding="utf-8") as f:
json.dump(results, f, indent=2)

console.print(f"[green]Results saved to {output_path}[/green]")
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ services:
frontend:
build:
context: ./frontend
dockerfile: ../Dockerfile.frontend
dockerfile: Dockerfile
environment:
AGENTWATCH_API_URL: http://api:8000
NEXT_PUBLIC_API_URL: /api/v1
Expand Down
8 changes: 4 additions & 4 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ graph TD
---

## Detailed Guides
- [Detailed Architecture Internals](file:///d:/AgentWatch-Ed/AgentWatch/docs/architecture_detailed.md)
- [Developer Setup Manual](file:///d:/AgentWatch-Ed/AgentWatch/docs/developer_setup.md)
- [Custom Adapters Tutorial](file:///d:/AgentWatch-Ed/AgentWatch/docs/custom_adapters_tutorial.md)
- [Extended Getting Started Guide](file:///d:/AgentWatch-Ed/AgentWatch/docs/getting_started_extended.md)
- [Detailed Architecture Internals](architecture_detailed.md)
- [Developer Setup Manual](developer_setup.md)
- [Custom Adapters Tutorial](custom_adapters_tutorial.md)
- [Extended Getting Started Guide](getting_started_extended.md)
2 changes: 1 addition & 1 deletion docs/architecture_detailed.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Detailed Architecture Internals (ELUSoC_2026)
# Detailed Architecture Internals

## Event Bus Architecture
The event bus distributes asynchronous task tracing payloads to multiple targets. It runs on a thread-safe registry with reader-writer locks.
Expand Down
4 changes: 2 additions & 2 deletions docs/cli/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

## Install

AgentWatch requires Python 3.10+.
AgentWatch requires Python 3.12 or newer.

```bash
pip install agentwatch
pip install agentwatch-ai
```

To work from a checkout of the repository:
Expand Down
2 changes: 1 addition & 1 deletion docs/custom_adapters_tutorial.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Custom Adapters Tutorial (ELUSoC_2026)
# Custom Adapters Tutorial

## Implementation Steps
To build a custom wrapper for framework targets:
Expand Down
6 changes: 3 additions & 3 deletions docs/developer_setup.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Developer Setup Guide (ELUSoC_2026)
# Developer Setup Guide

## Environment Requirements
Prepare a Python environment running version 3.12 or newer:
Expand All @@ -9,12 +9,12 @@ python --version
## Installation
1. Clone the repository fork:
```bash
git clone https://github.com/DebasmitaBose0/AgentWatch-Ed.git
git clone https://github.com/sreerevanth/AgentWatch.git
```
2. Navigate and install dependencies:
```bash
cd AgentWatch
pip install -e .[dev]
pip install -e ".[dev]"
```
3. Run verification tests:
```bash
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started_extended.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Extended Getting Started Guide (ELUSoC_2026)
# Extended Getting Started Guide

## Setup Configuration
Declare parameters in a local `.env` file:
Expand Down
7 changes: 0 additions & 7 deletions docs/issue-498-resolved.md

This file was deleted.

45 changes: 45 additions & 0 deletions how HEAD__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
warning: in the working copy of '.github/workflows/ci.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'README.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'benchmarks/generate_cases.py', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'benchmarks/run_eval.py', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'docker-compose.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'docs/architecture.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'docs/architecture_detailed.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'docs/cli/getting-started.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'docs/custom_adapters_tutorial.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'docs/developer_setup.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'docs/getting_started_extended.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'mkdocs.yml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'pyproject.toml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'tests/conftest.py', LF will be replaced by CRLF the next time Git touches it
.coverage | Bin 69632 -> 0 bytes
.github/workflows/ci.yml | 6 +++--
.gitignore | 1 +
Dockerfile.frontend | 19 --------------
README.md | 2 +-
__main__.py | 0
agentwatch/cli/demo.py | 2 +-
benchmarks/generate_cases.py | 5 ++--
benchmarks/run_eval.py | 10 +++-----
docker-compose.yml | 2 +-
docs/architecture.md | 8 +++---
docs/architecture_detailed.md | 2 +-
docs/cli/getting-started.md | 4 +--
docs/custom_adapters_tutorial.md | 2 +-
docs/developer_setup.md | 6 ++---
docs/getting_started_extended.md | 2 +-
docs/issue-498-resolved.md | 7 -----
mkdocs.yml | 5 ++++
pyproject.toml | 4 +--
scripts/owasp_test_harness.py | 8 ++----
tests/conftest.py | 7 -----
tests/test_cli_share.py | 4 +--
tests/test_db_failure.py | 1 -
tests/test_platform.py | 4 +--
tests/test_router.py | 1 +
tests/test_semantic_caching.py | 54 +++++++++++++++++++++++----------------
tests/test_server.py | 5 ++--
tests/test_sync_safety.py | 13 +++++-----
tests/test_telemetry.py | 4 +++
29 files changed, 84 insertions(+), 104 deletions(-)
Loading
Loading