by Ricky-7-Yan
AuditPilot: auditable enterprise AI agents for evidence-grounded workflows, governed tools, evaluation harnesses, human review, and remediation delivery.
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
# Add to your Claude Code skills
git clone https://github.com/Ricky-7-Yan/intelligent-audit-systemGuides for using ai agents skills like intelligent-audit-system.
Last scanned: 7/19/2026
{
"issues": [
{
"type": "npm-audit",
"message": "axios: Axios Cross-Site Request Forgery Vulnerability",
"severity": "high"
},
{
"type": "npm-audit",
"message": "localtunnel: Vulnerability found",
"severity": "high"
}
],
"status": "WARNING",
"scannedAt": "2026-07-19T06:29:54.322Z",
"npmAuditRan": true,
"pipAuditRan": false,
"promptInjectionRan": true
}
很多 Agent 项目停留在聊天框或 Demo。AuditPilot 选择一个更“硬”的落地场景:企业审计交付。它需要证据、控制、风险、复核、报告和整改闭环,也天然要求可追溯、可回归、可解释。
AuditPilot 的目标不是替代审计师,而是把审计师反复执行的取证、映射、检查、补证和交付动作,组织成一套可治理的 Agent 工作流。
| 模块 | 能力 |
|---|---|
| Audit Workspace | 审计立项、控制矩阵、审计程序、抽样计划、发现、整改和交付包。 |
| Agent Runtime | 有界 Plan / Execute / Reflect 循环、按任务自适应规划、步骤依赖、结构化交接、独立交付校验、失败恢复和人工复核出口。 |
| Agentic RAG | TF-IDF + 关键词多路召回、融合重排、元数据过滤、页/章节来源、冲突证据识别和缺证提示;语义向量是可选增强。 |
| Skills / MCP-style Tools | 工具 Schema、执行前 RBAC 校验、租户隔离、TTL 缓存、熔断器、调用日志和工具指标。 |
| Memory | Working / Episodic / Profile Memory,保留多轮审计上下文。 |
| Evaluation Harness | 对任务结果、执行轨迹、工具调用、证据依据、安全权限、上下文和鲁棒性分层评测;输出校准得分与置信下界,关键断言失败直接阻断发布。 |
| Evidence Graph | 连接任务、步骤、工具运行和产物,检查来源覆盖、断裂依赖与关键孤点。 |
| Governed Improvement | 失败只沉淀为经验候选,通过回归评测和人工批准后才允许复用。 |
| Episode & Observability | 隐私友好的任务轨迹包、标准语义字段、工具证据、安全门、失败归因、干预记录和完整性摘要。 |
| Security & Storage | Bearer 身份基线、RBAC + 项目 ABAC、请求限流、HMAC 签名检查点、上传治理,以及审计/评测/任务/记忆的 SQLite WAL 事务存储。 |
| Audit workspace | Agent runtime |
|---|---|
![]() |
![]() |
| Agent collaboration | Layered evaluation |
|---|---|
![]() |
![]() |
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:
要求 Python 3.10 或更高版本。项目默认支持无模型密钥运行:未配置大模型时会进入确定性回退模式,审计工作流、RAG、评测和界面仍可体验。
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
Copy-Item config.env.example config.env
python start.py
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp config.env.example config.env
python start.py
启动完成后,按终端输出的地址在浏览器中打开应用。停止服务时在终端按 Ctrl+C。
复制 config.env.example 后,只在本地 config.env 中填写所需配置:
| 场景 | 配置项 | 是否必需 |
|---|---|---|
| LLM 增强 | DEEPSEEK_API_KEY 或兼容提供商变量 |
否 |
| MySQL 标准库 | MYSQL_HOST、MYSQL_USER、MYSQL_PASSWORD |
否 |
| Neo4j 图谱 | NEO4J_URI、NEO4J_USER、NEO4J_PASSWORD |
否 |
| RAG 参数 | RAG_CHUNK_SIZE、RAG_CHUNK_OVERLAP、RAG_TOP_K |
否 |
| 生产鉴权 | SECURITY_MODE=enforced、AUDITPILOT_API_TOKENS_JSON、AUDIT_LOG_SIGNING_KEY |
生产必需 |
| 上传治理 | KNOWLEDGE_UPLOAD_MAX_BYTES、EVIDENCE_UPLOAD_MAX_BYTES、REJECT_PROMPT_INJECTION |
否 |
默认安装不包含 Torch / Transformers。只有在确实需要本地语义向量时,才安装 requirements-embeddings.txt 并启用 RAG_ENABLE_EMBEDDINGS=1;默认混合检索不依赖本地大模型。
Do not commit real API keys.
config.env.config.env, .env*, runtime data, logs, model artifacts and local databases are ignored by Git.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.公开仓库只保留可运行产品代码、必要的公开种子数据、回归测试、展示截图、README 与启动配置。以下内容不会进入 Git:
.\.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.
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
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,165 GitHub stars.
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.
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).
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.
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.
No comments yet. Be the first to share your thoughts!