Skip to content

Conversation

@contextablemark
Copy link
Member

Version 0.3.0 - Tool support added

mefogle and others added 3 commits July 6, 2025 21:48
- Fix session attribute references from lastUpdateTime to last_update_time
- Update tests in test_session_memory.py and test_session_deletion.py
- Ensure consistency with session_manager.py implementation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
This major release implements full tool support enabling AG-UI Protocol tools
to execute within Google ADK agents through an advanced asynchronous architecture.

### New Features:
- Complete tool execution system with ExecutionState, ClientProxyTool, and ClientProxyToolset
- Background execution support via asyncio tasks with proper timeout management
- Comprehensive timeout configuration (execution and tool-level)
- Concurrent execution limits with automatic cleanup
- 138+ comprehensive tests with 100% pass rate (77% code coverage)
- Production-ready error handling and resource management

### New Files:
- src/adk_middleware/execution_state.py - Manages background ADK execution state
- src/adk_middleware/client_proxy_tool.py - Bridges AG-UI tools to ADK tools
- src/adk_middleware/client_proxy_toolset.py - Dynamic toolset creation
- examples/comprehensive_tool_demo.py - Complete working example
- tests/test_*.py - Comprehensive test coverage for all tool features

### Enhanced:
- ADK agents now run in background asyncio tasks while client handles tools
- Queue-based communication prevents deadlocks
- Tool call IDs properly use ADK function call IDs for consistency
- Enhanced logging throughout tool execution flow

### Updated Documentation:
- README.md with practical tool examples (human-in-the-loop, document generation)
- CHANGELOG.md documenting v0.3.0 release
- Realistic business scenarios based on dojo patterns

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@contextablemark contextablemark merged commit 64b93f0 into adk-middleware Jul 7, 2025
@contextablemark contextablemark deleted the feature/tool-support branch July 7, 2025 08:41
contextablemark pushed a commit that referenced this pull request Sep 20, 2025
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.

3 participants