giskard-oss Agent工作流 是 AI Skill Hub 本期精选AI工具之一。已获得 5.4k 颗 GitHub Star,综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
专为LLM代理设计的开源评估测试库。提供AI红队、安全测试、公平性检验等完整工作流,帮助开发者系统性地评估和改进大语言模型应用的可靠性和安全性。
giskard-oss Agent工作流 是一款基于 Python 开发的开源工具,专注于 LLM测试、AI安全评估、代理工作流 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
专为LLM代理设计的开源评估测试库。提供AI红队、安全测试、公平性检验等完整工作流,帮助开发者系统性地评估和改进大语言模型应用的可靠性和安全性。
giskard-oss Agent工作流 是一款基于 Python 开发的开源工具,专注于 LLM测试、AI安全评估、代理工作流 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install giskard-oss
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install giskard-oss
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/Giskard-AI/giskard-oss
cd giskard-oss
pip install -e .
# 验证安装
python -c "import giskard_oss; print('安装成功')"
# 命令行使用
giskard-oss --help
# 基本用法
giskard-oss input_file -o output_file
# Python 代码中调用
import giskard_oss
# 示例
result = giskard_oss.process("input")
print(result)
# giskard-oss 配置文件示例(config.yml) app: name: "giskard-oss" debug: false log_level: "INFO" # 运行时指定配置文件 giskard-oss --config config.yml # 或通过环境变量配置 export GISKARD_OSS_API_KEY="your-key" export GISKARD_OSS_OUTPUT_DIR="./output"
<p align="center"> <img alt="giskardlogo" src="readme/logo_light.png#gh-light-mode-only"> <img alt="giskardlogo" src="readme/logo_dark.png#gh-dark-mode-only"> </p> <h1 align="center" weight='300' >Evals, Red Teaming and Test Generation for Agentic Systems</h1> <h3 align="center" weight='300' >Modular, Lightweight, Dynamic and Async-first </h3> <div align="center">
<a rel="me" href="https://fosstodon.org/@Giskard"></a>
</div> <h3 align="center"> <a href="https://docs.giskard.ai/oss"><b>Docs</b></a> • <a href="https://www.giskard.ai/?utm_source=github&utm_medium=github&utm_campaign=github_readme&utm_id=readmeblog"><b>Website</b></a> • <a href="https://gisk.ar/discord"><b>Community</b></a> </h3> <br />
[!IMPORTANT] Giskard v3 is a fresh rewrite designed for dynamic, multi-turn testing of AI agents. This release drops heavy dependencies for better efficiency while introducing a more powerful AI vulnerability scanner and enhanced RAG evaluation — both now shipping natively in giskard-scan, with no dependency on v2. Only the legacy scan for tabular/ML models remains v2-only. Giskard v2 remains available but is no longer actively maintained. Follow progress → Read the v3 Announcement · Roadmap
pip install giskard # checks (+ agents, llm, core)
pip install "giskard[scan]" # + vulnerability / quality scan
pip install "giskard[openai]" # provider SDK for LLM judges / generators
Requires Python 3.12+.
| Extra | Adds |
|---|---|
| *(none)* | giskard-checks and dependencies |
scan | giskard-scan |
openai / anthropic / … | provider SDKs (see pyproject.toml optional deps) |
Telemetry: optional aggregated analytics via giskard-core. No prompts or outputs are sent. Opt out with export DO_NOT_TRACK=1 or export GISKARD_TELEMETRY_DISABLED=1 (or the same keys in a .env file in the working directory). Set them before import to skip creating ~/.giskard/id; setting them later still stops further sends. Details: giskard-core README.
---
Giskard is an open-source Python library for testing and evaluating agentic systems. The v3 architecture is a modular set of focused packages — each carrying only the dependencies it needs — built from scratch to wrap anything: an LLM, a black-box agent, or a multi-step pipeline.
| Status | Package | Description |
|---|---|---|
| ✅ Stable | giskard-checks | Testing & evaluation — scenario API, built-in checks, LLM-as-judge |
| ✅ Stable | giskard-scan | Agent vulnerability scanner + RAG/quality evaluation — red teaming, prompt injection, jailbreaks & harmful content (vulnerability_scan, successor of [v2 Scan](https://legacy-docs.giskard.ai/en/stable/open_source/scan/index.html)), plus knowledge-base quality eval (quality_scan, successor of [v2 RAGET](https://legacy-docs.giskard.ai/en/stable/open_source/testset_generation/index.html)) |
These build on three foundational libraries — giskard-core (shared utilities & telemetry), giskard-llm (provider-agnostic LLM routing), and giskard-agents (agent & workflow orchestration) — which are pulled in automatically and rarely used directly.
import asyncio
from giskard.checks import Scenario, Groundedness
def get_answer(inputs: str) -> str:
return "Paris" # replace with your model / agent
async def main() -> None:
scenario = (
Scenario("test_france_capital")
.interact(inputs="What is the capital of France?", outputs=get_answer)
.check(
Groundedness(
name="answer is grounded",
context="France is in Western Europe. Its capital is Paris.",
)
)
)
result = await scenario.run()
result.print_report()
asyncio.run(main())
Groundedness is an LLM judge — install a provider extra (e.g. pip install "giskard[openai]") and set the matching API key. Default model: openai/gpt-4o-mini.
See the full docs for Suites, LLMJudge, multi-turn scenarios, and more.
---
import asyncio
from giskard.scan import vulnerability_scan
async def my_agent(inputs: str) -> str:
# Replace with your agent / model call
return f"Echo: {inputs}"
async def main() -> None:
await vulnerability_scan(
target=my_agent,
description="A customer support chatbot for an e-commerce platform.",
languages=["en"],
)
asyncio.run(main())
Scan generators also need an LLM provider extra and API key (same as Checks judges above).
高质量的开源AI评测框架,5.4k星标说明认可度高。工作流设计完善,覆盖安全、公平、性能多维度,是LLM应用上线前的必要工具,社区活跃度良好。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,giskard-oss Agent工作流 在AI工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | giskard-oss |
| 原始描述 | 开源AI工作流:🐢 Open-Source Evaluation & Testing library for LLM Agents。⭐5.4k · Python |
| Topics | LLM测试AI安全评估代理工作流红队工具模型公平性 |
| GitHub | https://github.com/Giskard-AI/giskard-oss |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-05-17 · 更新时间:2026-05-19 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。