Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Procedure verification for AR/XR with memory, visual sessions, and DPO trajectory export.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
ANTHROPIC_API_KEY, OPENEYE_CONTEXT_OPTIN, OPENEYE_CONTEXT_API_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"openeye": {
"command": "npx",
"args": [
"-y",
"@dumbspacecookie/openeye"
],
"env": {
"ANTHROPIC_API_KEY": "your-value",
"OPENEYE_CONTEXT_OPTIN": "your-value",
"OPENEYE_CONTEXT_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add openeye --env ANTHROPIC_API_KEY=your-value --env OPENEYE_CONTEXT_OPTIN=your-value --env OPENEYE_CONTEXT_API_KEY=your-value -- npx -y @dumbspacecookie/openeye运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"openeye": {
"command": "npx",
"args": [
"-y",
"@dumbspacecookie/openeye"
],
"env": {
"ANTHROPIC_API_KEY": "your-value",
"OPENEYE_CONTEXT_OPTIN": "your-value",
"OPENEYE_CONTEXT_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"openeye": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dumbspacecookie/openeye"
],
"env": {
"ANTHROPIC_API_KEY": "your-value",
"OPENEYE_CONTEXT_OPTIN": "your-value",
"OPENEYE_CONTEXT_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
OPENEYE_CONTEXT_OPTIN env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 dumbspacecookie 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:ANTHROPIC_API_KEY, OPENEYE_CONTEXT_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.1)于6个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
alpha software. interfaces may change. file issues at
github.com/dumbspacecookie/openeye.
every AR headset maker — HoloLens, Snap Spectacles, Apple, Android — ships a device that can see. none of them ship a brain. every developer building on these platforms has to figure out the intelligence layer themselves, from scratch, every time, for every device. the work doesn't compound. what one team learns on HoloLens doesn't help the team building on WebXR. every deployment is a silo.
OpenEye is the shared brain.
a thin piece of software sits on the device, captures what the camera sees, and turns it into a natural-language description of the scene. that description goes to OpenEye. OpenEye runs an AI agent with tools for verifying procedure steps, recalling prior sessions, and writing down what it learns. each session becomes structured memory the agent can search later, and an exportable training trajectory you can fine-tune on.
OpenEye doesn't ship a vision model — you bring your own. drop in Claude vision, GPT-4o, Gemini, Groq Llama vision, or a local Ollama model with moondream/llava. a working reference adapter for both cloud and local is in examples/vision-adapter/.
npm install @dumbspacecookie/openeye
pip install -r node_modules/@dumbspacecookie/openeye/sidecar/requirements.txt
the Python sidecar (FastAPI + SQLite) handles state and auto-spawns when you create an agent — you don't have to start it yourself.
prefer to hack on it locally? clone instead:
git clone https://github.com/dumbspacecookie/openeye.git
cd openeye && npm install && npm run build pip install -r sidecar/requirements.txt
import { OpenEyeAgent, setupProviders, makeStreamFn, ANTHROPIC_SONNET } from "@dumbspacecookie/openeye";
import { describeFrameWithClaude } from "./examples/vision-adapter/claude-vision-adapter.js"; import * as fs from "node:fs";
setupProviders();
const agent = await OpenEyeAgent.create({ model: ANTHROPIC_SONNET, streamFn: makeStreamFn(), systemPrompt: "You are a procedure assistant. Verify steps with precision.", tenantId: "your-org", });
const vsId = await agent.client.createVisualSession({ deviceType: "android-tablet", procedureId: "bolt-assembly-v1", procedureName: "M6 Bolt Assembly", });
// 1. vision adapter (you bring this) turns a camera frame into text const frameBytes = fs.readFileSync("./frame.jpg"); const description = await describeFrameWithClaude( frameBytes, "Operator is installing an M6 bolt. Describe hand position, tool, and bolt state.", );
// 2. OpenEye logs the description and lets the agent verify the step const frameId = await agent.client.logFrame({ visualSessionId: vsId!, sequenceNum: 1, sceneDescription: description, stepContext: "step-1-position-bracket", });
await agent.prompt(Frame 1: ${description}\nVerify step-1-position-bracket.);
await agent.client.endVisualSession(vsId!, "completed"); await agent.captureAndClose({ completed: true, visualSessionId: vsId! });
no API key for the agent? run it locally with Ollama:
ollama pull llama3.3
import { ollamaModel } from "@dumbspacecookie/openeye";
const agent = await OpenEyeAgent.create({ model: ollamaModel("llama3.3"), streamFn: makeStreamFn() });
| capability | OpenEye |
|---|---|
| agent runtime + tool calling | yes |
| persistent session memory (FTS5) | yes |
| visual frame logging + search | yes |
| step verification with pass/fail/uncertain outcomes | yes |
| training data export (ShareGPT JSONL) | yes |
| DPO preference pair export | yes |
| HuggingFace dataset push | yes |
| MCP server (Claude Desktop, Cursor) | yes |
| reference vision adapters (Claude + Ollama) | yes |
| vision model | no — you bring this |
| hosted cloud | no — bring your own ingest endpoint (contract) |
what makes this useful is the loop: a session generates pass/fail outcomes against real procedure steps, those outcomes become a reward signal, and the full conversation gets packaged as a ShareGPT trajectory ready for DPO training in TRL, LLaMA-Factory, or Axolotl. you supply the fine-tuning pipeline — OpenEye supplies the data.
when a frame arrives from a device, your vision adapter describes it in plain language. that description goes to the AI agent. the agent has access to a set of tools:
| tool | what it does |
|---|---|
search_memory | FTS5 search across all past agent sessions |
search_frames | FTS5 search across all past frame descriptions |
recall_skill | retrieve relevant procedural skills for the current task |
write_skill | persist a new skill doc after completing a complex task |
start_visual_session | begin a tracked AR/XR session |
end_visual_session | close a visual session |
log_frame | record a frame's scene description |
verify_step | record a step result — pass / fail / uncertain |
step verifications become the reward signal: reward = (passes + 0.5 × uncertain) / total. at the end of a session the whole conversation gets packaged into a ShareGPT trajectory, ready for any DPO-compatible trainer.
important: the reward signal reflects the agent's own judgments against scene descriptions, not external ground truth. to use this as real RL data, you should periodically validate trajectories against a human-labeled subset, or use it as supervised data rather than treating it as objective truth. fine-tuning on this raw signal alone risks training the model to be confidently wrong.
lead use cases (production-ready):
manufacturing & assembly — bolt installation verification, equipment pre-operation checks, assembly sequence compliance, visual QC at line stations. android tablet or AR overlay over the work area. low regulatory burden, B2B procurement appetite.
training & onboarding — any procedure where a trainee needs a second set of eyes that remembers everything it's ever seen. apprentice mechanics, new line operators, lab technicians. mistakes during training don't cost much, which makes this the safest first deployment.
field service & inspection — lockout/tagout compliance, PPE verification, pre-job safety checklists, equipment inspection. technicians already carry phones. a sample skill file for LOTO ships in skills/field-service/.
not yet recommended:
medical / surgical — the technical pieces work, but anything influencing surgical decisions is subject to FDA 510(k)/De Novo review. the example skills in skills/medical/ are illustrative starting points written by an engineer, not validated clinical protocols. don't use them as compliance baselines without independent medical and regulatory review.
// export training trajectories
const count = await agent.exportTrajectories("./trajectories.jsonl");
// export DPO preference pairs (TRL/Axolotl-compatible) const pairs = await agent.exportDPOPairs("./dpo_pairs.jsonl");
// push directly to HuggingFace const result = await agent.pushToHub("myuser/my-procedure-runs", { tags: ["procedure-verification", "bolt-assembly"], }); console.log(published ${result.pushed} trajectories to ${result.url});
use OpenEye's tools from Claude Desktop, Cursor, Windsurf, or any MCP-compatible client:
{
"mcpServers": { "openeye": { "command": "python3", "args": ["sidecar/mcp_server.py"], "env": { "ANTHROPIC_API_KEY": "sk-ant-..." } } } }
all 8 tools are available immediately.
swap with one line, no other code changes:
| provider | env var |
|---|---|
| Anthropic (Claude Opus, Sonnet, Haiku) | ANTHROPIC_API_KEY |
| Groq (Llama 3.3 — fastest, free tier) | GROQ_API_KEY |
| Ollama (local, no key, no cost) | just ollama pull llama3.3 |
| OpenAI, Google, Mistral, Bedrock, OpenRouter | see src/models.ts |
| Any OpenAI-compatible endpoint | pass baseUrl + apiKey to customModel() |
raw frame pixels never leave the device only if your vision adapter runs on-device. the Ollama adapter in examples/vision-adapter/ keeps pixels local; the Claude/OpenAI/Gemini cloud adapters do not. pick the right one for your deployment.
what OpenEye itself stores is the natural-language description of what your vision adapter saw — not the image. opt-in cloud sync is off by default and configurable per data type. every record is scoped to a tenant ID so a single deployment can serve multiple organisations with complete data isolation between them.
opting into cloud sync? OpenEye doesn't run a hosted backend — you operate the receiving endpoint. see docs/cloud-sync.md for the HTTP contract, retry semantics, idempotency requirements, and row schemas.
OpenEye is built by Context. To make procedure-verification models better over time, OpenEye can ship opted-in trajectory data — completed sessions with their reward signals — to Context for training. This is off by default. Nothing leaves your machine until you set:
export OPENEYE_CONTEXT_OPTIN=true
export OPENEYE_CONTEXT_API_KEY=ctx-...
What gets shipped: trajectory ID, model used, reward signal, procedure tag, and the agent conversation (with system prompts stripped). What never gets shipped: tenant IDs, user IDs, system prompts, visual session IDs, skill files, or any raw frame descriptions.
Full disclosure including EU/GDPR notes and revocation procedure: docs/context-data.md.
Check status anytime:
curl http://127.0.0.1:7770/context/status
local (default — sidecar starts automatically as a subprocess):
git clone https://github.com/dumbspacecookie/openeye.git
cd openeye && npm install && npm run build pip install -r sidecar/requirements.txt
Docker:
docker run -d -p 7770:7770 -v openeye-data:/data \
-e ANTHROPIC_API_KEY=sk-ant-... \ --name openeye openeye/sidecar
| env var | default | description |
|---|---|---|
OPENEYE_HOME | ~/.openeye | data directory (SQLite DB + skills + consent marker) |
OPENEYE_PORT | 7770 | sidecar HTTP port |
OPENEYE_BIND_HOST | 127.0.0.1 | sidecar bind address (don't change unless you read docs/security.md) |
OPENEYE_SIDECAR_TOKEN | — | optional shared secret for sidecar HTTP auth — required on shared hosts |
OPENEYE_PYTHON | python3 | Python executable |
OPENEYE_WORKERS | 1 | uvicorn workers — leave at 1 unless you've moved off SQLite |
OPENEYE_LOG_LEVEL | INFO | sidecar log level |
OPENEYE_CLOUD_URL | — | your cloud endpoint for opt-in sync (cloud-sync.md) |
OPENEYE_CLOUD_KEY | — | bearer token for cloud sync |
OPENEYE_SYNC_INTERVAL | 60 | cloud sync interval in seconds |
OPENEYE_SYNC_MAX_RETRIES | 4 | retry attempts per batch on transient failure |
OPENEYE_CONTEXT_OPTIN | — | set true to enable Context training-data sharing (context-data.md) |
| `OPENEYE_
只显示了开头部分;其余内容请在仓库中阅读