> ## Documentation Index
> Fetch the complete documentation index at: https://glasser.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 其他 Agent

> 在具有本地终端访问权限的其他 Agent 中配置 Glasser。

如果 Agent 能在你的电脑上保存文件、安装软件并执行命令，可按本指南操作。需要网络访问权限和 Node.js 22 或更高版本。

**1. 打开本地 Agent 会话**

选择能够执行命令的模式。如果助手只能在托管沙箱中运行代码，请改用 [MCP](https://glasser.ai/docs/zh/mcp-server.md)。

**2. 请 Agent 配置 Glasser**

在对话中粘贴：

```text wrap theme={null}
set up https://glasser.ai/SKILL.md
```

批准所需的文件和安装操作。如果客户端不支持持久保存 Skill，仍可在本次对话中使用说明，但在后续对话中需要重新提供 Skill URL。

**3. 批准登录**

Agent 运行 `glasser login` 后，会提供浏览器链接和八位验证码。打开链接，登录并核对验证码，选择工作空间，然后批准访问。如果尚无账号和工作空间，请先创建。

CLI 将 API Key 保存在本机，无需粘贴到对话中。

**4. 检查连接**

请 Agent 使用 Glasser Skill 查询可用余额，且不发起付费 Run。如果已保存 Skill，请在新会话中重复检查，确认客户端能够发现它。余额为零也表示连接成功。

## 尝试首次请求

```text wrap theme={null}
Use Glasser to find recent news about Stripe. Show me the data you can retrieve and the price, then wait for my approval before any paid Run.
```

手动安装和命令详情见 [CLI 参考](https://glasser.ai/docs/zh/cli.md)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.