Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

adk-ollama

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adk-ollama

Google ADK connector for Ollama - use Ollama models with Google's Agent Development Kit

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

adk-ollama

Google ADK connector for Ollama - use Ollama models with Google's Agent Development Kit.

Installation

npm install adk-ollama

Peer Dependencies

npm install @google/adk @google/genai

Quick Start

import { Ollama } from "adk-ollama";
import { LlmAgent } from "@google/adk";

const llm = new Ollama({ model: "llama3" });

const agent = new LlmAgent({
  name: "my-agent",
  model: llm,
  description: "Agent powered by Ollama",
});

API

Ollama

new Ollama(config: OllamaConfig)

OllamaConfig

PropertyTypeDefaultDescription
modelstring-Ollama model name (e.g., "llama3", "phi4-mini:3.8b")
baseUrlstringhttp://localhost:11434Ollama server URL
timeoutnumber300000 (5 min)Request timeout in milliseconds

Alias

OllamaLlm is deprecated - use Ollama instead.

License

MIT

Keywords

ollama

FAQs

Package last updated on 03 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts