Async Repl Protocol

by parcadeid07ff4b06b62No license3.9K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 8 months ago

Async REPL Protocol

Instructions onlyAI & Agents
AI-generated overview

Rules for writing code in Agentica's async REPL harness: await Future-returning tools and use one code block per response.

What it does
This skill provides two protocol rules for working with Agentica's async REPL harness used for testing. It instructs the agent to use await when calling Future-returning tools such as view_file or ask_memory, and to compute and return results in a single code block per response because only the first block executes. It contains instructions only and produces no files or scripts.
When to use it
Use it when writing or running code inside Agentica's async REPL testing harness. It is relevant when tool calls return Futures or when a response would otherwise be split across multiple code blocks.
Requirements
No scripts or packages are included; it is instructions only. It assumes the Agentica async REPL harness and its tools, such as view_file and ask_memory, are available.

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 blockcontent = 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 and attribution

Source:parcadei/continuous-claude-v3in.claude/skills/archive/async-repl-protocolat commitd07ff4b

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal