intelligent-audit-system

AuditPilot: auditable enterprise AI agents for evidence-grounded workflows, governed tools, evaluation harnesses, human review, and remediation delivery.

1,166
Stars
109
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/Ricky-7-Yan/intelligent-audit-system

快速入门

使用 intelligent-audit-system 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

AuditPilot logo

审脉 AuditPilot

面向审计交付场景的企业级 AI Agent 工作台:把证据检索、工具执行、Harness 评测、人工复核与整改闭环放进同一条可追溯工作流。

Python FastAPI RAG Evaluation Secrets

AuditPilot 工作台

Why AuditPilot

很多 Agent 项目停留在聊天框或 Demo。AuditPilot 选择一个更“硬”的落地场景:企业审计交付。它需要证据、控制、风险、复核、报告和整改闭环,也天然要求可追溯、可回归、可解释。

AuditPilot 的目标不是替代审计师,而是把审计师反复执行的取证、映射、检查、补证和交付动作,组织成一套可治理的 Agent 工作流。

解决什么业务问题

审计交付痛点AuditPilot 的处理方式可验证输出
资料散落,取证反复追问按范围生成证据请求,统一检索、定位来源并提示缺口证据请求单、页段级引用、缺失证据清单
控制测试依赖个人经验,团队口径不一用版本化模板关联风险、控制、证据、抽样和测试程序控制矩阵、抽样计划、测试程序、例外清单
AI 结论难复核,无法直接进入底稿保存执行轨迹和证据链,低置信或缺证结果进入人工复核质量门、来源引用、复核记录、不可变交付物
发现与整改脱节,复核时上下文丢失在同一档案管理发现、责任人、到期日、状态和复核意见整改任务、逾期提示、复核意见、交付报告

项目不在没有客户实测的情况下宣称固定的“节省工时”或“准确率”。业务价值应通过取证周期、底稿一次复核通过率、证据充分率和整改按期关闭率在试点项目中持续度量。

审计场景覆盖

当前内置 6 个可直接立项的高频数字化审计模板,合计覆盖 4 类标准、34 个控制主题、36 类证据输入和 25 类交付物:

场景参考标准主要解决的问题
SOX ITGC 财务系统审计SOX关键控制、样本和证据难统一
ERP 权限与职责分离审计ISO27001越权、特权账号与 SoD 冲突难定位
数据安全与个人信息处理审计数据安全法数据目录、访问、共享和日志难串联
生产变更与发布管理审计COBIT需求、测试、审批、上线和回退证据跨环节
备份恢复与业务连续性审计ISO27001备份成功不等于可恢复,RPO/RTO 难验证
第三方服务与外包安全审计ISO27001供应商准入、合同、访问和退出责任分散

这些数字来自 services/audit_templates.py 中版本化模板的去重统计,代表开箱范围,不代表已覆盖所有行业和全部审计业务。企业可接入自有标准库、控制库和证据源扩展场景。

What it does

模块能力
Audit Workspace审计立项、控制矩阵、审计程序、抽样计划、发现、整改和交付包。
Agent Runtime有界 Plan / Execute / Reflect 循环、按任务自适应规划、步骤依赖、结构化交接、独立交付校验、失败恢复和人工复核出口。
Agentic RAGTF-IDF + 关键词多路召回、融合重排、元数据过滤、页/章节来源、冲突证据识别和缺证提示;语义向量是可选增强。
Skills / MCP-style Tools工具 Schema、执行前 RBAC 校验、租户隔离、TTL 缓存、熔断器、调用日志和工具指标。
MemoryWorking / Episodic / Profile Memory,保留多轮审计上下文。
Evaluation Harness对任务结果、执行轨迹、工具调用、证据依据、安全权限、上下文和鲁棒性分层评测;输出校准得分与置信下界,关键断言失败直接阻断发布。
Evidence Graph连接任务、步骤、工具运行和产物,检查来源覆盖、断裂依赖与关键孤点。
Governed Improvement失败只沉淀为经验候选,通过回归评测和人工批准后才允许复用。
Episode & Observability隐私友好的任务轨迹包、标准语义字段、工具证据、安全门、失败归因、干预记录和完整性摘要。
Security & StorageBearer 身份基线、RBAC + 项目 ABAC、请求限流、HMAC 签名检查点、上传治理,以及审计/评测/任务/记忆的 SQLite WAL 事务存储。

Screenshots

Audit workspaceAgent runtime
审计项目工作台Agent 运行时
Agent collaborationLayered evaluation
Agent 协作分层评测

AuditPilot mobile overview

Architecture

Audit request
  -> Hybrid Intent Router
  -> Working + Episodic + Profile Memory
  -> Planner / Evidence / Control / Risk / Compliance / Remediation / Verification / Delivery
  -> Bounded dependency-aware Agent Loop
  -> Agentic RAG + Evidence Graph + Skills / MCP-style Tools
  -> Safety Gate + Reflection + Human Review
  -> 9-layer Component Evaluation + Release Gate
  -> Delivery Package + Governed Experience Candidate

Design boundaries:

  • LLMs help with understanding, summarization and explanation.
  • Evidence gaps, quality gates, permissions, risk signals and delivery state stay auditable.
  • High-risk or low-confidence outputs are routed to evidence completion and human review.

快速运行

要求 Python 3.10 或更高版本。项目默认支持无模型密钥运行:未配置大模型时会进入确定性回退模式,审计工作流、RAG、评测和界面仍可体验。

Windows PowerShell

python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
Copy-Item config.env.example config.env
python start.py

macOS / Linux

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp config.env.example config.env
python start.py

启动完成后,按终端输出的地址在浏览器中打开应用。停止服务时在终端按 Ctrl+C

基本操作

  1. 在「Agent 协作」中输入审计对象、标准或风险场景,观察多 Agent 的规划、证据、控制、风险与整改协作。
  2. 在「审计项目」中建立审计范围,运行控制测试、Deep Research、证据请求和整改闭环。
  3. 在「知识库」中维护可检索的审计知识;首次运行会从公开种子知识自动建立本地 RAG 存储。
  4. 在「Agent 评测」中运行分层评测,查看任务、轨迹、工具、证据、安全、上下文与鲁棒性结果,以及发布门禁。
  5. 在「Skills / MCP」中检查工具 Schema、权限声明、调用记录和运行状态。

可选配置

复制 config.env.example 后,只在本地 config.env 中填写所需配置:

场景配置项是否必需
LLM 增强DEEPSEEK_API_KEY 或兼容提供商变量
MySQL 标准库MYSQL_HOSTMYSQL_USERMYSQL_PASSWORD
Neo4j 图谱NEO4J_URINEO4J_USERNEO4J_PASSWORD
RAG 参数RAG_CHUNK_SIZERAG_CHUNK_OVERLAPRAG_TOP_K
生产鉴权SECURITY_MODE=enforcedAUDITPILOT_API_TOKENS_JSONAUDIT_LOG_SIGNING_KEY生产必需
上传治理KNOWLEDGE_UPLOAD_MAX_BYTESEVIDENCE_UPLOAD_MAX_BYTESREJECT_PROMPT_INJECTION

默认安装不包含 Torch / Transformers。只有在确实需要本地语义向量时,才安装 requirements-embeddings.txt 并启用 RAG_ENABLE_EMBEDDINGS=1;默认混合检索不依赖本地大模型。

Security

Do not commit real API keys.

  • Put local secrets in config.env.
  • Use platform secrets for deployment.
  • config.env, .env*, runtime data, logs, model artifacts and local databases are ignored by Git.
  • Example config files use placeholders only.
  • SECURITY_MODE=local is restricted to a loopback bind. Any shared or network deployment must use SECURITY_MODE=enforced, secret-managed bearer tokens and an audit-log signing key.
  • Permissions are checked at the HTTP and Skill boundaries; repositories additionally enforce tenant and project membership.
  • Uploads are streamed with a hard size limit, content/extension checks, hashes, credential scanning and prompt-injection quarantine.
  • Liveness and dependency-aware readiness are exposed separately; readiness fails when security or persistent stores are not usable.

