Skip to content

Fix/realtime#43

Merged
Iamsdt merged 5 commits into
mainfrom
fix/realtime
Jun 16, 2026
Merged

Fix/realtime#43
Iamsdt merged 5 commits into
mainfrom
fix/realtime

Conversation

@Iamsdt

@Iamsdt Iamsdt commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces several important updates and documentation improvements for the Agentflow CLI, with a focus on supporting realtime (audio-to-audio) agents, clarifying versioning, and enhancing user experience. The most significant changes are grouped below.

Realtime (audio) agent support:

  • Added comprehensive documentation for building and running realtime, full-duplex audio agents (Gemini Live) using the new AudioAgent and related APIs. This includes installation instructions, API usage, lifecycle hooks, reconnection logic, and a WebSocket bridge for the API server. [1] [2] [3] [4] [5]
  • Updated architecture and prebuilt agent/tool references to document AudioAgent, LiveInputQueue, RealtimeConfig, and new realtime event types. [1] [2] [3]

Reliability and configuration improvements:

  • Documented new features for LLM call timeouts (env var and API), and a circuit breaker mechanism in RetryConfig to skip failing model targets after repeated errors. [1] [2]

User experience enhancements:

  • Added a post-installation activation hint to the agentflow skills command, instructing users to restart their agent/editor to load newly installed skills.

Versioning and release process:

  • Switched CLI versioning to be single-sourced from distribution metadata, eliminating previous inconsistencies between pyproject.toml, CLI_VERSION, and agentflow_cli.__version__. Documentation is updated to reflect this. [1] [2]
  • Added a new GitHub Actions workflow (.github/workflows/release.yml) to automate building, verifying, and attaching release artifacts when a version tag is pushed.

Legal/compliance:

  • Added an MIT license file to the repository.

Iamsdt added 5 commits June 16, 2026 12:22
- Added WebSocketConfig class to manage WebSocket connection limits from agentflow.json.
- Introduced a connection guard for WebSocket endpoints to enforce global rate limits and per-process connection caps.
- Refactored RateLimitMiddleware to utilize a shared client key derivation for both HTTP and WebSocket connections.
- Created tests for WebSocket authentication and connection guard to ensure proper functionality and error handling.
- Enhanced GraphService to support real-time audio sessions over WebSocket with appropriate session configuration.
@Iamsdt Iamsdt merged commit 6cb50dd into main Jun 16, 2026
@Iamsdt Iamsdt deleted the fix/realtime branch June 16, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant