mcpField
A
Axis Iliad - Codebase Intelligence For Agentic Commerce

Axis Iliad - Codebase Intelligence For Agentic Commerce

远程服务
api.iliad.trustfabric.ai开发工具02 天前更新

关于 Axis Iliad - Codebase Intelligence For Agentic Commerce

Axis' Iliad 是面向 Agent 的代码库分析与结构化产物服务,适用于希望为编码 Agent 提供项目上下文和工作材料的团队。一次分析可生成多类产物,并通过自驱动循环帮助 Agent 按队列推进和验证工作。

主要功能

  1. 01分析代码库并生成结构化产物
  2. 02生成上下文图与架构摘要
  3. 03提供技能、调试和工作流材料
  4. 04生成 begin 与 continuation 控制文件
  5. 05提供 Agentic Purchasing 决策工具

适用场景

  1. 01帮助 Agent 熟悉代码库
  2. 02准备调试和生产事故材料
  3. 03为项目生成可执行的工作材料
  4. 04探索 Agentic Purchasing 需求

MCP 相关

该服务在 Streamable HTTP MCP 端点提供工具,用于代码库分析、产物发现及 Agentic Purchasing 准备;部分能力需 API 密钥,部分付费工具会产生费用。

配置

远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。

服务地址https://api.iliad.trustfabric.ai/mcp
一键复制安装命令
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。

全部服务地址
Streamable HTTPhttps://api.iliad.trustfabric.ai/mcp需要授权

工具

