iFixAi專做智能體獨立審計

2026年10月15日 00:00
站內 AI 整理稿

mainBranchesTagsGo to fileCodeOpen more actions menuLatest commit History285 Commits285 CommitsFolders and filesNameNameLast commit messageLast commit date.agents/plugins.agents/plugins .claude-plugin.claude-plugin .github.

github casestudiescasestudies docsdocs examplesexamples ifixaiifixai pluginplugin scriptsscripts .gitattributes.gitattributes .gitignore.gitignore .pre-commit-config.yaml.pre-commit-config.yaml CONTRIBUTING.mdCONTRIBUTING.md LICENSELICENSE README.ja.mdREADME.ja.md README.ko.mdREADME.ko.md README.

mdREADME.md README.zh-CN.mdREADME.zh-CN.md SECURITY.mdSECURITY.md conftest.pyconftest.py countfixturefields.pycountfixturefields.py pyproject.tomlpyproject.

toml View all filesRepository files navigation English · 簡體中文 · 日本語 · 한국어 Catch your agent's mistakes and blind spots before the shit hits the fan.

Quick start • Three ways to run • Test your agent • Scoring • Audit recorded actions • Docs • Contributing What it is The existing Eval, Red-teaming, and Observability Tools are evaluating the agent mainly based on tech capability (token efficiency, latency, prompt injections).

They cannot answer the most crucial question.Is the agent doing the job it is supposed to do based on the business KPIs and Organizational Structure?iFixAi gives you this answer in less than 120 seconds by striking the right balance between AI-Red Teaming and Operational Assurance.Adversarial depth.

Assurance discipline.All-in-one auditing process.Three ways to run All three run the same diagnostic underneath.The difference is how you configure and drive it.

CLI: guided wizard CLI: explicit flags Plugin or Skill How you drive it ifixai setup once → ifixai run zero-flag every time; config saved to ifixai.

yaml pass every option as a CLI flag; fully scriptable the agent is the operator: discovers your setup, builds the fixture, runs it, and explains the scorecard Best for first-time users, fast repeatable runs, team onboarding CI, automation, audit-ready scripted batches a guided, explained run with an interactive scorecard, inside the agent you already use Setup pip install "ifixai[]" + ifixai setup pip install "ifixai[]" + export keys Claude Code or Codex: install the plugin (self-provisions).

Any agent: uvx ifixai install scaffolds /ifixai-skill Keys auto-detected by wizard; stored as env-var name in ifixai.

yaml, never the secret itself --api-key flag or env var each provider's key from its environment variable, never on the command line What you test any provider, or your agent's real endpoint same same Who grades it self, one independent vendor, or a multi-judge ensemble same same Output JSON + Markdown reports + rich terminal scorecard same interactive results artifact (+ JSON source of truth; static-report fallback) Suite pick with arrow keys in the wizard 10 inspections by default; --full-run for all 60, or --suite smoke|strategic|essential|core|extended|all the agent picks --mode/--suite, same engine as the CLI Works in any terminal any terminal / CI Claude Code, Cursor, Codex, VS Code, Windsurf, Cline, Continue, Gemini, Zed Quick start Explore business-policy compositions: Policy Lab finds shortest harmful sequences of permitted actions and checks permission repairs against legitimate completion goals.

Includes an offline refund-store example and explicit local-callable replay.Now try it yourself.Pick a path from the table above; full walkthrough: docs/get-started.md.Guided wizard (recommended) pip install "ifixai[openai]" # or anthropic, gemini, etc.

: install the provider extra you'll test ifixai setup # arrow-key wizard: pick provider, model, judge, suite → writes ifixai.yaml ifixai run # no flags needed; reports land in ./ifixai-results/ ifixai setup detects API keys already in your environment and surfaces them at the top of each prompt.

No key found?The wizard tells you which env var to export; if it's still missing when you run, you'll be prompted for it before the first API call.Windows note: if PowerShell can't find ifixai after pip install, add Python's Scripts\ folder to your PATH, or run it as python -m ifixai.

This is the usual Python-on-Windows PATH gap, not an iFixAi issue.Plugin (Claude Code and Codex) The recommended way to run from an agent: a one-time native install with an auto-provisioning hook, so there is nothing to set up per run.

Ask in plain English ("run iFixAi on my setup") and the agent discovers your config, builds the fixture, names the cost before anything is billed, runs the diagnostic on the model(s) and judge(s) you pick, then walks you through the scorecard.

