# Repository Briefing: Giskard-AI/giskard-oss
> Source: https://repoforai.com/repo/Giskard-AI/giskard-oss (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Giskard-AI/giskard-oss
- **Official Docs / Website**: https://docs.giskard.ai
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: Apache-2.0
- **Engineering Health**: A+ (94/100 · Maintenance 35/35 · Adoption 19/25 · Releases 20/20 · License 20/20)
- **Latest Release**: giskard-scan/v1.0.2 (2026-11-16) — https://github.com/Giskard-AI/giskard-oss/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: CLI
- **Momentum**: 5,989 ★ total (+3 24h / +19 7d) · 589 forks
- **Topics**: `agent-evaluation`, `ai-red-team`, `ai-security`, `ai-testing`, `fairness-ai`, `llm`, `llm-eval`, `llm-evaluation`, `llm-security`, `llmops`, `ml-testing`, `ml-validation`
- **When to Use**: Best for: Teams building a repeatable regression suite for an existing agent or RAG pipeline, using deterministic gates for hard requirements and judged checks for answer quality. Skip if: You need a ready-made fixed leaderboard, a hosted test-management UI, or the legacy automatic tabular ML detector suite in a maintained v3 package.

## Overview
```text
### Architecture & Core Mechanics
Giskard v3 is an async-first Python evaluation library built around a callable boundary rather than a specific agent framework. A target accepts inputs and returns outputs, optionally with a trace. A `Scenario` combines one or more interactions with checks against the resulting trace, and a `Suite` groups scenarios. Targets may be synchronous or asynchronous; evaluation can be awaited or invoked through `run_sync()` in a synchronous script.

The root `giskard` package at 3.0.1 requires `giskard-checks>=1.0.7,<2`; `giskard-scan` is an opt-in layer for vulnerability and quality evaluation. The supporting packages separate shared utilities and telemetry (`giskard-core`), provider routing (`giskard-llm`), and agent/workflow orchestration (`giskard-agents`). The workflow LLM client `giskard.agents.Generator` is distinct from Checks' `LLMGenerator`, which synthesizes test inputs.

### Key Capabilities & Differentiators
Checks combines deterministic assertions such as string matching, comparisons, and regex with semantic similarity and model-judged evaluation. `Groundedness` assesses whether an answer is supported by supplied context; `Conformity` and `LLMJudge` cover other model-judged criteria. Because a scenario can capture multiple turns, it can evaluate behavior that only emerges after earlier exchanges, not just the final answer in isolation.

`giskard-scan` offers `quality_scan` with `KnowledgeBase` for RAG evaluation and `vulnerability_scan` for defensive assessment of an agent. The latter generates scenario suites from a plain-language description of the target, with coverage areas including prompt injection, harmful content, stereotypes, and misinformation. Custom `ScenarioGenerator` instances extend suite generation. Provider extras include OpenAI and Anthropic; the groundedness quickstart uses `openai/gpt-4o-mini` as its default judge.

### Trade-offs & Limitations
Compared with a conventional unit-test runner, Giskard gives teams a vocabulary for multi-turn interactions and semantic criteria, but a judge verdict is not as reproducible as a deterministic assertion. Use hard assertions for release gates where possible, record judge settings, and calibrate model-graded failures against human review. Generated suites can uncover new cases, but freeze selected cases and scoring criteria when comparing regressions across releases.

Unlike a fixed benchmark, Giskard leaves the target adapter, scenarios, and pass criteria to the adopter. That makes the evaluation specific to a product, at the cost of maintaining test cases and representative traces. The v3 rewrite is also not a drop-in upgrade for every v2 workflow: automatic tabular detectors, the legacy `giskard.testing` ML suite, and Giskard Hub remain v2-only, and v2 is no longer actively maintained. Generic v3 callable checks can still wrap ML models, but do not replace those detectors.

### Hardware & Deployment Guide
Use Python 3.12 or later; the package manifest lists classifiers for 3.12, 3.13, and 3.14. Install `giskard-checks` directly or use `giskard` as the entry package, add `giskard[scan]` for Scan, and install the matching provider extra and configure its API key for hosted judging or generation. This is an in-process library integration. Deterministic assertions do not themselves require a judge API, but end-to-end offline operation also depends on the target and any model-backed checks or generators.

Budget hosted runs for target calls, judge and generator calls, token usage, and provider limits rather than a fixed VRAM requirement. Optional analytics do not transmit prompts or outputs; hosted judging is a separate data path. Set `DO_NOT_TRACK=1` or `GISKARD_TELEMETRY_DISABLED=1` before import to opt out and avoid creating `~/.giskard/id`. The releases `giskard-scan/v1.0.2`, `giskard-checks/v1.0.7`, and `giskard-agents/v1.0.7` use component versions distinct from the 3.0.1 entry package.
```

## Key Capabilities
```text
- Package boundary: The `giskard` 3.0.1 shim requires `giskard-checks>=1.0.7,<2`; the Scan package is optional.
- Integration contract: Sync or async callable targets can supply traces for scenario checks without changing the underlying agent framework.
- Judging methods: Exact and regex matching, comparisons, and semantic similarity sit alongside `Groundedness`, `Conformity`, and `LLMJudge`.
- RAG evaluation: `quality_scan` with `KnowledgeBase` is the v3 successor to RAGET.
- Scan extensibility: Custom `ScenarioGenerator` instances can be passed to `generate_suite` or registered for reuse.
- Privacy controls: Analytics opt-outs can be set before import to avoid creating the telemetry ID; they do not disable hosted model requests.
```

## Quick Start / Clone
```bash
pip install giskard           # checks (+ agents, llm, core)
pip install "giskard[scan]"   # + vulnerability / quality scan
pip install "giskard[openai]" # provider SDK for LLM judges / generators
```
