Skill站外收录 @skilllib/skill-2014279410457718788
finding-agents
根据名称、标签或模糊查询定位服务器内的其他智能体,支持按条件筛选并获取其详细信息,常用于跨智能体记忆迁移或识别特定功能代理。
数据与分析 AI 技能
Skills.MD
# Finding Agents
This skill helps you find other agents on the same Letta server.
## When to Use This Skill
- User asks about other agents they have
- User wants to find a specific agent by name
- User wants to list agents with certain tags
- You need to find an agent ID for memory migration
- You found an agent_id via message search and need details about that agent
## Script Usage
```bash
npx tsx <SKILL_DIR>/scripts/find-agents.ts [options]
```
### Options
| Option | Description |
|--------|-------------|
| `--name <name>` | Exact name match |
| `--query <text>` | Fuzzy search by name |
| `--tags <tag1,tag2>` | Filter by tags (comma-separated) |
| `--match-all-tags` | Require ALL tags (default: ANY) |
| `--include-blocks` | Include agent.blocks in response |
| `--limit <n>` | Max results (default: 20) |
## Common Patterns
### Finding Letta Code Agents
Agents created by Letta Code are tagged with `origin:letta-code`. To find only Letta Code agents:
```bash
npx tsx <SKILL_DIR>/scripts/find-agents.ts --tags "origin:letta-code"
```
This is useful when the user is looking for agents they've worked with in Letta Code CLI sessions.
### Finding All Agents
If the user has agents created outside Letta Code (via ADE, SDK, etc.), search without the tag filter:
```bash
npx tsx <SKILL_DIR>/scripts/find-agents.ts
```
## Examples
**List all agents (up to 20):**
```bash
npx tsx <SKILL_DIR>/scripts/find-agents.ts
```
**Find agent by exact name:**
```bash
npx tsx <SKILL_DIR>/scripts/find-agents.ts --name "ProjectX-v1"
```
**Search agents by name (fuzzy):**
```bash
npx tsx <SKILL_DIR>/scripts/find-agents.ts --query "project"
```
**Find only Letta Code agents:**
```bash
npx tsx <SKILL_DIR>/scripts/find-agents.ts --tags "origin:letta-code"
```
**Find agents with multiple tags:**
```bash
npx tsx <SKILL_DIR>/scripts/find-agents.ts --tags "frontend,production" --match-all-tags
```
**Include memory blocks in results:**
```bash
npx tsx <SKILL_DIR>/scripts/find-agents.ts --query "project" --include-blocks
```
## Output
Returns the raw API response with full agent details. Key fields:
- `id` - Agent ID (e.g., `agent-abc123`)
- `name` - Agent name
- `description` - Agent description
- `tags` - Agent tags
- `blocks` - Memory blocks (if `--include-blocks` used)
## Related Skills
- **migrating-memory** - Once you find an agent, use this skill to copy/share memory blocks
- **searching-messages** - Search messages across all agents to find which agent discussed a topic. Use `--all-agents` to get `agent_id` values, then use this skill to get full agent details.
### Finding Agents by Topic
If you need to find which agent worked on a specific topic:
1. Load both skills: `searching-messages` and `finding-agents`
2. Search messages across all agents:
```bash
search-messages.ts --query "topic" --all-agents --limit 10
```
3. Note the `agent_id` values from matching messages
4. Get agent details:
```bash
find-agents.ts --query "partial-name"
```
Or use the agent_id directly in the Letta API
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「finding-agents」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次