# Agenvoy > Docs for Agenvoy, the open-source local AI agent for Claude Code, Codex and Ollama users: install, models, MCP server, AI tools, memory and security. Maintained by 邱敬幃 Pardn Chiu (pardnchiu), Pardn Co., Ltd. Source: https://github.com/pardnchiu/Agenvoy Full text in one file: [English](https://agenvoy.com/llms-full.txt) · [中文](https://agenvoy.com/zh/llms-full.txt) ## Overview - [Home](https://agenvoy.com/docs/index.md): Docs for Agenvoy, the open-source local AI agent for Claude Code, Codex and Ollama users: install, models, MCP server, AI tools, memory and security. - [What Is Agenvoy](https://agenvoy.com/docs/introduction.md): Agenvoy is an open-source AI agent harness in a single Go binary: it runs 24/7 on your machine, builds its own tools, schedules work, and shares sandboxed tools with Claude Code and Codex over MCP. - [Use Cases](https://agenvoy.com/docs/introduction-use-cases.md): Concrete requests the Agenvoy AI agent handles end to end, from research and file work to AI automation on a schedule. - [Validated Designs](https://agenvoy.com/docs/introduction-designs.md): Agenvoy memory, sandbox, sign-in, and routing designs that were later adopted or confirmed elsewhere, with dates and commits. - [Tool & Task Designs](https://agenvoy.com/docs/introduction-designs-tools.md): Agenvoy tool loading, sub-agent, plugin, and task-resume designs that other agents later adopted, with dates and commits. - [Capabilities](https://agenvoy.com/docs/introduction-capabilities.md): What the Agenvoy local AI agent can do at a glance, plus the browser dashboard and the Telegram and Discord channels it answers on. - [Install & Models](https://agenvoy.com/docs/introduction-install.md): The one-line installer for the Agenvoy local AI agent and the models the developer recommends, starting from GitHub Copilot. ## Get Started - [Quickstart](https://agenvoy.com/docs/quickstart.md): Beginner walkthrough for a local AI agent: one-line install, a GitHub Copilot sign-in, and gpt-5.6-luna running in about five minutes. - [Claude Code, Codex & Copilot Subscriptions](https://agenvoy.com/docs/quickstart-subscriptions.md): Run Agenvoy on an existing Claude Code, Codex, Copilot or Grok subscription instead of an API key, once the quickstart works. - [After the First Run](https://agenvoy.com/docs/quickstart-next.md): The six keys to know once Agenvoy runs, and which pages to read next for models, tools and scheduling. - [Troubleshooting](https://agenvoy.com/docs/quickstart-troubleshooting.md): Fixes for the problems beginners hit most often during the quickstart. - [Getting Started](https://agenvoy.com/docs/getting-started.md): Install the Agenvoy local AI agent and run your first session in under 60 seconds with Claude Code, Codex or Ollama models. One command on macOS and Linux. - [Browser Dashboard](https://agenvoy.com/docs/getting-started-browser.md): Using the embedded web dashboard instead of the TUI, and where to read next. - [Rendered with NanoMD](https://agenvoy.com/docs/getting-started-browser-nanomd.md): How the Agenvoy web dashboard renders charts, Mermaid diagrams, KaTeX math and highlighted code in AI agent replies with NanoMD, and when the agent adds them. - [Web UI Comparison](https://agenvoy.com/docs/getting-started-browser-diff.md): Side-by-side screenshots of the Agenvoy web dashboard before and after the v1.3.4 interface refresh, in light and dark mode, page by page. ## Sessions - [Sessions & Agents](https://agenvoy.com/docs/sessions.md): What an Agenvoy session is, what it stores, its id prefixes and lifetime. - [Agent Persona](https://agenvoy.com/docs/sessions-persona.md): How a session's persona is defined, rendered into the system prompt, and stored. - [Agent Routing](https://agenvoy.com/docs/sessions-routing.md): The ways a request reaches an agent: automatic dispatch, the subagents tool, and external agents. - [Running Tasks](https://agenvoy.com/docs/sessions-tasks.md): How tasks in one session run side by side, how to cancel them, and how interrupted work resumes. ## Execution - [Execution Engine](https://agenvoy.com/docs/execution-engine.md): How the Agenvoy iteration loop starts, assembles messages each turn, and resets the work directory across turns. - [Tool Dispatch](https://agenvoy.com/docs/execution-engine-tools.md): How Agenvoy checks, runs, and records each round of tool calls: three passes, deferred schemas, concurrency, and dedupe. - [Pending & Cancel](https://agenvoy.com/docs/execution-engine-pending.md): How a run waiting on the user is parked and resumed, where background reports go, and what cancel and pause do to a running task. - [Send Failures](https://agenvoy.com/docs/execution-engine-failures.md): What happens when a model call times out, is rate limited, runs out of quota or context, and how fallback picks the next model. ## Providers - [Providers](https://agenvoy.com/docs/providers.md): The 11 LLM providers behind the Agenvoy AI agent: OpenAI, Claude, Gemini, Grok, Copilot, DeepSeek, Mistral, NVIDIA NIM, OpenRouter, Cloudflare, Ollama Cloud. - [Claude Code](https://agenvoy.com/docs/providers-claude-code.md): Use Claude Code as the model for your local AI agent: Agenvoy drives the locally installed claude CLI on your Claude subscription. - [Ollama & OpenAI-Compatible Endpoints](https://agenvoy.com/docs/providers-compat.md): Run Agenvoy on a local LLM through Ollama, LM Studio, vLLM or any OpenAI-compatible /v1 endpoint: setup, where the URL and key live, tested backends. - [Managing Models](https://agenvoy.com/docs/providers-config.md): Every model and credential task, with its TUI command and HTTP endpoint. - [Model Routing](https://agenvoy.com/docs/providers-routing.md): LLM routing and fallback in Agenvoy: how priority order, tiers and the dispatcher model pick a model, and how a failed request falls back across providers. - [Decision Model](https://agenvoy.com/docs/providers-typesafe.md): The decision model (TypeSafe or OpenRouter) that routes requests and filters what reaches the main model. - [Reasoning & Fast Mode](https://agenvoy.com/docs/providers-reasoning.md): The shared reasoning scale, how each session sets its level, and the fast-mode toggle. ## Interfaces - [CLI Commands](https://agenvoy.com/docs/cli-commands.md): The agen command, its subcommands and flags, and the configuration it reads. - [make Shortcuts](https://agenvoy.com/docs/cli-commands-make.md): The make targets for building and running Agenvoy from source. - [Input Prefixes](https://agenvoy.com/docs/cli-commands-prefixes.md): Prefixes you can put in front of a message to change how it is handled. - [TUI Guide](https://agenvoy.com/docs/tui-guide.md): Keyboard shortcuts for the Agenvoy AI agent's terminal UI. - [TUI Modes](https://agenvoy.com/docs/tui-guide-modes.md): The input and display modes the TUI switches between. - [Session Commands](https://agenvoy.com/docs/tui-guide-commands.md): Slash commands for models, sessions, roles, history and usage. - [System Commands](https://agenvoy.com/docs/tui-guide-commands-more.md): Slash commands for MCP, skills, channels, settings, schedules, credentials and the TUI itself. ## REST API - [REST API](https://agenvoy.com/docs/rest-api.md): The local REST API: binding, the web dashboard, and agent execution, including an OpenAI-compatible router endpoint with auto model routing and fallback. - [Model Endpoints](https://agenvoy.com/docs/rest-api-models.md): Endpoints for registered models, routing including the decision model, tiers, quota and audio models. - [Session Endpoints](https://agenvoy.com/docs/rest-api-sessions.md): Endpoints for reading, updating and deleting sessions and their pending and finished tasks. - [Channel Endpoints](https://agenvoy.com/docs/rest-api-channels.md): Endpoints for the Telegram and Discord channels. - [File and Credential Endpoints](https://agenvoy.com/docs/rest-api-credentials.md): Endpoints for files, stored keys and live voice. - [Provider Endpoints](https://agenvoy.com/docs/rest-api-providers.md): Endpoints for provider catalogs, logins, credentials, quota and model lists. - [MCP Endpoints](https://agenvoy.com/docs/rest-api-mcp.md): Endpoints for adding, logging in to and managing MCP servers and their tools. - [Role, Skill and Allowlist Endpoints](https://agenvoy.com/docs/rest-api-skills.md): Endpoints for roles, skills and the skill and tool allowlists. - [Automation Endpoints](https://agenvoy.com/docs/rest-api-automation.md): Endpoints for scheduled AI automation runs. - [Configuration Endpoints](https://agenvoy.com/docs/rest-api-config.md): Endpoints for global settings. - [Inspection Endpoints](https://agenvoy.com/docs/rest-api-inspection.md): Endpoints for usage, logs and other read-only inspection. ## Configuration - [Configuration](https://agenvoy.com/docs/config-files.md): Where Agenvoy keeps its files under ~/.config/agenvoy, and what deliberately lives elsewhere. - [config.json](https://agenvoy.com/docs/config-files-json.md): The model, routing, and channel keys in ~/.config/agenvoy/config.json, their defaults and what reads them. - [config.json Limits](https://agenvoy.com/docs/config-files-json-limits.md): Runtime limits Agenvoy reads from config.json, the package defaults it cannot change, and why there are no env overrides. - [config.json Policies](https://agenvoy.com/docs/config-files-json-policy.md): Policy keys in Agenvoy config.json for sensitive paths, read-only commands, denied commands and paths, and retired keys. - [Project Configs](https://agenvoy.com/docs/config-files-project.md): The JSON rule files and prompt templates that ship inside the repository. - [Integration Config](https://agenvoy.com/docs/config-integrations.md): Configuration for MCP servers, LLM providers such as Ollama, and KuraDB in the Agenvoy AI agent. - [Telegram & Discord](https://agenvoy.com/docs/config-integrations-channels.md): Where the settings, tokens and authorized chats of the Agenvoy Telegram and Discord AI bots are stored. ## Built-in Tools - [Built-in Tools](https://agenvoy.com/docs/built-in-tools.md): Which of the Agenvoy AI agent's 34 built-in AI tools are registered, when conditional ones appear, and how tool groups load. - [File Tools](https://agenvoy.com/docs/built-in-tools-files.md): Tools that find, read, edit, open and track files. - [Tool and Skill Tools](https://agenvoy.com/docs/built-in-tools-extension.md): Tools the AI agent uses to find, create, test and run other AI tools and skills. - [Web and Network Tools](https://agenvoy.com/docs/built-in-tools-web.md): Tools for web search, page fetching, HTTP requests, public API lookup and downloads. - [Execution Tools](https://agenvoy.com/docs/built-in-tools-execution.md): Tools that run commands in the foreground or in the background with error-keyword watching, including sudo and outside-sandbox runs. - [Coordination Tools](https://agenvoy.com/docs/built-in-tools-coordination.md): Tools for foreground and background subagents, schedules, checklists, questions to the user and final results. - [State and Memory Tools](https://agenvoy.com/docs/built-in-tools-state.md): Tools that search chat, error and action history. - [Support Tools](https://agenvoy.com/docs/built-in-tools-support.md): Small helper tools for calculation, secrets and guidance. - [Output Markers](https://agenvoy.com/docs/built-in-tools-output.md): Markers in a reply that change how Telegram and Discord deliver it. - [Tools in Scheduled Runs](https://agenvoy.com/docs/built-in-tools-scheduler.md): How the tool set differs when an AI automation run is started by the scheduler. ## Tool Development - [Auto-Built AI Tools](https://agenvoy.com/docs/tool-extension.md): Let the AI agent call public APIs directly or build custom AI tools from natural language, and add script and MCP tools to extend Agenvoy. - [Tool Design & Rules](https://agenvoy.com/docs/tool-rules.md): Tool design guidelines — concurrency markers, timeouts, credential auto-heal, and naming conventions. ## Memory & Skills - [Memory System](https://agenvoy.com/docs/memory-system.md): Three-tier memory for a local AI agent: rolling context window, semantic vector search and FTS5 SQLite archive, and where each is stored. - [Compaction & Reset](https://agenvoy.com/docs/memory-system-compaction.md): How a long run is kept inside the model's window, and what reset and remove clear. - [Skill System](https://agenvoy.com/docs/skill-basics.md): Agenvoy skill format, where skills are loaded from, bundled skills and the always-allow list. - [How Skills Run](https://agenvoy.com/docs/skill-basics-triggers.md): How a skill is triggered, how the triggering message shapes it, and the prompt that drives its execution. - [Scheduler & AI Automation](https://agenvoy.com/docs/scheduler-skills.md): AI automation with cron and one-shot task scheduling: skill binding, fsnotify hot-reload, and revision-based recovery. - [KuraDB & RAG](https://agenvoy.com/docs/kuradb-rag.md): Give your local AI agent keyword and semantic document search (RAG) over a personal knowledge base with KuraDB. ## MCP - [MCP Server for Claude Code & Codex](https://agenvoy.com/docs/mcp-server.md): Run Agenvoy as a local MCP server and connect Claude Code, Codex, Cursor or any MCP client to its tools. - [Exposed Tools](https://agenvoy.com/docs/mcp-server-tools.md): Which Agenvoy tools a connected agent sees, and how new tools appear without a restart. - [MCP Client](https://agenvoy.com/docs/mcp-client.md): Connect Agenvoy to external MCP servers: config layout, transports, management and recommended servers. - [MCP Tool Behavior](https://agenvoy.com/docs/mcp-client-runtime.md): How tools from connected MCP servers are named, capped, confirmed and kept alive. ## Security - [Security Model](https://agenvoy.com/docs/security.md): The private AI security model of Agenvoy: localhost binding, no elevated mode, permanent denials and sensitive-file protection. - [Permissions & Confirmations](https://agenvoy.com/docs/security-permissions.md): The two permission modes, which entry point uses which, and how confirmation prompts are routed. - [System Prompt Protection](https://agenvoy.com/docs/security-prompt.md): How Agenvoy keeps its system prompt from being extracted or overridden. - [Keychain](https://agenvoy.com/docs/security-keychain.md): How credentials are stored in the OS keychain and read by tools. - [Command Execution](https://agenvoy.com/docs/security-commands.md): The rules that apply when the agent runs a shell command. - [MCP Isolation](https://agenvoy.com/docs/security-mcp.md): What to keep in mind about isolation when connecting external MCP servers. - [Sandbox](https://agenvoy.com/docs/sandbox.md): OS-native command sandbox — bubblewrap on Linux, sandbox-exec on macOS — and how its policy is injected. - [Execution Guards](https://agenvoy.com/docs/sandbox-guards.md): The write guard, argv-only subprocess schema and timeouts that sit alongside the sandbox. ## Reference - [Architecture](https://agenvoy.com/docs/architecture.md): Architecture of the Agenvoy AI agent harness: one daemon runs every agent, plus the principles that cut across every layer. - [Layers](https://agenvoy.com/docs/architecture-layers.md): Each layer of Agenvoy, the package that implements it and what it is responsible for. - [Runtime Layers](https://agenvoy.com/docs/architecture-layers-runtime.md): Agenvoy runtime layers: session storage, dashboard, pending routing, memory, scheduler, IPC and TUI packages. - [TUI Design](https://agenvoy.com/docs/architecture-tui.md): Why the TUI is built on bubbletea as a single package, and when that should be revisited. - [License](https://agenvoy.com/docs/license.md): Agenvoy licensing — AGPL-3.0 for open source use, which license applies to you, and the notices AGPL-3.0 requires. - [Commercial License](https://agenvoy.com/docs/license-commercial.md): When you need the commercial license, what the harness core source covers, and how to get one. - [Contributions & Third Party](https://agenvoy.com/docs/license-third-party.md): How contributions are licensed and which third-party components ship with Agenvoy. ## Symbols Exported symbol -> page that documents it. - `AGENT_SEND_TIMEOUT_SEC` (configs): [Send Failures](https://agenvoy.com/docs/execution-engine-failures.md) - `BACKGROUND_THRESHOLD_MIN` (configs): [config.json Limits](https://agenvoy.com/docs/config-files-json-limits.md) - `CONTEXT_OVERFLOW_KEEP_RATIO` (configs): [Model Routing](https://agenvoy.com/docs/providers-routing.md) - `DECISION_MIN_CONFIDENCE` (configs): [Decision Model](https://agenvoy.com/docs/providers-typesafe.md) - `DEFAULT_TOOL_TIMEOUT` (configs): [Tool Design & Rules](https://agenvoy.com/docs/tool-rules.md) - `HEALTH_CHECK_TIMEOUT` (configs): [Send Failures](https://agenvoy.com/docs/execution-engine-failures.md) - `MAX_BACKGROUND_TASKS` (configs): [Running Tasks](https://agenvoy.com/docs/sessions-tasks.md) - `MAX_CONCURRENT_SUBAGENTS` (configs): [Agent Routing](https://agenvoy.com/docs/sessions-routing.md) - `MAX_CONCURRENT_TOOLS` (configs): [Tool Dispatch](https://agenvoy.com/docs/execution-engine-tools.md) - `MAX_DECISION_QUESTIONS` (configs): [Decision Model](https://agenvoy.com/docs/providers-typesafe.md) - `MAX_DECISION_RUNES` (configs): [Decision Model](https://agenvoy.com/docs/providers-typesafe.md) - `MAX_DECISION_STATE_RUNES` (configs): [Decision Model](https://agenvoy.com/docs/providers-typesafe.md) - `MAX_DOCUMENT_BYTES` (configs): [config.json Limits](https://agenvoy.com/docs/config-files-json-limits.md) - `MAX_RESUME_WAIT_MIN` (configs): [config.json Limits](https://agenvoy.com/docs/config-files-json-limits.md) - `MAX_RETRY_TIMES` (configs): [Send Failures](https://agenvoy.com/docs/execution-engine-failures.md) - `MAX_SESSION_TASKS` (configs): [Running Tasks](https://agenvoy.com/docs/sessions-tasks.md) - `MAX_SUBAGENT_TIMEOUT_MIN` (configs): [Agent Routing](https://agenvoy.com/docs/sessions-routing.md) - `SEND_TIMEOUT_RETRY_INTERVAL` (configs): [Send Failures](https://agenvoy.com/docs/execution-engine-failures.md) - `SUMMARY_RUNES` (configs): [Memory System](https://agenvoy.com/docs/memory-system.md) - `TIMEOUT_DECISION_CALL` (configs): [Decision Model](https://agenvoy.com/docs/providers-typesafe.md) - `TTL_MODELS_CACHE_SEC` (configs): [Decision Model](https://agenvoy.com/docs/providers-typesafe.md) - `WATCH_BUFFER_MAX_BYTES` (configs): [config.json Limits](https://agenvoy.com/docs/config-files-json-limits.md) - `WATCH_LINE_MAX_BYTES` (configs): [config.json Limits](https://agenvoy.com/docs/config-files-json-limits.md) - `WATCH_REPORT_COOLDOWN_SEC` (configs): [config.json Limits](https://agenvoy.com/docs/config-files-json-limits.md) - `WATCH_REPORT_MAX_BYTES` (configs): [config.json Limits](https://agenvoy.com/docs/config-files-json-limits.md) - `WATCH_SETTLE_MAX_SEC` (configs): [config.json Limits](https://agenvoy.com/docs/config-files-json-limits.md) - `WATCH_SETTLE_SEC` (configs): [config.json Limits](https://agenvoy.com/docs/config-files-json-limits.md) ## 中文文件 - [首頁](https://agenvoy.com/zh/docs/index.md): Agenvoy 文件:開源本地 AI agent,接 Claude Code、Codex 與 Ollama;涵蓋安裝、模型、MCP、AI 工具、記憶與安全。 - [Agenvoy 是什麼](https://agenvoy.com/zh/docs/introduction.md): Agenvoy 是台灣自研的開源 AI Agent Harness:單一 Go 執行檔在你的電腦 24 小時運行,會自建工具、排程任務,並透過 MCP 與 Claude Code、Codex 共用沙箱工具。 - [使用情境](https://agenvoy.com/zh/docs/introduction-use-cases.md): Agenvoy AI agent 能從頭做到尾的具體請求,涵蓋研究、檔案處理到排程式 AI 自動化。 - [被驗證的設計](https://agenvoy.com/zh/docs/introduction-designs.md): Agenvoy 在記憶、沙盒、登入與路由上,之後被其他產品採用或驗證的設計,附日期與 commit。 - [工具與任務設計](https://agenvoy.com/zh/docs/introduction-designs-tools.md): Agenvoy 在工具載入、子代理、插件與長任務恢復上,之後被採用的設計,附日期與 commit。 - [核心能力](https://agenvoy.com/zh/docs/introduction-capabilities.md): Agenvoy 本地 AI agent 的能力總覽,以及瀏覽器儀表板與可回應的 Telegram、Discord 通道。 - [安裝與模型建議](https://agenvoy.com/zh/docs/introduction-install.md): Agenvoy 本地 AI agent 的一鍵安裝指令,以及開發者建議的模型設定(從 GitHub Copilot 起步)。 - [新手入門](https://agenvoy.com/zh/docs/quickstart.md): 本地 AI agent 快速上手 —— 一行安裝、登入 GitHub Copilot、掛上 gpt-5.6-luna,約五分鐘完成。 - [Claude Code、Codex 與 Copilot 訂閱](https://agenvoy.com/zh/docs/quickstart-subscriptions.md): 新手流程跑通後,改用既有的 Claude Code、Codex、Copilot 或 Grok 訂閱,而非 API key 來執行 Agenvoy。 - [上手之後](https://agenvoy.com/zh/docs/quickstart-next.md): Agenvoy 跑起來後要記住的六個按鍵,以及模型、工具與排程的延伸閱讀。 - [疑難排解](https://agenvoy.com/zh/docs/quickstart-troubleshooting.md): 新手流程中最常遇到的問題與解法。 - [快速開始](https://agenvoy.com/zh/docs/getting-started.md): 60 秒安裝 Agenvoy 本地 AI agent 並啟動第一個 session,可接 Claude Code、Codex 或 Ollama 模型。 - [瀏覽器儀表板](https://agenvoy.com/zh/docs/getting-started-browser.md): 以內建的 Web 儀表板取代 TUI 操作,以及接下來該讀哪裡。 - [以 NanoMD 渲染](https://agenvoy.com/zh/docs/getting-started-browser-nanomd.md): Agenvoy Web 儀表板以 NanoMD 在 AI agent 回覆中渲染圖表、Mermaid 流程圖、KaTeX 公式與程式碼高亮,以及 agent 何時附圖。 - [Web UI 介面差異比較](https://agenvoy.com/zh/docs/getting-started-browser-diff.md): Agenvoy Web 儀表板 v1.3.4 介面改版前後的逐頁截圖對照,含淺色與深色模式。 - [Session 與 Agent](https://agenvoy.com/zh/docs/sessions.md): Agenvoy 的 session 是什麼、存了什麼、id 前綴與生命週期。 - [Agent 人格](https://agenvoy.com/zh/docs/sessions-persona.md): Session 人格如何定義、如何渲染進 system prompt,以及存放在哪裡。 - [Agent 路由](https://agenvoy.com/zh/docs/sessions-routing.md): 請求抵達 agent 的途徑:自動分派、subagents 工具與外部 agent。 - [任務執行](https://agenvoy.com/zh/docs/sessions-tasks.md): 同一 session 的任務如何並行、如何取消,以及中斷的工作如何續行。 - [執行引擎](https://agenvoy.com/zh/docs/execution-engine.md): Agenvoy 迭代迴圈如何啟動、每輪如何組裝訊息,以及跨 turn 的 workdir 重置。 - [工具調度](https://agenvoy.com/zh/docs/execution-engine-tools.md): Agenvoy 每輪 tool call 如何檢查、執行與記錄:三段 pass、延遲 schema、並行與去重。 - [待決與取消](https://agenvoy.com/zh/docs/execution-engine-pending.md): 等待使用者的執行如何暫存與接回、背景報告送往何處,以及取消與暫停對執行中任務的影響。 - [Send 失敗處理](https://agenvoy.com/zh/docs/execution-engine-failures.md): 模型呼叫逾時、被限流、額度或 context 用盡時的處理,以及 fallback 如何挑下一個模型。 - [供應商](https://agenvoy.com/zh/docs/providers.md): Agenvoy 支援的 11 家 LLM 供應商(OpenAI、Claude、Gemini、Grok、Copilot、DeepSeek 等)與各自的登入方式。 - [Claude Code](https://agenvoy.com/zh/docs/providers-claude-code.md): 把 Claude Code 當成本地 AI agent 的模型:Agenvoy 透過本機已安裝的 claude CLI,以你的 Claude 訂閱執行。 - [Ollama 與 OpenAI 相容端點](https://agenvoy.com/zh/docs/providers-compat.md): 透過 Ollama、LM Studio、vLLM 或 OpenAI 相容端點讓 Agenvoy 跑本地 LLM:新增方式、URL 與 key 位置、已測試清單。 - [模型管理](https://agenvoy.com/zh/docs/providers-config.md): 每項模型與憑證操作,及其對應的 TUI 指令與 HTTP 端點。 - [模型路由](https://agenvoy.com/zh/docs/providers-routing.md): Agenvoy 的 LLM 路由與 fallback:優先序、tier 與 dispatcher 模型如何挑選模型,以及請求失敗時如何跨供應商 fallback。 - [Decision Model](https://agenvoy.com/zh/docs/providers-typesafe.md): 以 TypeSafe 或 OpenRouter 的 decision model 分派請求,並過濾送進主模型的內容。 - [Reasoning 與 Fast 模式](https://agenvoy.com/zh/docs/providers-reasoning.md): 統一的 reasoning 等級、各 session 如何設定,以及 fast 模式開關。 - [CLI 指令](https://agenvoy.com/zh/docs/cli-commands.md): agen 指令、其子指令與旗標,以及它讀取的設定。 - [make 捷徑](https://agenvoy.com/zh/docs/cli-commands-make.md): 從原始碼建置與執行 Agenvoy 的 make target。 - [輸入前綴](https://agenvoy.com/zh/docs/cli-commands-prefixes.md): 可加在訊息前、改變處理方式的前綴。 - [TUI 指南](https://agenvoy.com/zh/docs/tui-guide.md): Agenvoy AI agent 終端介面(TUI)的鍵盤快捷鍵。 - [TUI 模式](https://agenvoy.com/zh/docs/tui-guide-modes.md): TUI 在其間切換的輸入與顯示模式。 - [Session 指令](https://agenvoy.com/zh/docs/tui-guide-commands.md): 管理模型、session、role、歷史與用量的斜線指令。 - [系統指令](https://agenvoy.com/zh/docs/tui-guide-commands-more.md): 管理 MCP、skill、通道、設定、排程、憑證與 TUI 本身的斜線指令。 - [REST API](https://agenvoy.com/zh/docs/rest-api.md): 本機 REST API:綁定位址、Web 儀表板與 agent 執行端點,包含可自動選模型並 fallback 的 OpenAI 相容路由端點。 - [模型端點](https://agenvoy.com/zh/docs/rest-api-models.md): 已註冊模型、路由(含 decision model)、tier、額度與音訊模型的端點。 - [Session 端點](https://agenvoy.com/zh/docs/rest-api-sessions.md): 讀取、更新、刪除 session 及其待決與已完成任務的端點。 - [頻道端點](https://agenvoy.com/zh/docs/rest-api-channels.md): Telegram 與 Discord 通道的端點。 - [檔案與憑證端點](https://agenvoy.com/zh/docs/rest-api-credentials.md): 檔案、已存金鑰與即時語音的端點。 - [Provider 端點](https://agenvoy.com/zh/docs/rest-api-providers.md): 供應商目錄、登入、憑證、額度與模型清單的端點。 - [MCP 端點](https://agenvoy.com/zh/docs/rest-api-mcp.md): 新增、登入與管理 MCP 伺服器及其工具的端點。 - [Role、Skill 與允許清單端點](https://agenvoy.com/zh/docs/rest-api-skills.md): Role、skill,以及 skill 與工具允許清單的端點。 - [自動化端點](https://agenvoy.com/zh/docs/rest-api-automation.md): 排程式 AI 自動化執行的端點。 - [設定端點](https://agenvoy.com/zh/docs/rest-api-config.md): 全域設定的端點。 - [檢視端點](https://agenvoy.com/zh/docs/rest-api-inspection.md): 用量、日誌與其他唯讀檢視的端點。 - [設定檔](https://agenvoy.com/zh/docs/config-files.md): Agenvoy 在 ~/.config/agenvoy 下的檔案佈局,以及刻意不放在那裡的東西。 - [config.json](https://agenvoy.com/zh/docs/config-files-json.md): ~/.config/agenvoy/config.json 的模型、路由與 channel 鍵,預設值與讀取它的地方。 - [config.json 限制值](https://agenvoy.com/zh/docs/config-files-json-limits.md): Agenvoy 從 config.json 讀取的 runtime 限制、不可調整的套件預設值,以及為何沒有環境變數。 - [config.json Policy](https://agenvoy.com/zh/docs/config-files-json-policy.md): Agenvoy config.json 的 policy 鍵:敏感路徑、唯讀指令、拒絕指令與路徑,以及已停讀的鍵。 - [專案內設定](https://agenvoy.com/zh/docs/config-files-project.md): 隨 repository 附帶的 JSON 規則檔與 prompt 範本。 - [整合設定](https://agenvoy.com/zh/docs/config-integrations.md): Agenvoy AI agent 的 MCP 伺服器、LLM 供應商(如 Ollama)與 KuraDB 設定。 - [Telegram 與 Discord](https://agenvoy.com/zh/docs/config-integrations-channels.md): Agenvoy Telegram 與 Discord AI 機器人的設定、token 與已授權聊天存放在哪裡。 - [內建工具](https://agenvoy.com/zh/docs/built-in-tools.md): Agenvoy AI agent 的 34 個內建 AI 工具如何註冊、條件式工具何時出現,以及工具群組如何載入。 - [檔案工具](https://agenvoy.com/zh/docs/built-in-tools-files.md): 尋找、讀取、編輯、開啟與追蹤檔案的工具。 - [工具與 Skill 管理工具](https://agenvoy.com/zh/docs/built-in-tools-extension.md): AI agent 用來尋找、建立、測試與執行其他 AI 工具與 skill 的工具。 - [網路工具](https://agenvoy.com/zh/docs/built-in-tools-web.md): 網頁搜尋、抓取頁面、HTTP 請求、公開 API 查詢與下載的工具。 - [執行工具](https://agenvoy.com/zh/docs/built-in-tools-execution.md): 在前景或背景執行指令的工具:背景會監看錯誤關鍵字,也支援 sudo 與沙箱外執行。 - [協作工具](https://agenvoy.com/zh/docs/built-in-tools-coordination.md): 前景與背景 subagent、排程、清單、向使用者提問與最終結果的工具。 - [狀態與記憶工具](https://agenvoy.com/zh/docs/built-in-tools-state.md): 搜尋聊天、錯誤與動作歷史的工具。 - [輔助工具](https://agenvoy.com/zh/docs/built-in-tools-support.md): 計算、機密與規則指引的小型輔助工具。 - [輸出標記](https://agenvoy.com/zh/docs/built-in-tools-output.md): 回覆中改變 Telegram 與 Discord 傳送方式的標記。 - [排程執行中的工具](https://agenvoy.com/zh/docs/built-in-tools-scheduler.md): 由排程器啟動的 AI 自動化執行中,工具集有何不同。 - [自建 AI 工具](https://agenvoy.com/zh/docs/tool-extension.md): 讓 AI agent 直接呼叫公開 API,或用自然語言自動打造自訂 AI 工具,並新增 script、MCP 工具來擴充 Agenvoy。 - [工具設計與規範](https://agenvoy.com/zh/docs/tool-rules.md): 工具設計準則 —— 並行標記、逾時、憑證自動修復與命名慣例。 - [記憶系統](https://agenvoy.com/zh/docs/memory-system.md): 本地 AI agent 的三層對話記憶 —— 滾動 context window、語意向量搜尋與 FTS5 SQLite 封存 —— 以及存放位置。 - [壓縮與重置](https://agenvoy.com/zh/docs/memory-system-compaction.md): 長時間執行如何維持在模型視窗內,以及 reset 與 remove 會清掉什麼。 - [Skill 系統](https://agenvoy.com/zh/docs/skill-basics.md): Agenvoy 的 skill 格式、載入位置、內建 skill 與 always-allow 清單。 - [Skill 如何執行](https://agenvoy.com/zh/docs/skill-basics-triggers.md): Skill 如何被觸發、觸發訊息如何影響它,以及驅動執行的 prompt。 - [排程與 AI 自動化](https://agenvoy.com/zh/docs/scheduler-skills.md): 以 cron 與一次性任務排程做 AI 自動化:可綁定 skill、fsnotify 熱重載,並以修訂紀錄復原。 - [KuraDB 與 RAG](https://agenvoy.com/zh/docs/kuradb-rag.md): 用 KuraDB 讓本地 AI agent 在你的個人知識庫上做關鍵字與語意文件搜尋(RAG)。 - [給 Claude Code 與 Codex 的 MCP 伺服器](https://agenvoy.com/zh/docs/mcp-server.md): 把 Agenvoy 當成 MCP 伺服器,並讓 Claude Code、Codex、Cursor 或任何 MCP 客戶端連上它。 - [公開的工具](https://agenvoy.com/zh/docs/mcp-server-tools.md): 連線的 agent 看得到哪些 Agenvoy 工具,以及新工具如何免重啟出現。 - [MCP 客戶端](https://agenvoy.com/zh/docs/mcp-client.md): 將 Agenvoy 連到外部 MCP 伺服器:設定層級、transport、管理方式與推薦 server。 - [MCP 工具行為](https://agenvoy.com/zh/docs/mcp-client-runtime.md): 已連線 MCP 伺服器的工具如何命名、限制大小、確認與維持連線。 - [安全模型](https://agenvoy.com/zh/docs/security.md): Agenvoy 作為私有本地 AI 的存取邊界 —— localhost 綁定、沒有提權模式、永久拒絕與敏感檔案防護。 - [權限與確認](https://agenvoy.com/zh/docs/security-permissions.md): 兩種權限模式、各入口使用哪一種,以及確認提示如何路由。 - [System Prompt 保護](https://agenvoy.com/zh/docs/security-prompt.md): Agenvoy 如何防止 system prompt 被取出或覆寫。 - [Keychain](https://agenvoy.com/zh/docs/security-keychain.md): 憑證如何存放在 OS keychain,以及工具如何讀取。 - [指令執行](https://agenvoy.com/zh/docs/security-commands.md): Agent 執行 shell 指令時套用的規則。 - [MCP 隔離](https://agenvoy.com/zh/docs/security-mcp.md): 連接外部 MCP 伺服器時關於隔離需要注意的事。 - [沙箱](https://agenvoy.com/zh/docs/sandbox.md): OS 原生指令沙箱 —— Linux 用 bubblewrap、macOS 用 sandbox-exec —— 以及 policy 如何注入。 - [執行防護](https://agenvoy.com/zh/docs/sandbox-guards.md): 與沙箱並行的寫入防護、argv-only 子程序 schema 與 timeout。 - [架構](https://agenvoy.com/zh/docs/architecture.md): Agenvoy AI agent harness 架構:一個 daemon 執行所有 agent,以及貫穿各層的原則。 - [分層](https://agenvoy.com/zh/docs/architecture-layers.md): Agenvoy 的每一層、實作它的 package 與其職責。 - [執行期分層](https://agenvoy.com/zh/docs/architecture-layers-runtime.md): Agenvoy 執行期分層:session 儲存、儀表板、pending、記憶、排程、IPC 與 TUI。 - [TUI 設計](https://agenvoy.com/zh/docs/architecture-tui.md): TUI 為何以 bubbletea 單一 package 實作,以及何時該重新檢討。 - [授權](https://agenvoy.com/zh/docs/license.md): Agenvoy 授權 —— 開源使用適用 AGPL-3.0、你適用哪一種,以及 AGPL-3.0 要求的聲明。 - [商業授權](https://agenvoy.com/zh/docs/license-commercial.md): 何時需要商業授權、純 harness 核心代碼涵蓋什麼,以及如何取得。 - [貢獻與第三方元件](https://agenvoy.com/zh/docs/license-third-party.md): 貢獻的授權方式,以及 Agenvoy 附帶的第三方元件。 ## Optional - [Release Notes](https://agenvoy.com/docs/released/index.md): Agenvoy changelog by version