async-repl-protocol

async-repl-protocol

热门

Async REPL Protocol

3940Star
303Fork
更新于 2026/1/26
请求的译文尚未完成,当前显示原始英文。
SKILL.md
只读
名称
async-repl-protocol
描述

Async REPL Protocol

Async REPL Protocol

When working with Agentica's async REPL harness for testing.

Rules

1. Use await for Future-returning tools

content = await view_file(path)  # NOT view_file(path)
answer = await ask_memory("...")

2. Single code block per response

Compute AND return in ONE block. Multiple blocks means only first executes.

# GOOD: Single block
content = await view_file(path)
return any(c.isdigit() for c in content)

# BAD: Split blocks (second block never runs)
content = await view_file(path)