원클릭으로
agent-evaluation
Evaluate AI agent outputs — hallucination detection, quality scoring, behavioral testing, and CI/CD pipelines.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Evaluate AI agent outputs — hallucination detection, quality scoring, behavioral testing, and CI/CD pipelines.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | agent-evaluation |
| description | Evaluate AI agent outputs — hallucination detection, quality scoring, behavioral testing, and CI/CD pipelines. |
| context | fork |
| globs | [] |
| alwaysApply | false |
Framework for evaluating AI agent outputs: hallucination detection, quality scoring, behavioral regression, and CI/CD integration.
def detect_hallucination(response: str, context: str) -> dict:
"""Check if response contains unsupported claims."""
claims = extract_claims(response)
supported = [c for c in claims if verify_against(c, context)]
return {
'hallucination_rate': 1 - len(supported) / len(claims),
'unsupported_claims': [c for c in claims if c not in supported]
}
| Metric | What it measures | Target |
|---|---|---|
| Faithfulness | Response grounded in context | ≥0.8 |
| Answer Relevance | Response addresses query | ≥0.8 |
| Context Precision | Retrieved context is relevant | ≥0.7 |
| Context Recall | All relevant context retrieved | ≥0.7 |
from ragas import evaluate
from ragas.metrics import faithfulness, answer_relevance
result = evaluate(
dataset=eval_dataset,
metrics=[faithfulness, answer_relevance]
)
from langsmith import Client
client = Client()
client.evaluate(
runnable,
dataset_name="agent-behavior-tests",
evaluators=[consistency_evaluator, safety_evaluator]
)
| Metric | Target | Measurement |
|---|---|---|
| P50 Latency | <2s | Time to first token |
| P99 Latency | <10s | End-to-end response time |
| Error Rate | <1% | Failed requests / total |
| Throughput | >10 req/s | Concurrent requests handled |
# .github/workflows/agent-eval.yml
jobs:
evaluate:
steps:
- run: python scripts/run_eval_suite.py
- run: python scripts/check_hallucination_rate.py
- run: python scripts/benchmark_latency.py
- if: failure
run: echo "Agent eval failed — blocking merge"
Tool-agnostic search — query construction, tool selection, source trust hierarchy.
Auto-continue through todos with idle detection and safety gates. Use for multi-step orchestration.
Level 2 — Pantheon-native context compression with priority scoring, semantic summarization, downstream-aware compression, budget allocation, and cross-references
Automated visual review pipeline — Playwright screenshots, self-analysis, fix loop, escalation. Used by Aphrodite for UI verification.
Multi-agent orchestration with model routing, category delegation, and sprint management. Use for coordinating Pantheon agents.
MCP security hardening — credential leakage prevention, input sanitization, and tool access control. Use for reviewing agent MCP configurations.