dead-code
Prompts · Python · v0.1.0
Find unused functions and dead code in the codebase
#agents#claude-code#claude-code-cli
Async REPL Protocol
by parcadei · updated 8mo ago · imported from GitHub
When working with Agentica's async REPL harness for testing.
await for Future-returning toolscontent = await view_file(path) # NOT view_file(path)
answer = await ask_memory("...")
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)
No comments yet — start the thread.
Sign in to join the discussion.
Prompts · Python · v0.1.0
Find unused functions and dead code in the codebase
#agents#claude-code#claude-code-cli
Prompts · Python · v0.1.0
Agent Context Isolation
#agents#claude-code#claude-code-cli
Prompts · Python · v0.1.0
Agent Orchestration Rules
#agents#claude-code#claude-code-cli
Prompts · Python · v0.1.0
Agentic Workflow Pattern
#agents#claude-code#claude-code-cli