Pickle serialisation process & LazyLoad tools documentation
- Dominant language
- Shell
- Stars
- 1.5k
- Forks
- 1.3k
- Avg merge
- 7d 1h
- Merged PRs (30d)
- 34
Description
**Is your feature request related to a problem? Please describe.**
When deploying agents to Vertex AI using ADK's agent_engines.create(), environment variables specified in
AdkApp.env_vars are not available when toolsets are initialised during the pickle serialisation process. This causes
pickled toolsets to retain configuration values from the deployment environment rather than reading from the runtime environment.
Impact
This behaviour breaks environment specific configuration patterns and forces developers to implement complex workarounds using lazy loading and custom pickle serialisation to defer toolset creation until runtime.
https://github.com/google/adk-python/issues/3208
**Describe the solution you'd like**
Clear documentation about lazy loading toolsets and agent engine pickle serialisation proces.
Contributor guide
Assessment
This issue has not been assessed yet.