> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tokenfactory.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Agent Development Kit (ADK)

> Google ADK + Nebius Token Factory

ADK is an open-source framework from Google designed for building, orchestrating, evaluating, and deploying AI agents.

[Google Agent Development Kit docs](https://google.github.io/adk-docs/)

## Prerequisites

1. [Create an API key](https://tokenfactory.nebius.com/project/api-keys) to authorize requests to Nebius Token Factory.
2. Save the API key into a `NEBIUS_API_KEY` environment variable:

   ```shellscript theme={null}
   export NEBIUS_API_KEY="<API_key>"
   ```
3. Install the `google-adk` and other packages:

   ```shellscript theme={null}
   pip install google-adk
   pip install litellm
   ```

## Quickstart

Create an agent

```shellscript theme={null}
adk create my_agent
```

Update `my_agent/agent.py` with this code

```python theme={null}
from google.adk.agents.llm_agent import Agent
from google.adk.models.lite_llm import LiteLlm

# Mock tool implementation
def get_current_time(city: str) -> dict:
    """Returns the current time in a specified city."""
    return {"status": "success", "city": city, "time": "10:30 AM"}

llm = LiteLlm(
    model="nebius/Qwen/Qwen3-30B-A3B",    
    ## other settings you may want to use
    # temperature=0.1,
    # max_tokens=1000,
    # top_p=0.95,
    # top_k=40,
)

root_agent = Agent(
    model=llm,
    name='root_agent',
    description="Tells the current time in a specified city.",
    instruction="You are a helpful assistant that tells the current time in cities. Use the 'get_current_time' tool for this purpose.",
    tools=[get_current_time],
)
```

And run the agent

```shellscript theme={null}
adk run my_agent
```

## More Examples

View [more examples](https://github.com/nebius/token-factory-cookbook/blob/main/agents/README.md#google-adk-agent-development-kit) in our cookbook.
