async-repl-protocol · git:20260314.f0071a0 · 2026-03-14 · sha256 c19a42e22d49b40a

async-repl-protocol git:20260314.f0071a0A

Immutable. This exact content never changes and is served at /api/v1/blob/c19a42e22d49b40a.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_lt66dgnfvlw6hiih/c19a42e22d49b40a96fdf2d2d09c98c08c84bef019912c4bf1a2976c6edcb663.json

Then /plugin install async-repl-protocol@markdownregistry-lt66dgnfvlw6hiih in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: async-repl-protocol
description: Async REPL Protocol
user-invocable: false
---

# Async REPL Protocol

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

## Rules

### 1. Use `await` for Future-returning tools

```python
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.

```python
# 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)