Public repository scope

公开仓库只保留可运行产品代码、必要的公开种子数据、回归测试、展示截图、README 与启动配置。以下内容不会进入 Git:

  • API 密钥、数据库密码和个人配置;
  • 本地运行记录、会话记忆、评测结果、上传文件和生成的 RAG 存储;
  • 求职 JD、面经、项目内部设计文档和完整归档;
  • 本地模型、IDE 配置、日志及临时生成文件。

Validation

.\.venv\Scripts\python.exe -m compileall -q agents services rag web tests scripts
.\.venv\Scripts\python.exe -m pytest -q
.\.venv\Scripts\python.exe -m pytest --cov=services.record_store --cov=services.security --cov=services.agent_runtime --cov=services.conversation_memory --cov=rag.agentic_rag --cov-fail-under=75
.\.venv\Scripts\python.exe scripts\audit_repro.py
ruff check agents services rag web tests
bandit -q -ll -r agents services rag web -x tests
pip-audit -r requirements.txt

Current tests cover authentication/RBAC/ABAC, tenant and project isolation, optimistic locking, signed audit checkpoints, upload injection blocking, intent routing, memory compaction, Skill input/output contracts, adaptive multi-role runtime execution, immutable-artifact delivery verification, fail-closed RAG filtering, evidence lineage, governed experience reuse, independent-dataset evaluation semantics, repository-bound Harness gating and every visible product endpoint.

Project layout

agents/                 audit agent chain and control library
services/               runtime, memory, router, skills, safety, evaluation, delivery
rag/                    agentic RAG and local knowledge-store runtime
knowledge_graph/        optional graph construction and Neo4j adapter
training/               evaluation and offline training entry points
web/                    FastAPI application and APIs
templates/ + static/    product UI
tests/                  regression tests
docs/screenshots/       public product screenshots only
data/seed_knowledge/    public starter knowledge; runtime data is ignored

Reality notes

  • Runtime records, tool calls, evaluations, memory and audit cases are generated by real code and persisted locally.
  • Audit, evaluation, Agent task/event and conversation-memory records use tenant-scoped SQLite WAL storage with optimistic concurrency; RAG chunks remain a single-node snapshot/index in this release.
  • The built-in evaluation suite is a regression/smoke baseline, not proof of business accuracy. Release-grade claims require an independent held-out dataset and domain-expert review.
  • The included bearer-token RBAC is a deployable baseline, not a replacement for enterprise OIDC/SSO, external KMS, object storage or a multi-node database.
  • Role collaboration is an observable, contract-bound orchestration inside one runtime process; it is not presented as a fleet of independently deployed autonomous services.
  • Untested throughput, accuracy or availability claims are intentionally not presented as project facts.
  • SFT / RLHF-style model training is treated as an offline extension; the Web app focuses on workflow, evaluation and data preparation.

常见问题

What is intelligent-audit-system?

intelligent-audit-system is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Ricky-7-Yan. AuditPilot: auditable enterprise AI agents for evidence-grounded workflows, governed tools, evaluation harnesses, human review, and remediation delivery. It has 1,166 GitHub stars.

Is intelligent-audit-system safe to use?

intelligent-audit-system returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.

How do I install intelligent-audit-system?

Clone the repository with "git clone https://github.com/Ricky-7-Yan/intelligent-audit-system" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is intelligent-audit-system written in?

intelligent-audit-system is primarily written in Python. It is open-source under Ricky-7-Yan on GitHub, so you can review or fork the full source.

Are there alternatives to intelligent-audit-system?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh intelligent-audit-system against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情