什麼是代理執行環境(Agent Runtime)?
代理執行環境是代理實際運行的引擎:它保存對話、決定呼叫哪些工具、串流回覆,並執行限制。在 Dropstone 中,同一個執行環境服務於聊天、CLI 和 SDK。
代理執行環境是代理運行的引擎。模型只是其中一部分:執行環境負責保存對話、決定呼叫哪些工具以及呼叫順序、串流回覆、保持記憶在視野中,並執行帳戶允許的操作。
它是讓代理成為代理而非聊天補全的層級。補全只回答一條訊息。執行環境可以讀取檔案、執行命令、等待你批准某個操作、回呼記憶,並跨多個步驟承載任務。
在 Dropstone 中,同一個執行環境服務於每個介面。Dropstone Chat 和 CLI 是它的兩個客戶端,而 SDK 為你自己的程式碼提供同一個:對話、工具、串流,以及帳戶的記憶。這就是為什麼你的應用程式啟動的對話會知道你教給 CLI 的內容。
一個值得了解的後果:公開的 HTTP API 不是執行環境。它是一個無狀態、相容 OpenAI 的補全端點,因此不攜帶記憶或工具。如果你想在程式碼中使用代理,SDK 的本地客戶端是途徑。
Related articles
- Agent memoryAgent memory is what an agent stores between sessions and brings back when it is relevant: standing rules, facts, studied material, and short summaries of past conversations.
- Dropstone SDKA typed TypeScript and JavaScript client for the Dropstone agent, with two entry points: one for headless API calls from CI or a serverless function, one that runs the agent locally with the same account memory as the CLI and Chat.
- Using the API with your planCall Dropstone over HTTP with an API key. The endpoint is OpenAI-compatible, billed pay-per-use from your credit balance, and works from any language. Keys, errors, rate limits, and what the API does not carry.
- Dropstone CLI overviewThe Dropstone CLI is an agent for your terminal that reads your codebase, edits files, runs commands, and shares memory with everything else on your account. Install it in one command. The full reference is at docs.dropstone.io.
Ctrl+I