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