The Preparation Layer for AI Agents
Claude Code with YuhiOpen Source

Prepare your workspace.
Let AI agents work better.

Yuhi 在 AI Agent 开始工作前,先在本地理解你的项目并准备好所需的上下文,帮助 Claude Code 更高效地工作。

更少的探索,更好的理解,更安全的 Agent 运行——敏感信息始终保留在本机。

Understand · Prepare · Protect

npx @yuhi-ai-labs/yuhi prepare
Open Source · Local-first · Available — Beta
yuhi status → preview → prepare — Repository Ready in one command
Why preparation matters

为什么准备很重要。

仓库中混杂着代码、文档、生成文件、凭据、草稿和重复的上下文。先准备好工作区,Claude Code 才能工作得更好。

How it works

理解。准备。交接。开始工作。

Yuhi 在你的 Agent 之前运行——Claude Code 不再从零探索,而是从已准备好的上下文开始。

01
Understand

Yuhi 在本地分析你的工作区。

02
Prepare

生成上下文、摘要与安全副本。

03
Handoff

为 AI Agent 生成交接说明。

04
Work

Claude Code 从更好的上下文开始工作。

Visual Studio Code — my-project
▢
⌕
⑂
▷
Explorer
▸ src
▸ docs
▾ .yuhi / context
document-index.md
summaries /
AGENT_HANDOFF.md
YUHI · Preparation 就绪
✓ 已理解 — 142 个文件 / 6 份文档
✓ 已准备 — 上下文 + 本地摘要
✓ 交接就绪 — AGENT_HANDOFF.md
已生成上下文 → .yuhi/context/
▷ Start Claude Code

在 VS Code 扩展中运行——检查准备好的上下文,然后启动 Claude Code。

Before / After

Claude Code,前后对比。

Before

Claude Code 从零开始

它需要先探索仓库、搜索文档,并在无关文件上消耗上下文,才能开始帮忙。

With Yuhi

Claude Code 从已准备好的上下文开始

  • ✓ 项目理解
  • ✓ 文档上下文
  • ✓ 敏感信息处理
  • ✓ Agent 交接
Repository Ready · v0.3

Repository Ready —— Claude Code 更快。

See how much of your repository your AI actually needs. — v0.3 把准备的结果变成「AI Readiness Score」,可直接贴进 README、PR 或分享,让 Claude Code 更快启动。

Repository Ready example
91/ 100AI Readiness Score
✓ Secrets blocked★★★★★
✓ Documents prepared★★★★☆
✓ Repository structure★★★★★
✓ Context reduction94%
5,224 files → 317 AI-ready artifacts · 18 secrets blocked · 42 documents prepared
✓ Claude Code Ready

在 v0.3 中,每次准备都会留下一个 Repository Ready 分数。无论在 GitHub、VS Code 还是 npm,一眼即可看懂价值,也便于分享。

AI Ready92 / 100
terminal--format markdown--format json--format svg
# .github/workflows — 每个 PR 评论 Repository Ready
- uses: yuhi-ai-labs/prepare@v1
# → Repository Ready 88/100

图中分数、数值与徽章仅为示例。public-safe(匿名)导出计划在 v0.3 提供 — 共享报告中不包含文件名、路径与敏感信息。

Intelligent Preparation · v0.2.4

文档不只是被附加,而是被理解。

Yuhi 在本地检查 PDF、Markdown、文本和项目文档,然后构建一个 Agent 可读取的上下文文件夹。

.yuhi/context/
├── document-index.md
├── summaries/
└── AGENT_HANDOFF.md

PDF inspection · OCR · Local summaries · Context generation

Roadmap

Yuhi 的下一步。

v0.2 — 已发布

Secure Preparation Layer

Shipped
  • 本地优先处理
  • 敏感数据处理
  • Agent 变更审查
  • 文档准备与检查(PDF / DOCX / PPTX)
v0.4

Task Ready


计划中 · Planned
  • Task Context
  • 相关文件选择
  • Repo Map
  • Claude Code 加速
v0.5

Agent Ready


计划中 · Planned
  • 多 Agent 支持
  • OpenCode
  • Aider
  • Gemini CLI
Product Vision

先从本地开始。未来,走向日本国内的基础设施。

Yuhi 是同一个平台,提供两种运行形态。相同的策略与流程,既可在本地设备上运行,也可在国内云上运行。

Available now

Yuhi Local

Open source / On-device

在个人电脑或内部环境中运行的开源版本。使用 Ollama 和本地模型,在设备内准备文档和代码。

same policy
& workflow
→
Future vision

Yuhi Cloud Japan

Managed / Japan region / Team

一项未来的托管服务,将与 Yuhi Local 相同的策略在日本国内的云环境中大规模运行。通过准备模型在国内整理上下文,只把必要的信息交给 Claude。

Start locally. Scale securely in Japan.
先从本地开始。未来,走向日本国内的基础设施。
Available now

现在即可使用的 Yuhi Local

Context preview
Per-file routing
机密与敏感信息扫描
假名化与脱敏
生成已准备的工作区
不修改原始文件
无需账号
无遥测
$ npx @yuhi-ai-labs/yuhi preview # 查看将交给 AI 的上下文
$ npx @yuhi-ai-labs/yuhi run claude # 使用已准备的上下文运行
Research

在模型之前,先研究上下文。

生成式 AI 的安全性与实用性,并不仅仅取决于使用哪个模型。选择什么、把什么留在设备内、把什么进行转换、发送多少——以及,人能否确认最终结果。

YUHI AI Labs 从开源与研究两个方面开发这套"上下文准备"。

Safe context reductionInformation retentionToken efficiencyPrivacy-aware orchestrationLocal & frontier collaboration

未来,我们还希望发布专注于日语文档整理与安全性评估的 Yuhi preparation model。

不把所有内容都交给 Claude。

立即试用 Yuhi Local。