google adk with local llm agent
We all wanted our agent to be running 24 hours a day to boost productivity and that normally requires a local LLM. agent. Today we are going to look into setting Qwen3.8 local model using unsloth studio. First we get unsloth (under the hood it is using llama.cpp) and generate an API token. Then we will proceed to create python env and setup our packages. uv venv uv init uv add google-adk litellm litert-llm ollama openai Lets' go and create your app name by running the command below :- adk create app This will create a directory and some basic scaffolding files Next we will update agent.py with the following code :- from google . adk . agents . llm_agent import LlmAgent from google . adk . models . lite_llm import LiteLlm # Create a LiteLLM model pointing to your local server model = LiteLlm ( model = "openai/empero-ai/Qwen3.8-2B-Distill-GGUF" , api_base = "http://localhost:8888/v1" , # Your local server ...