44
参数类型必填说明
github_urlstring是GitHub 仓库 URL(https://github.com/owner/repo)

详细介绍

Axis' Iliad

Axis' Iliad — 这部现代史诗,将原始代码库塑造成规范化、可供 Agent 使用的产物。Axis' Iliad 为下一代自然语言工作区开发奠定权威基础。

规范名称: Axis' Iliad。请在文档、注册表和集成中统一使用此名称。

Tests Coverage Website API Version License AXIS-iliad MCP server


AXIS 生态系统

Iliad 是 Trust Fabric 技术栈中的 x402 展示项目。完整注册表:packages/generator-core/src/estate-registry.ts,通过 GET /.well-known/axis-estate.json 实时提供(取代已于 2026-08-22 停用的 ecosystem.registry.yaml——参见 docs/ESTATE_FEDERATION_STRATEGY.md)。

项目角色x402
Axis' Iliad(本仓库)Agent 产物 + MCP 网关已接入 — @axis/mpp
PAID多通道支付 + 结算结算层(计划采用 Go x402)
AXIS Foundry3D 流水线 + MCP部分接入
Trust Fabric合规审计、修复 + Trust Passport计划中

x402 合约:docs/x402/CONTRACT.md


30 秒内试用 — 无需注册

每个程序都提供免费的产物,无需 API 密钥——总计 152 个产物中的 47 个。其中 3 个程序完全免费:

# 1. Get an API key (free tier, instant)
curl -X POST https://api.iliad.trustfabric.ai/v1/accounts \
  -H 'Content-Type: application/json' \
  -d '{"email":"[email protected]","name":"My Agent","tier":"free"}'

# 2. Analyze any public GitHub repo
curl -X POST https://api.iliad.trustfabric.ai/v1/github/analyze \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{"url":"https://github.com/owner/repo","programs":["search","skills","debug"]}'

# 3. Download the generated artifacts as a ZIP
curl https://api.iliad.trustfabric.ai/v1/projects/PROJECT_ID/export \
  -H 'Authorization: Bearer YOUR_API_KEY' -o artifacts.zip

免费层包括: 覆盖全部 21 个程序的 47 个产物——Search(上下文映射)、Skills(AGENTS.md、CLAUDE.md、.cursorrules)和 Debug(操作手册、事件模板)全部免费,此外还包括其他每个程序的主要产物(设计令牌、Dockerfile、MCP 配置、品牌指南等)。付费后可解锁每个程序的其余产物。


你将获得什么

一次扫描 → 数秒内即可获得 21 个程序生成的 152 项成果:

你需要什么程序主要输出
帮助新的 AI Agent 熟悉项目Search (免费)context-map.json、repo-profile.yaml、architecture-summary.md
为任何大模型提供代码库上下文Skills (免费)AGENTS.md、CLAUDE.md、.cursorrules、workflow-pack.md
调试生产环境事故Debug (免费)debug-playbook.md、tracing-rules.md、root-cause-checklist.md
审查你的 UIFrontendfrontend-rules.md、ui-audit.md、component-guidelines.md
修复搜索排名SEOseo-rules.md、meta-tag-audit.json、schema-recommendations.json
降低大模型成本Optimizationoptimization-rules.md、cost-estimate.json、token-budget-plan.md
发布设计系统Themedesign-tokens.json、theme.css、dark-mode-tokens.json
统一品牌语调Brandbrand-guidelines.md、voice-and-tone.md、messaging-system.yaml
自动化开发工作流Superpowerssuperpower-pack.md、workflow-registry.json、automation-pipeline.yaml
发起营销活动Marketingcampaign-brief.md、funnel-map.md、ab-test-plan.md
构建数据/研究工具Notebooknotebook-summary.md、research-threads.md、source-map.json
管理知识库Obsidianobsidian-skill-pack.md、vault-rules.md、graph-prompt-map.json
连接 AI 工具(MCP)MCPmcp-config.json、mcp-registry-metadata.json、protocol-spec.md、spec.types.ts、mcp/README.md、mcp/project-setup.md、mcp/build-artifacts.md、mcp/package-json.root.template.json、mcp/package-json.package.template.json、mcp/tsconfig.root.template.json、mcp/tsconfig.package.template.json、mcp/monorepo-structure.md、mcp/core-implementation-artifacts.md、mcp/testing-documentation-polish-artifacts.md、mcp/fintech-mcp-surface-package.md、mcp/fintech-domain-schema.yaml、connector-map.yaml、capability-registry.json、server-manifest.yaml
生成组件Artifactsgenerated-component.tsx、dashboard-widget.tsx、component-library.json
制作开发视频Remotionremotion-script.ts、scene-plan.md、storyboard.md
社交媒体与视觉素材Canvascanvas-spec.json、social-pack.md、poster-layouts.md
生成式艺术 / NFTAlgorithmicgenerative-sketch.ts、variation-matrix.json、parameter-pack.json
Agent 商务(Visa AP2)Agentic Purchasingagent-purchasing-playbook.md、checkout-flow.md、negotiation-rules.md
另有 begin 循环 — 交给 Agent 并输入 begin

每次分析都会融入一个自动驾驶控制循环,让 AI 编码 Agent 不只是理解工作,还能完成工作:

  • begin.yaml — 循环入口:推断出的目标、人机协同协议(负责人只需回答通俗易懂的产品问题)、行动选择算法,以及收敛式停止条件。
  • continuation.yaml — 循环状态:按顺序排列的全部成果步骤列表,以及根据分析结果预先填充的优先级候选队列(目标、检测到的缺口,以及在没有测试时使用的验证框架)。
  • 每个 Markdown 成果末尾都有 ⟳ Continue 页脚;最后一步会自我提示 begin,让循环回到 begin.yaml。

下载资料包(CLI、MCP 或完整资料包导出),交给 Agent 并输入 begin——它会处理队列、逐步验证,并在队列清空时停止(循环会收敛,不会失控)。负责人无需编写代码。

AXIS 在自身项目中也使用这套机制:此仓库根目录的 begin.yaml / continuation.yaml 就是我们实际使用的循环,同时也会通过 REST 原样提供,地址为 GET /begin.yaml / GET /continuation.yaml——因此,通过此 API 探索的 Agent 无需克隆仓库,也能发现同样的约定。


面向 AI Agent — MCP 集成

AXIS 提供位于 https://api.iliad.trustfabric.ai/mcp 的 Streamable HTTP MCP 服务。将它添加到你的 Agent 后,它便能自主分析任意代码仓库,或为 Agent 式采购做准备。

VS Code(.vscode/mcp.json):

{
  "servers": {
    "axis-iliad": {
      "type": "http",
      "url": "https://api.iliad.trustfabric.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Claude Desktop(claude_desktop_config.json):

{
  "mcpServers": {
    "axis-iliad": {
      "url": "https://api.iliad.trustfabric.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

免费 MCP 工具(无需身份验证):list_programs、search_and_discover_tools、get_install_manifest、discover_agentic_purchasing_needs、prepare_agentic_purchasing_preview、discover_estate_tools(AXIS 旗下的其他产品,包括支付、3D 生成等),以及确定性的商务决策引擎:sca_exemption_decision、grade_compliance、assemble_ce3_evidence、build_ap2_mandate、score_dispute_readiness(证据采集就绪度评估,而非争议胜诉预测)。还有五个标记为 estate 的计划能力存根(Foundry Wave-1;在 Iliad 托管的代理服务上线前,会明确重定向到 Foundry 自己的 MCP 端点):axis_validate、axis_inspect、axis_compare、axis_manifest_verify、roblox_compliance_check。get_referral_code、get_referral_credits 和 iliad_network_tokenization 也是免费的(不收费),但与上述工具不同,它们需要身份验证。ping_payment 并非免费:费用为 $0.01,可体验真实的 x402 支付流程,是目录中价格最低的付费调用。


定价

层级价格程序
免费$0所有 21 个程序中的 47 个构件(完整提供 Search、Skills、Debug)
专业版$3.00 / 次运行全部 21 个程序,共 152 个构件
Lite 模式$0.15–$0.25 / 次运行差距摘要,精简输出

预算协商:在任何付费调用中发送 X-Agent-Budget: {"budget_per_run_cents": 25} + X-Agent-Mode: lite。


自托管

系统要求
  • Node.js:≥ 20.x(建议使用 LTS)
  • pnpm:≥ 9.x
  • 操作系统:macOS 11+、Linux(任意发行版)或 Windows 10+
  • 内存:至少 4 GB(建议 8 GB)
  • 磁盘空间:依赖项和构建约需 2 GB
快速开始
# Prerequisites: Node.js ≥ 20, pnpm ≥ 9
git clone https://github.com/lastmanupinc-hub/axis-iliad.git
cd axis-iliad
pnpm install
pnpm build

# Start the API server (port 4000)
node apps/api/dist/server.js

# Start the web UI (port 5173)
cd apps/web && npx vite

# Or use the CLI directly
node apps/cli/dist/cli.js analyze .
node apps/cli/dist/cli.js github https://github.com/owner/repo
Docker
docker build -t axis-iliad .
docker run -p 4000:4000 axis-iliad

要求:Docker 20.10+ 或 Docker Desktop


架构

axis-iliad/
├── apps/
│   ├── api/          → Zero-dependency HTTP server (port 4000, 188 endpoints)
│   ├── cli/          → CLI tool: axis analyze <dir> | axis github <url>
│   └── web/          → Vite + React 19 SPA (dark theme, toast, command palette)
├── packages/
│   ├── snapshots/    → Snapshot intake, Postgres (Neon) persistence, billing, funnel
│   ├── repo-parser/  → Language detection (60+), framework detection (10), import graph
│   ├── context-engine/ → Context map builder, repo profile, route/architecture analysis
│   └── generator-core/ → 152 generators across 21 programs
└── vitest.config.ts  → Shared test config

Programs (21)

ProgramOutputsTier
Searchcontext-map.json, repo-profile.yaml, architecture-summary.md, dependency-hotspots.mdFree
SkillsAGENTS.md, CLAUDE.md, .cursorrules, workflow-pack.md, policy-pack.mdFree
Debugdebug-playbook.md, incident-template.md, tracing-rules.md, root-cause-checklist.mdFree
Frontendfrontend-rules.md, component-guidelines.md, layout-patterns.md, ui-audit.mdPro
SEOseo-rules.md, schema-recommendations.json, route-priority-map.md, content-audit.md, meta-tag-audit.jsonPro
Optimizationoptimization-rules.md, prompt-diff-report.md, cost-estimate.json, token-budget-plan.mdPro
Themedesign-tokens.json, theme.css, theme-guidelines.md, component-theme-map.json, dark-mode-tokens.jsonPro
Brandbrand-guidelines.md, voice-and-tone.md, content-constraints.md, messaging-system.yaml, channel-rulebook.mdPro
Superpowerssuperpower-pack.md, workflow-registry.json, test-generation-rules.md, refactor-checklist.md, automation-pipeline.yamlPro
Marketingcampaign-brief.md, funnel-map.md, sequence-pack.md, cro-playbook.md, ab-test-plan.mdPro
Notebooknotebook-summary.md, source-map.json, study-brief.md, research-threads.md, citation-index.jsonPro
Obsidianobsidian-skill-pack.md, vault-rules.md, graph-prompt-map.json, linking-policy.md, template-pack.mdPro
MCPmcp-config.json, mcp-registry-metadata.json, protocol-spec.md, connector-map.yaml, capability-registry.json, server-manifest.yamlPro
Artifactsgenerated-component.tsx, dashboard-widget.tsx, embed-snippet.ts, artifact-spec.md, component-library.jsonPro
Remotionremotion-script.ts, scene-plan.md, render-config.json, asset-checklist.md, storyboard.mdPro
Canvascanvas-spec.json, social-pack.md, poster-layouts.md, asset-guidelines.md, brand-board.mdPro
Algorithmicgenerative-sketch.ts, parameter-pack.json, collection-map.md, export-manifest.yaml, variation-matrix.jsonPro
Agentic Purchasingagent-purchasing-playbook.md, product-schema.json, checkout-flow.md, negotiation-rules.md, commerce-registry.jsonPro
Closerpackaging/README.md, Dockerfile, .github/workflows/ci.yml, packaging-report.md, DISTRIBUTABLE.md, MakefilePro
Deploydeploy/Dockerfile, deploy/render.yaml, deploy/deploy.sh, deploy/worker.ts, deploy-qualification-report.mdPro

API Endpoints

核心流水线
方法路径描述
POST/v1/snapshots上传仓库快照(multipart 文件上传)
POST/v1/github/analyze根据 GitHub URL 分析仓库
GET/v1/snapshots/:id获取快照元数据
GET/v1/projects/:project_id/snapshots列出项目的快照
POST/v1/search/export运行 search 程序
POST/v1/skills/generate运行 skills 程序
POST/v1/debug/analyze运行 debug 程序
POST/v1/frontend/audit运行 frontend 程序
POST/v1/seo/analyze运行 SEO 程序
POST/v1/optimization/analyze运行 optimization 程序
POST/v1/theme/generate运行 theme 程序
POST/v1/brand/generate运行 brand 程序
POST/v1/superpowers/generate运行 superpowers 程序
POST/v1/marketing/generate运行 marketing 程序
POST/v1/notebook/generate运行 notebook 程序
POST/v1/obsidian/analyze运行 obsidian 程序
POST/v1/mcp/provision运行 MCP 程序
POST/v1/artifacts/generate运行 artifacts 程序
POST/v1/remotion/generate运行 remotion 程序
POST/v1/canvas/generate运行 canvas 程序
POST/v1/algorithmic/generate运行 algorithmic 程序
POST/v1/agentic-purchasing/generate运行 agentic purchasing 程序
GET/v1/programs列出所有程序及其生成器数量
GET/v1/projects/:id/generated-files/:path下载单个生成文件
GET/v1/projects/:id/export下载生成文件的 ZIP 压缩包
计费与账户
方法路径描述
POST/v1/accounts创建账户
GET/v1/account获取账户信息
POST/v1/account/keys创建 API 密钥
GET/v1/account/keys列出 API 密钥
POST/v1/account/keys/:id/revoke撤销 API 密钥
GET/v1/account/usage获取用量统计
GET/v1/account/quota获取配额信息
POST/v1/account/tier更新计费层级
POST/v1/account/programs更新程序权益
POST/v1/account/github-token保存加密的 GitHub 令牌
GET/v1/account/github-token列出 GitHub 令牌
DELETE/v1/account/github-token/:token_id删除 GitHub 令牌
GET/v1/billing/history计费层级变更审计记录
GET/v1/billing/proration预览层级变更的按比例计费金额
转化漏斗与方案
方法路径描述
GET/v1/plans获取方案目录
POST/v1/account/seats邀请团队成员
GET/v1/account/seats列出团队席位
POST/v1/account/seats/:id/revoke撤销席位
GET/v1/account/upgrade-prompts获取情境化升级提示
GET/v1/account/funnel-status获取漏斗阶段
GET/v1/admin/funnel-metrics汇总漏斗分析数据
搜索与版本
方法路径描述
POST/v1/search/index为快照内容建立全文搜索索引
POST/v1/search/query在已索引内容中进行全文搜索
GET/v1/search/:id/stats搜索索引统计信息
GET/v1/snapshots/:id/versions列出生成版本
GET/v1/snapshots/:id/versions/:num获取包含文件的指定版本
GET/v1/snapshots/:id/diff?old=N&new=M比较两个版本的差异
Webhook
方法路径描述
POST/v1/account/webhooks创建 webhook
GET/v1/account/webhooks列出 webhook
DELETE/v1/account/webhooks/:id删除 webhook
POST/v1/account/webhooks/:id/toggle切换 webhook 的启用或禁用状态
GET/v1/account/webhooks/:id/deliveries列出投递尝试
基础设施
方法路径描述
GET/v1/health健康检查
GET/v1/health/live存活探针
GET/v1/health/ready就绪探针(数据库连接)
GET/v1/metricsPrometheus 风格的指标
GET/v1/db/stats数据库统计信息
POST/v1/db/maintenance数据库维护(清理、WAL 检查点)
GET/v1/docsOpenAPI 3.1 规范
GET/v1/admin/stats全系统统计信息
GET/v1/admin/accounts管理员:列出所有账户
GET/v1/admin/activity管理员:近期活动动态

输入方式

  1. 文件上传 — 通过 multipart 请求体 POST /v1/snapshots
  2. GitHub URL — 使用 { "url": "https://github.com/..." } POST /v1/github/analyze
  3. CLI(本地) — axis analyze <directory> 扫描本地文件
  4. CLI(远程) — axis github <url> 从 GitHub 获取内容

技术栈

  • 运行时:Node.js 20+、TypeScript 5.7 strict
  • 后端:零依赖自定义 HTTP 路由器、Neon Postgres(pg,异步连接池)
  • 前端:Vite 6 + React 19、CSS 设计系统(深色主题)
  • 测试:Vitest 4 — 约 190 个文件中的约 4,900 项测试,使用 Postgres 16 运行
  • 基准测试:Vitest 基准测试框架(packages/repo-parser/src/perf.bench.ts、npx vitest bench)在 200 个文件的规模下测试 parseRepo;此处未指定具体延迟数值——本仓库自身的诚信政策(参见 packages/generator-core/src/perf-compliance.test.ts)禁止引用未经已签入的机器生成结果文件佐证的性能数据,而此基准测试目前还没有此类文件。7 个 agentic-purchasing 引擎则有此类文件:packages/generator-core/perf-results.json(通过 pnpm bench:compliance 重新生成)。
  • 构建:pnpm 工作区,每个包使用 tsc
  • CI:GitHub Actions(Node 20/22 矩阵、覆盖率、依赖审计、Docker 构建)

开发

pnpm install          # Install all dependencies
pnpm build            # Build all packages + apps
pnpm test             # Run all tests
npx vitest run        # Run tests directly
npx vitest bench      # Run performance benchmarks
npx vitest --coverage # Run tests with coverage report

有关如何添加生成器、端点或程序,请参阅 CONTRIBUTING.md。

输入方式

方法方式
GitHub URL使用 {"url":"https://github.com/..."} 调用 POST /v1/github/analyze
文件上传POST /v1/snapshots multipart 请求体
CLI(本地)axis analyze <directory>
CLI(远程)axis github <url>
MCPtools/call → analyze_repo 或 analyze_files

网站:https://iliad.trustfabric.ai · 在线 API:https://api.iliad.trustfabric.ai · 文档:https://api.iliad.trustfabric.ai/v1/docs · MCP:https://api.iliad.trustfabric.ai/mcp

许可证

私有。保留所有权利。

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。