Agent 运行时
Agent 运行时是 agent 实际运行所依赖的引擎:它持有会话、决定调用哪些工具、流式返回回复,并强制执行限制。在 Dropstone 中,同一个运行时服务于聊天、CLI 和 SDK。
Agent 运行时是 agent 运行所依赖的引擎。模型只是其中的一部分:运行时负责持有会话、决定调用哪些工具以及调用顺序、流式返回回复、保持记忆可见,并强制执行账户允许的操作范围。
正是这一层让 agent 成为 agent,而非一次聊天补全。补全只回答一条消息。而运行时可以读取文件、运行命令、等待你对某个操作的批准、回调记忆,并在多个步骤中持续推进任务。
在 Dropstone 中,同一个运行时服务于所有界面。Dropstone Chat 和 CLI 是它的两个客户端,而 SDK 为你的代码提供同样的能力:会话、工具、流式传输以及账户的记忆。这就是为什么你的应用程序启动的会话能知道你在 CLI 中教过它的内容。
一个值得了解的后果是:公共 HTTP API 并不是运行时。它是一个无状态的、兼容 OpenAI 的补全端点,因此不携带记忆,也没有工具。如果你想让 agent 进入你的代码,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