agent_evaluator 0.7.7__tar.gz → 0.7.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/PKG-INFO +63 -60
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/README.md +52 -59
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/__init__.py +1 -1
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/pyproject.toml +17 -1
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/.gitignore +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/Book/README.md +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/LICENSE +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/alerts/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/alerts/engine.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/alerts/handlers.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/anomaly/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/anomaly/detector.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/cli/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/cli/_utils.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/cli/dataset.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/cli/gate.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/cli/main.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/cli/monitor.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/config.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/agent_evaluator.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/hybrid_monitor.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/monitor_context.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/otel/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/otel/metrics.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/otel/provider.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/trackers/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/trackers/base.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/trackers/conversation.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/trackers/feedback.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/trackers/layer1.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/trackers/layer2.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/trackers/monitor.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/trackers/security.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/cost/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/cost/policy.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/datasets/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/datasets/builder.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/datasets/korean_rag_dataset_generator.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/datasets/korean_rag_evaluator.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/decorators.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/eval_config.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/examples/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/examples/example_runner.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/exceptions.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/helpers/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/helpers/taskresult_helpers.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/integrations/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/integrations/dspy_integration.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/integrations/framework_integrations.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/integrations/llm_judge.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/integrations/metric_adapters.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/integrations/pydanticai_integration.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/observation/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/observation/bus.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/observation/callback_handler.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/observation/middleware.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/observation/observe.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/plugin_registry.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/policy/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/policy/engine.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/policy/loader.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/py.typed +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/quick_eval.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/reporting/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/reporting/comprehensive_report.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/cache.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/loader.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/alerts.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/anomaly.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/config.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/conversation.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/cost.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/data.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/export.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/feedback.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/golden.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/stream.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/transparency.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/webhook.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/server.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/templates/dashboard.html.j2 +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/templates/dashboard2.html.j2 +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/templates/sdk_docs.html.j2 +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/templates/slides.html.j2 +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/watcher.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/streaming/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/streaming/evaluator.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/streaming/middleware.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/utils/__init__.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/utils/dashboard_integration.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/utils/data_registry.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/utils/path_helpers.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/utils/text_similarity.py +0 -0
- {agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/utils/transparency_manager.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-evaluator
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.8
|
|
4
4
|
Summary: Production-ready evaluation framework for AI agents — 25 metrics across task completion, accuracy, hallucination, latency, security, and agentic behavior
|
|
5
5
|
Project-URL: Homepage, https://github.com/bullpeng72/Agent-Evaluator
|
|
6
6
|
Project-URL: Repository, https://github.com/bullpeng72/Agent-Evaluator
|
|
@@ -28,9 +28,19 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
28
28
|
Classifier: Topic :: System :: Monitoring
|
|
29
29
|
Classifier: Typing :: Typed
|
|
30
30
|
Requires-Python: >=3.8
|
|
31
|
+
Requires-Dist: anthropic<1.0.0,>=0.20.0
|
|
32
|
+
Requires-Dist: arize-phoenix<2.0.0,>=0.11.0
|
|
33
|
+
Requires-Dist: fastapi<1.0.0,>=0.110.0
|
|
34
|
+
Requires-Dist: jinja2<4.0.0,>=3.1.0
|
|
31
35
|
Requires-Dist: numpy<3.0.0,>=1.20.0
|
|
36
|
+
Requires-Dist: openai<3.0.0,>=1.0.0
|
|
37
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-http<2.0.0,>=1.20.0
|
|
38
|
+
Requires-Dist: opentelemetry-sdk<2.0.0,>=1.20.0
|
|
32
39
|
Requires-Dist: pandas<4.0.0,>=1.3.0
|
|
40
|
+
Requires-Dist: pdfplumber<1.0.0,>=0.10.0
|
|
33
41
|
Requires-Dist: python-dotenv<2.0.0,>=0.19.0
|
|
42
|
+
Requires-Dist: python-multipart<1.0.0,>=0.0.9
|
|
43
|
+
Requires-Dist: uvicorn[standard]<1.0.0,>=0.29.0
|
|
34
44
|
Provides-Extra: autogen
|
|
35
45
|
Requires-Dist: autogen-agentchat<1.0.0,>=0.4.0; extra == 'autogen'
|
|
36
46
|
Requires-Dist: autogen-core<1.0.0,>=0.4.0; extra == 'autogen'
|
|
@@ -135,7 +145,7 @@ Description-Content-Type: text/markdown
|
|
|
135
145
|
[](https://pypi.org/project/agent-evaluator/)
|
|
136
146
|
[](https://www.python.org/downloads/)
|
|
137
147
|
[](https://opensource.org/licenses/MIT)
|
|
138
|
-
[](https://github.com/bullpeng72/Agent-Evaluator)
|
|
139
149
|
|
|
140
150
|
**AI 에이전트를 위한 프로덕션 레디 평가 프레임워크**
|
|
141
151
|
|
|
@@ -211,24 +221,22 @@ def my_agent(question, ground_truth=""):
|
|
|
211
221
|
## 설치
|
|
212
222
|
|
|
213
223
|
```bash
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
pip install "agent-evaluator[
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
#
|
|
223
|
-
pip install "agent-evaluator[
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
pip install "agent-evaluator[
|
|
227
|
-
pip install "agent-evaluator[
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
# 조합 편의
|
|
224
|
+
# 기본 설치 — LLMJudge · 대시보드 · OTEL 모니터링 · PDF 포함 (sdk 기본 내장)
|
|
225
|
+
pip install agent-evaluator
|
|
226
|
+
|
|
227
|
+
# ── Evaluator_Examples/ 예제 실행 ─────────────────────────────────────────
|
|
228
|
+
pip install "agent-evaluator[examples]" # 모든 예제 실행 가능 (기본 + eval)
|
|
229
|
+
|
|
230
|
+
# ── 프레임워크 확장 (사용자 에이전트 코드가 필요로 하는 경우) ──────────────
|
|
231
|
+
# agent-evaluator 자체는 아래 패키지 없이도 완전히 동작 (duck typing 방식)
|
|
232
|
+
pip install "agent-evaluator[eval]" # DeepEval ≥3.0 + Ragas ≥0.4 (외부 평가)
|
|
233
|
+
pip install "agent-evaluator[langchain]" # LangChain ≥1.0 / LangGraph ≥1.0
|
|
234
|
+
pip install "agent-evaluator[dspy]" # DSPy ≥2.0
|
|
235
|
+
pip install "agent-evaluator[pydanticai]" # PydanticAI ≥1.0
|
|
236
|
+
pip install "agent-evaluator[crewai]" # CrewAI ≥1.0 (무거움 — 전이 의존성 100개+)
|
|
237
|
+
pip install "agent-evaluator[autogen]" # AutoGen ≥0.3 (무거움)
|
|
238
|
+
|
|
239
|
+
# ── 조합 편의 ──────────────────────────────────────────────────────────────
|
|
232
240
|
pip install "agent-evaluator[full]" # 전체 (⚠️ crewai/autogen 포함, 10분+ 소요)
|
|
233
241
|
```
|
|
234
242
|
|
|
@@ -1467,46 +1475,41 @@ agent-evaluator/
|
|
|
1467
1475
|
|
|
1468
1476
|
---
|
|
1469
1477
|
|
|
1470
|
-
##
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
|
1475
|
-
|
|
1476
|
-
| `
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
|
1481
|
-
|
|
1482
|
-
| `[
|
|
1483
|
-
| `
|
|
1484
|
-
| `
|
|
1485
|
-
| `
|
|
1486
|
-
| `
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
|
1497
|
-
|
|
1498
|
-
| `[
|
|
1499
|
-
| `[
|
|
1500
|
-
| `[
|
|
1501
|
-
| `[
|
|
1502
|
-
| `[
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
**조합 편의 extras**
|
|
1506
|
-
|
|
1507
|
-
| Extra | 구성 | 비고 |
|
|
1508
|
-
|-------|------|------|
|
|
1509
|
-
| `[full]` | sdk + eval + langchain + dspy + pydanticai + crewai + autogen | 전체 (⚠️ 10분+ 소요, CI용) |
|
|
1478
|
+
## 의존성 명세
|
|
1479
|
+
|
|
1480
|
+
**기본 설치 포함 패키지** (`pip install agent-evaluator`)
|
|
1481
|
+
|
|
1482
|
+
| 패키지 | 버전 범위 | 용도 |
|
|
1483
|
+
|--------|----------|------|
|
|
1484
|
+
| `numpy` | ≥1.20.0, <3.0.0 | 수치 연산 |
|
|
1485
|
+
| `pandas` | ≥1.3.0, <4.0.0 | 지표 집계 |
|
|
1486
|
+
| `python-dotenv` | ≥0.19.0, <2.0.0 | 환경변수 관리 |
|
|
1487
|
+
| `openai` | ≥1.0.0, <3.0.0 | LLMJudge 엔진 |
|
|
1488
|
+
| `anthropic` | ≥0.20.0, <1.0.0 | LLMJudge 엔진 |
|
|
1489
|
+
| `fastapi` | ≥0.110.0, <1.0.0 | 웹 대시보드 |
|
|
1490
|
+
| `uvicorn[standard]` | ≥0.29.0, <1.0.0 | 웹 대시보드 |
|
|
1491
|
+
| `jinja2` | ≥3.1.0, <4.0.0 | 웹 대시보드 |
|
|
1492
|
+
| `python-multipart` | ≥0.0.9, <1.0.0 | 웹 대시보드 |
|
|
1493
|
+
| `opentelemetry-sdk` | ≥1.20.0, <2.0.0 | OTEL 모니터링 |
|
|
1494
|
+
| `opentelemetry-exporter-otlp-proto-http` | ≥1.20.0, <2.0.0 | OTEL 모니터링 |
|
|
1495
|
+
| `arize-phoenix` | ≥0.11.0, <2.0.0 | Phoenix 실시간 모니터링 |
|
|
1496
|
+
| `pdfplumber` | ≥0.10.0, <1.0.0 | 한국어 RAG PDF 처리 |
|
|
1497
|
+
|
|
1498
|
+
**선택 extras** (설치 명령은 [## 설치](#설치) 참조)
|
|
1499
|
+
|
|
1500
|
+
| Extra | 주요 패키지 | 설치 시간 | 비고 |
|
|
1501
|
+
|-------|-----------|----------|------|
|
|
1502
|
+
| `[examples]` | 기본 + eval | 무거움 | 예제 01~06: 기본만 필요 · 07: eval 추가 필요 |
|
|
1503
|
+
| `[eval]` | deepeval ≥3.0, <4.0 · ragas ≥0.4, <2.0 · datasets ≥4.0, <6.0 | 무거움 | DeepEval/Ragas 외부 평가 |
|
|
1504
|
+
| `[langchain]` | langchain ≥1.0, langgraph ≥1.0 | 중간 | 사용자 LangChain 에이전트 코드용¹ |
|
|
1505
|
+
| `[dspy]` | dspy-ai ≥2.0 | 중간 | 사용자 DSPy 에이전트 코드용¹ |
|
|
1506
|
+
| `[pydanticai]` | pydantic-ai ≥1.0, <2.0 | 빠름 | 사용자 PydanticAI 에이전트 코드용¹ |
|
|
1507
|
+
| `[crewai]` | crewai ≥1.0, <2.0 | 무거움 (단독 격리) | 사용자 CrewAI 에이전트 코드용¹ |
|
|
1508
|
+
| `[autogen]` | pyautogen ≥0.3, autogen-agentchat ≥0.4 | 무거움 (단독 격리) | 사용자 AutoGen 에이전트 코드용¹ |
|
|
1509
|
+
| `[full]` | 기본 + eval + langchain + dspy + pydanticai + crewai + autogen | 매우 무거움 | ⚠️ 10분+, CI 전체 호환성 검증용 |
|
|
1510
|
+
| `[dev]` | pytest · pytest-cov · ruff · mypy · build · twine | 빠름 | 개발 환경 |
|
|
1511
|
+
|
|
1512
|
+
¹ agent-evaluator 자체는 이 패키지 없이도 완전히 동작 (duck typing). 사용자의 에이전트 코드가 해당 프레임워크를 직접 import할 때만 설치.
|
|
1510
1513
|
|
|
1511
1514
|
---
|
|
1512
1515
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://pypi.org/project/agent-evaluator/)
|
|
4
4
|
[](https://www.python.org/downloads/)
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
|
-
[](https://github.com/bullpeng72/Agent-Evaluator)
|
|
7
7
|
|
|
8
8
|
**AI 에이전트를 위한 프로덕션 레디 평가 프레임워크**
|
|
9
9
|
|
|
@@ -79,24 +79,22 @@ def my_agent(question, ground_truth=""):
|
|
|
79
79
|
## 설치
|
|
80
80
|
|
|
81
81
|
```bash
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
pip install "agent-evaluator[
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
#
|
|
91
|
-
pip install "agent-evaluator[
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
pip install "agent-evaluator[
|
|
95
|
-
pip install "agent-evaluator[
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
# 조합 편의
|
|
82
|
+
# 기본 설치 — LLMJudge · 대시보드 · OTEL 모니터링 · PDF 포함 (sdk 기본 내장)
|
|
83
|
+
pip install agent-evaluator
|
|
84
|
+
|
|
85
|
+
# ── Evaluator_Examples/ 예제 실행 ─────────────────────────────────────────
|
|
86
|
+
pip install "agent-evaluator[examples]" # 모든 예제 실행 가능 (기본 + eval)
|
|
87
|
+
|
|
88
|
+
# ── 프레임워크 확장 (사용자 에이전트 코드가 필요로 하는 경우) ──────────────
|
|
89
|
+
# agent-evaluator 자체는 아래 패키지 없이도 완전히 동작 (duck typing 방식)
|
|
90
|
+
pip install "agent-evaluator[eval]" # DeepEval ≥3.0 + Ragas ≥0.4 (외부 평가)
|
|
91
|
+
pip install "agent-evaluator[langchain]" # LangChain ≥1.0 / LangGraph ≥1.0
|
|
92
|
+
pip install "agent-evaluator[dspy]" # DSPy ≥2.0
|
|
93
|
+
pip install "agent-evaluator[pydanticai]" # PydanticAI ≥1.0
|
|
94
|
+
pip install "agent-evaluator[crewai]" # CrewAI ≥1.0 (무거움 — 전이 의존성 100개+)
|
|
95
|
+
pip install "agent-evaluator[autogen]" # AutoGen ≥0.3 (무거움)
|
|
96
|
+
|
|
97
|
+
# ── 조합 편의 ──────────────────────────────────────────────────────────────
|
|
100
98
|
pip install "agent-evaluator[full]" # 전체 (⚠️ crewai/autogen 포함, 10분+ 소요)
|
|
101
99
|
```
|
|
102
100
|
|
|
@@ -1335,46 +1333,41 @@ agent-evaluator/
|
|
|
1335
1333
|
|
|
1336
1334
|
---
|
|
1337
1335
|
|
|
1338
|
-
##
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
|
1343
|
-
|
|
1344
|
-
| `
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
|
1349
|
-
|
|
1350
|
-
| `[
|
|
1351
|
-
| `
|
|
1352
|
-
| `
|
|
1353
|
-
| `
|
|
1354
|
-
| `
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
|
1365
|
-
|
|
1366
|
-
| `[
|
|
1367
|
-
| `[
|
|
1368
|
-
| `[
|
|
1369
|
-
| `[
|
|
1370
|
-
| `[
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
**조합 편의 extras**
|
|
1374
|
-
|
|
1375
|
-
| Extra | 구성 | 비고 |
|
|
1376
|
-
|-------|------|------|
|
|
1377
|
-
| `[full]` | sdk + eval + langchain + dspy + pydanticai + crewai + autogen | 전체 (⚠️ 10분+ 소요, CI용) |
|
|
1336
|
+
## 의존성 명세
|
|
1337
|
+
|
|
1338
|
+
**기본 설치 포함 패키지** (`pip install agent-evaluator`)
|
|
1339
|
+
|
|
1340
|
+
| 패키지 | 버전 범위 | 용도 |
|
|
1341
|
+
|--------|----------|------|
|
|
1342
|
+
| `numpy` | ≥1.20.0, <3.0.0 | 수치 연산 |
|
|
1343
|
+
| `pandas` | ≥1.3.0, <4.0.0 | 지표 집계 |
|
|
1344
|
+
| `python-dotenv` | ≥0.19.0, <2.0.0 | 환경변수 관리 |
|
|
1345
|
+
| `openai` | ≥1.0.0, <3.0.0 | LLMJudge 엔진 |
|
|
1346
|
+
| `anthropic` | ≥0.20.0, <1.0.0 | LLMJudge 엔진 |
|
|
1347
|
+
| `fastapi` | ≥0.110.0, <1.0.0 | 웹 대시보드 |
|
|
1348
|
+
| `uvicorn[standard]` | ≥0.29.0, <1.0.0 | 웹 대시보드 |
|
|
1349
|
+
| `jinja2` | ≥3.1.0, <4.0.0 | 웹 대시보드 |
|
|
1350
|
+
| `python-multipart` | ≥0.0.9, <1.0.0 | 웹 대시보드 |
|
|
1351
|
+
| `opentelemetry-sdk` | ≥1.20.0, <2.0.0 | OTEL 모니터링 |
|
|
1352
|
+
| `opentelemetry-exporter-otlp-proto-http` | ≥1.20.0, <2.0.0 | OTEL 모니터링 |
|
|
1353
|
+
| `arize-phoenix` | ≥0.11.0, <2.0.0 | Phoenix 실시간 모니터링 |
|
|
1354
|
+
| `pdfplumber` | ≥0.10.0, <1.0.0 | 한국어 RAG PDF 처리 |
|
|
1355
|
+
|
|
1356
|
+
**선택 extras** (설치 명령은 [## 설치](#설치) 참조)
|
|
1357
|
+
|
|
1358
|
+
| Extra | 주요 패키지 | 설치 시간 | 비고 |
|
|
1359
|
+
|-------|-----------|----------|------|
|
|
1360
|
+
| `[examples]` | 기본 + eval | 무거움 | 예제 01~06: 기본만 필요 · 07: eval 추가 필요 |
|
|
1361
|
+
| `[eval]` | deepeval ≥3.0, <4.0 · ragas ≥0.4, <2.0 · datasets ≥4.0, <6.0 | 무거움 | DeepEval/Ragas 외부 평가 |
|
|
1362
|
+
| `[langchain]` | langchain ≥1.0, langgraph ≥1.0 | 중간 | 사용자 LangChain 에이전트 코드용¹ |
|
|
1363
|
+
| `[dspy]` | dspy-ai ≥2.0 | 중간 | 사용자 DSPy 에이전트 코드용¹ |
|
|
1364
|
+
| `[pydanticai]` | pydantic-ai ≥1.0, <2.0 | 빠름 | 사용자 PydanticAI 에이전트 코드용¹ |
|
|
1365
|
+
| `[crewai]` | crewai ≥1.0, <2.0 | 무거움 (단독 격리) | 사용자 CrewAI 에이전트 코드용¹ |
|
|
1366
|
+
| `[autogen]` | pyautogen ≥0.3, autogen-agentchat ≥0.4 | 무거움 (단독 격리) | 사용자 AutoGen 에이전트 코드용¹ |
|
|
1367
|
+
| `[full]` | 기본 + eval + langchain + dspy + pydanticai + crewai + autogen | 매우 무거움 | ⚠️ 10분+, CI 전체 호환성 검증용 |
|
|
1368
|
+
| `[dev]` | pytest · pytest-cov · ruff · mypy · build · twine | 빠름 | 개발 환경 |
|
|
1369
|
+
|
|
1370
|
+
¹ agent-evaluator 자체는 이 패키지 없이도 완전히 동작 (duck typing). 사용자의 에이전트 코드가 해당 프레임워크를 직접 import할 때만 설치.
|
|
1378
1371
|
|
|
1379
1372
|
---
|
|
1380
1373
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "agent-evaluator"
|
|
7
|
-
version = "0.7.
|
|
7
|
+
version = "0.7.8"
|
|
8
8
|
description = "Production-ready evaluation framework for AI agents — 25 metrics across task completion, accuracy, hallucination, latency, security, and agentic behavior"
|
|
9
9
|
readme = {file = "README.md", content-type = "text/markdown"}
|
|
10
10
|
requires-python = ">=3.8"
|
|
@@ -42,9 +42,25 @@ classifiers = [
|
|
|
42
42
|
]
|
|
43
43
|
|
|
44
44
|
dependencies = [
|
|
45
|
+
# 수치 연산 / 지표 집계 / 환경변수
|
|
45
46
|
"numpy>=1.20.0,<3.0.0",
|
|
46
47
|
"pandas>=1.3.0,<4.0.0",
|
|
47
48
|
"python-dotenv>=0.19.0,<2.0.0",
|
|
49
|
+
# SDK 자체 기능 (= [sdk] extras) — 기본 설치에 포함
|
|
50
|
+
# LLMJudge 엔진
|
|
51
|
+
"openai>=1.0.0,<3.0.0",
|
|
52
|
+
"anthropic>=0.20.0,<1.0.0",
|
|
53
|
+
# 웹 대시보드
|
|
54
|
+
"fastapi>=0.110.0,<1.0.0",
|
|
55
|
+
"uvicorn[standard]>=0.29.0,<1.0.0",
|
|
56
|
+
"jinja2>=3.1.0,<4.0.0",
|
|
57
|
+
"python-multipart>=0.0.9,<1.0.0",
|
|
58
|
+
# 운영 실시간 모니터링 (Phoenix + OTEL)
|
|
59
|
+
"opentelemetry-sdk>=1.20.0,<2.0.0",
|
|
60
|
+
"opentelemetry-exporter-otlp-proto-http>=1.20.0,<2.0.0",
|
|
61
|
+
"arize-phoenix>=0.11.0,<2.0.0",
|
|
62
|
+
# 한국어 RAG PDF 처리
|
|
63
|
+
"pdfplumber>=0.10.0,<1.0.0",
|
|
48
64
|
]
|
|
49
65
|
|
|
50
66
|
[project.optional-dependencies]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/core/trackers/conversation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/datasets/korean_rag_evaluator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/helpers/taskresult_helpers.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/integrations/dspy_integration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/integrations/metric_adapters.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/observation/callback_handler.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/reporting/comprehensive_report.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/conversation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/routers/transparency.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/templates/dashboard.html.j2
RENAMED
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/templates/dashboard2.html.j2
RENAMED
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/templates/sdk_docs.html.j2
RENAMED
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/serve/templates/slides.html.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/utils/dashboard_integration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_evaluator-0.7.7 → agent_evaluator-0.7.8}/agent_evaluator/utils/transparency_manager.py
RENAMED
|
File without changes
|