Async Repl Protocol

Async REPL Protocol

parcadei Updated 3.9k repo stars

File contents

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)

---

**Source:** [`parcadei/Continuous-Claude-v3`](https://github.com/parcadei/Continuous-Claude-v3) → `.claude/skills/async-repl-protocol/SKILL.md`

**Also appears in:** `parcadei/Continuous-Claude-v3/.claude/skills/archive/async-repl-protocol/SKILL.md`

parcadei/Continuous-Claude-v3 commit 73437c0ae6

Frequently asked questions

npx get-skill add parcadei/async-repl-protocol