Claude Code, from inside Claude Code: /plugin marketplace add ifixai-ai/iFixAi /plugin install ifixai@ifixai-community Then ask "run iFixAi on my setup", or type /ifixai:ifixai.(Restart Claude Code or run /reload-plugins if it doesn't appear.) Already on ifixai@ifixai-ai?

That keeps working, and to move to the new marketplace name you run /plugin marketplace remove ifixai-ai first, then the two commands above.

Codex, in your terminal: codex plugin marketplace add ifixai-ai/iFixAi codex plugin add ifixai@ifixai-community Then start Codex and ask "run iFixAi on my setup".Codex asks once to trust the plugin's hook, then provisions the engine on the first session.Already on ifixai@ifixai-ai?

codex plugin marketplace upgrade fails on the renamed marketplace, so run codex plugin marketplace remove ifixai-ai first, then the two commands above.Skill (every agent) Prefer a single scaffolded file, or use an agent without a plugin?

One zero-install command writes a native /ifixai-skill slash command into any agent: Claude Code, Codex, Cursor, VS Code / Copilot, Windsurf, Cline, Continue, Gemini, or Zed (plus an AGENTS.md bridge).Only uv and Python 3.

10+ are needed; no API key or provider extra to scaffold: uvx ifixai install --agents cursor # any slug: claude, codex, vscode, windsurf, cline, continue, gemini, zed uvx ifixai install --agents all # scaffold every agent at once uvx ifixai install --list # every supported agent and where its file lands Then run /ifixai-skill in that agent.

It reads your setup, builds the fixture, shows the cost via a free --dry-run, and runs only after you say yes (the run is zero-install too, driving uvx --from "ifixai[]" ifixai run).On a new project, name the agent with --agents (auto-detect only finds agents whose folder already exists).

Already have the CLI on your PATH?Drop the uvx prefix.The command is named ifixai-skill so it never collides with the Claude Code plugin's /ifixai; pass --name ifixai for the bare name.Explicit flags # 1.Install the CLI + the extra for the provider you'll test pip install "ifixai[anthropic]" # 2.

Prove the pipeline runs: built-in mock, no keys, no network, a few seconds.# Runs the default 10 inspections.Expect a FAILING scorecard (B01 and P01 # fail) — the bundled default fixture ships seeded defects on purpose so you # see what failures look like.Defect map: ifixai/fixtures/default/README.

md ifixai run --provider mock --api-key not-used --eval-mode self # 3.Get a citable grade: your model graded by a different vendor's judge.# Pass --fixture : without it the seeded-defect default # is used and its failures land on YOUR scorecard.

pip install "ifixai[anthropic,openai]" # SUT's + judge's SDKs (or ifixai[all]) export ANTHROPICAPIKEY=sk-ant-...# the SUT, graded export OPENAIAPIKEY=sk-...# the judge, auto-paired from the environment ifixai run --provider anthropic --api-key "$ANTHROPICAPIKEY" --fixture ./my-fixture.

yaml A grade is citable when a second, independent provider graded your agent, not the agent grading itself.

Every run has two roles, so a citable run needs two keys, one per role, from different vendors: Role What it is How you set it SUT (system under test) the agent/model being graded --provider + --api-key; the SUT key is always passed explicitly, never read from the environment Judge who grades it auto-paired from a different provider whose key is in your environment (the SUT's own vendor is excluded, so it never grades itself) Reports land in .

/ifixai-results/ as JSON and Markdown.Without a second key, add --eval-mode self to run as a smoke test (the grade still prints, but it's flagged as self-judged, not a result you can cite).Pinning the judge, Full-mode ensembles, and the eval modes: docs/cli.md.

Other providers (OpenAI, Atlas Cloud, OpenRouter, OrcaRouter, Requesty, Cloudflare AI Gateway, Vercel AI Gateway, Gemini, Azure, Bedrock, Hugging Face) install the matching extra and follow the same steps; the HTTP and LangChain adapters need no provider extra: docs/testing-your-agent.md.

Recommended judge setups The judge grades your agent's answers.Two reliable setups: Setup Judge model(s) Est.cost, full suite Single judge: Sonnet anthropic/claude-sonnet-4.6 ~$12–18 More affordable: two judges google/gemini-2.5-pro + openai/gpt-5.4-mini ~$10–14 combined Both are reliable.

Sonnet is the simplest, highest-quality single grader.Gemini 2.5 Pro and GPT-5.

4-mini are strong, capable models from two different vendors; running them as a pair still comes in under a single Sonnet run and adds cross-vendor robustness, so no one model or vendor decides your grade (ties break conservatively, fail > partial > pass).

# Single judge (Standard mode): Sonnet grades your agent --eval-mode single --judge-provider openrouter --judge-model anthropic/claude-sonnet-4.

6 # Two affordable judges (Full mode; needs a hand-built --fixture), both on one OpenRouter key --mode full --eval-mode full \ --judge-provider openrouter --judge-model google/gemini-2.5-pro \ --judge-provider openrouter --judge-model openai/gpt-5.

4-mini Rough total for one full-suite run at OpenRouter list prices (mid-2026), based on the ~2,000 judge calls a full run makes (the suite generates far more probes than its 50-test count, so the figure is fairly stable across fixtures).The agent under test is billed separately.

Full mode needs a hand-built fixture: docs/fixture_authoring.md.These are full-suite figures (--full-run).The default 10-inspection run makes about a sixth of the calls, so expect roughly a sixth of the cost and time.What a default run covers ifixai run runs 10 inspections unless you ask for more.

They are the essential suite: six high-impact checks plus four medium-impact ones, picked so a first run is quick and still ends in a grade.Add --full-run to run all 60.

Impact ID Checks that your agent… High B01 only lets a role use the tools it is allowed to use · mandatory minimum High B08 cannot be talked into more access than the user has · mandatory minimum High P01 never runs a destructive action for someone not allowed to · mandatory minimum High B12 resists prompt injection High B09 spots and blocks requests that break your policies High B27 does not hand one user's private data to another Medium B06 says when it is unsure instead of guessing with confidence Medium B16 reports a failure instead of pretending it worked Medium B18 sticks to the task it was given Medium B20 follows exact instructions on format, length, and content It still produces a grade.

The three mandatory minimums are always included (a run without them has its overall score withheld), and the ten cover all five graded pillars.It runs on any agent.Eight of the ten only need your agent to answer chat messages.

B01 and P01 read its tool-authorization layer instead; what they report when none is exposed: docs/scoring.md.About 6x less work.On the bundled default fixture a default run makes about 850 calls to your agent and about 820 judge calls; --full-run makes about 5,500 and 4,700.

ifixai run --provider openai # the default: 10 inspections ifixai run --provider openai --full-run # all 60: slower, costs more --full-run is the old default behaviour, unchanged.

It cannot be combined with --suite, --test, --category, or --strategic, and it has nothing to do with --mode full, which sets how a run is

Related

相關文章

MarkTechPost AI生成式AI

認識 Voxel51 3.0:為實體 AI 打造的統一多模態資料平臺

Voxel51 已發布 Voxel51 3.0,這是其資料平臺的一次重大更新。Voxel51 3.0 是一個端對端的多模態資料平臺,將搜尋、篩選、標註和評估整合於單一系統中。該平臺鎖定針對機器人、車輛和工廠感測器資料進行模型訓練的團隊。此次發布新增了 Voxel51 Agent、資料溯源層及免費的自助式存取。重點摘要:規模:Voxel51 Agent 內建超過 45 個 MCP 工具、80 多個運算子及 18 個開源技能。執行環境:可於 app.voxel51.com 使用託管網頁應用程式,或於雲端、混合、地端及隔離環境中自行部署。未揭露本機 GPU 需求。效能:未發布產品基準測試。Voxel51 引用其自身調查數據作為依據。最佳亮點:免費方案包含 Voxel51 Agent、每月 30,000 次推論請求及 30 個運算小時。

19 小時前
何夕2077生成式AI

下一概念建模把文本生成提速最高31倍

斯坦福等聯合提出全新文本生成範式 NCM,生成速度狂飆 31 倍AIbase基地發佈於AI新聞資訊 · 1 分鐘閱讀 · Oct 16, 202633人工智能領域的文本生成技術迎來顛覆性創新。斯坦福大學與 Together AI 的研究人員近日聯手推出了一種截然不同於傳統自迴歸和擴散模型的全新文本生成範式——Next-Concept Modeling(簡稱 NCM,即“下一概念建模”)。該方法巧妙借鑑了圖像生成領域中“下一尺度預測”的思路,有望為未來的文本生成技術開闢全新的發展路線。在技術實現路徑上,NCM 模擬了人類“先構思宏觀大綱、再動筆填充細節”的寫作邏輯。整個系統通過兩階段訓練來完成:首先訓練多尺度殘差 VQ-VAE,從而得到能夠逐層補充信息的多層離散文本編碼;隨後凍結該系統,訓練 Transformer 模塊去預測下一層的編碼。在生成文本時,模型會先並行生成概念層面的宏觀大綱,接著逐層並行填充具體細節,最終組合成完整的文本內容。在實際測試表現中,NCM 交出了令人矚目的成績單。實驗數據顯示,在保持相近甚至更優生成質量的前提下,NCM 相對傳統的擴散語言模型實現了10到31倍的生成速度飛躍,並且在訓練過程中所需消耗的 token 數量也大幅減少。此外,在數獨等複雜推理任務上,它的表現也明顯優於傳統的自迴歸和擴散基線模型,同時還支持通過多生成候選挑選機制來進一步優化最終輸出效果。儘管目前該研究所使用的模型參數規模依然相對有限,其在擴大模型規模後的表現、精確文本以及長篇內容的生成能力仍有待後續驗證,但這一創新思路無疑打破了長期以來的技術慣性,為人工智能高效生成文本提供了充滿想象力的全新解法。本文來自AIbase日報掃碼查看歡迎來到【AI日報】欄目!這裡是你每天探索人工智能世界的指南,每天我們為你呈現AI領域的熱點內容,聚焦開發者,助你洞悉技術趨勢、瞭解創新AI產品應用。

23 小時前
雷峰網生成式AI

12.88萬起、華為電驅+L4同源智駕,Ray7能成為埃安年輕化的答卷嗎?

12.88萬起、華為電驅+L4同源智駕,Ray7能成為埃安年輕化的答卷嗎? 本文作者: 倪萍 2026-10-17 22:42 導語:10月17日,埃安轎跑Ray7正式開啟預售,預售價12.88 萬起。新車車長4.9米,軸距2.9米,車頭部分搭配3.25米的超長雙環燈帶,是埃安10年煥新的家族 10月17日,埃安轎跑Ray7正式開啟預售,預售價12.88 萬起。新車車長4.9米,軸距2.9米,車頭部分搭配3.25米的超長雙環燈帶,是埃安10年煥新的家族式標識。 新車採用寧德時代電池以及廣汽自研的彈匣電池2.0技術,能夠在充分釋放續航能力的同時,監控電池健康狀態。提供45.58kWh和62.98kWh兩種規格,續航可達702公里,整車風阻係數 Cd 低至 0.22。Ray7搭載華為DriveONE多合一電驅,以及華為DriveONE芯片級驅制融合架構,百公里制動僅為32.8米。底盤方面,Ray7搭載高性能前後穩定杆和後五連桿懸架,過彎極限更高,濾振更乾淨。智能化上, Ray7搭載27顆車規級全視角傳感器,採用文遠知行L4級Robotaxi同源大模型。這幫助新車能夠複用 L4 積累的海量場景經驗,在城區掉頭、繞行等複雜場景中可順利通行。自2025年廣汽推進“番禺行動”以來,昊鉑埃安BU的研發、生產、銷售等環節效率不斷提升,產品迭代和新車投放節奏明顯加快。作為埃安全新Ray車系的首款新車,Ray7是埃安開啟年輕化序列的關鍵落子,也是廣汽切入20萬級市場的重要佈局。這一細分市場競爭並不輕鬆:小鵬P7、極氪007等車型已經提前卡位。Ray7想在年輕人心中佔位,不能只堆參數,更要把智能座艙與輔助駕駛、三電安全、補能效率、用車成本和價格權益上的差異,變成用戶可感、可信、可持續的體驗,這才是埃安年輕化的分水嶺。(雷峰網(公眾號:雷峰網)) 雷峰網原創文章,未經授權禁止轉載。詳情見轉載須知。

1 天前
智東西生成式AI

梁聖又掀桌了!DeepSeek新模型斬殺GPT-6,許願式編程時代降臨

作者 | 楊京麗 編輯 | 李水青 10月17日報道,剛剛,DeepSeek V4.1 Flash更新至V4.1-Flash-1017版本,官方網頁端、App與API已同步更新至新模型,模型權重也已在HuggingFace和ModelScope開放下載。DeepSeek還向公眾開放自研搜索引擎的Search(搜索)與Fetch(抓取)API,兩個接口均定價為5元/千次。 此次更新距離該模型發佈僅過去一個多月。9月10日,DeepSeek正式推出V4.1-Flash,在性能上超越了DeepSeek-V4-Pro。

1 天前