adk-python
adk-python copied to clipboard
An open-source, code-first Python toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control.
Similarly to tools, model's sub_agents are often need to be dynamically configured: based on the session's state, current user's permissions or some other factors. Tools can be dynamically configured using...
**Describe the bug** When I use a AuthenticatedFunctionTool, only the first call of the first user is asked for authentication. Then, the other users, on the same instance won't have...
### Link to Issue or Description of Change **1. Link to an existing issue (if applicable):** - Closes: #3772 **Problem:** The credential was asked only for the first user connected...
When building deterministic, non-LLM-driven workflows with SequentialAgent, there's no way to conditionally include/exclude sub-agents based on runtime parameters (e.g., session.state). The core problem is that root_agent must be fully constructed...
fix: Use model_validate instead of model_copy for EventActions deserialization Fixes #3633 ## Problem When using DatabaseSessionService, nested Pydantic models in EventActions (specifically EventCompaction) were incorrectly deserialized as dictionaries instead of...
### Is your feature request related to a problem? Please describe. The Python ADK currently lacks a straightforward, serverless, and "happy path" solution for persistent session management in a Google...
**Please ensure you have read the [contribution guide](https://github.com/google/adk-python/blob/main/CONTRIBUTING.md) before creating a pull request.** ### Link to Issue or Description of Change **1. Link to an existing issue (if applicable):** -...
https://github.com/google/adk-python/blob/cf21ca358478919207049695ba6b31dc6e0b2673/src/google/adk/plugins/bigquery_agent_analytics_plugin.py#L465C21-L465C21 The BigQueryAgentAnalyticsPlugin currently requires bigquery.datasets.create and bigquery.tables.create permissions even when the custom target dataset and table already exist. This occurs because the plugin attempts to create resources during initialization...
**Describe the bug** Using `SaveFilesAsArtifactsPlugin` works fine until the file gets too big. Uploading a PDF with around 5MB - ✅ Uploading a PDF with around 50MB - ❌ **Error**:...
** Please make sure you read the contribution guide and file the issues in the right place. ** [Contribution guide.](https://google.github.io/adk-docs/contributing-guide/) **Describe the bug** When making call to a2a remote agent,...