async-repl-protocol · git:20260110.f8d7173 · 2026-01-10 · sha256 ee2eace5586a081b

async-repl-protocol git:20260110.f8d7173A

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

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

Then /plugin install async-repl-protocol@markdownregistry-xo6dno5aufg42flm 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)