Skip to main content
The Agent Development Kit (ADK) is a modular, model-agnostic framework developed by Google for building AI agents. It supports workflows, tool usage, multimodal input/output, and evaluation — making it ideal for flexible, interactive agents.

Multimodal input

Understand and process images alongside text in a single agent workflow.

Tool usage

Call external tools and APIs at any step of your agent’s reasoning loop.

Visual to code

Turn a visual mockup into a working web page automatically.

Model-agnostic

Swap LLM providers without rewriting your agent logic.

Prerequisites

Setup

Create and activate a virtual environment

Install the required libraries

litellm acts as a proxy between ADK and SambaCloud’s OpenAI-compatible API — no custom provider code needed.

Set your SambaCloud API key

Never commit your API key to source control. Add it to .gitignore if you use a .env file.

Configure the model

Use ADK’s LiteLlm wrapper to point your agent at SambaCloud. LiteLLM reads SAMBANOVA_API_KEY from the environment automatically.
Replace Meta-Llama-3.3-70B-Instruct with any model ID from the SambaCloud models page.

Example use case

To see ADK and SambaCloud working together, check out the multimodal agent example. This example demonstrates how to:

Process images

Understand and reason over visual inputs inside an ADK workflow.

Use external tools

Call APIs and services at any step of the agent’s reasoning loop.

Mockup to web page

Convert a visual design into a simple, functional web page automatically.

Troubleshooting

Confirm the variable is exported in your current shell:
Re-export if empty: export SAMBANOVA_API_KEY="your-api-key". Verify the key is active in the SambaCloud portal.
Confirm litellm is installed in your active virtual environment:
If missing, run pip install litellm. Ensure your virtual environment is activated before running the agent.
ADK expects tools to return serializable values. Check that your tool functions return strings, dicts, or lists — not custom objects. See the ADK tool documentation for supported return types.

Additional resources

ADK multimodal example

Runnable source code for the multimodal agent.

ADK documentation

Official reference for agents, tools, and advanced features.
Next steps: Swap the multimodal example’s default model for any SambaCloud-supported model and extend the agent with your own tools.