psrtech/async-agentic-tools
Enable true asynchronous tool calls in agent frameworks with immediate acknowledgements and non-blocking result callbacks for continuous interaction.
What's novel
Enable true asynchronous tool calls in agent frameworks with immediate acknowledgements and non-blocking result callbacks for continuous interaction.
Code Analysis
11 files read · 3 roundsA Python library that enables non-blocking async tool execution for AWS Strands Agents (tools run in background threads, results delivered via callbacks), plus an experimental real-time voice chat application using Amazon Nova 2 Sonic with WebRTC echo cancellation.
Strengths
The async tool pattern is cleanly designed with proper thread safety, and the echo cancellation implementation using LiveKit's WebRTC APM with frame-aligned processing, dynamic delay estimation, and interruption handling is genuinely sophisticated. The voice module's thread-safe bridge (AsyncResultInput) between the sync thread pool and async event loop is well thought out.
Weaknesses
Zero tests despite non-trivial concurrency logic (thread pool callbacks, queue draining, frame alignment), and the main README is completely dishonest — describing a Windows GUI app for non-developers when the code is a Python 3.14 developer library requiring AWS credentials and specific API keys.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
17
Contributors
2
Files
19
Active weeks
3
Repository
Language
Python
Stars
2
Forks
0
License
MIT-0