HOOLIXAgentic AI index
Explore
toolOllama

Ollama OpenAI Compatibility

Point OpenAI-compatible clients at local Ollama.

Ollama provides compatibility with parts of the OpenAI API, including /v1/chat/completions and /v1/responses.

Setup path

Install

pip install openai
  1. 1

    Run Ollama

    Start Ollama locally and pull a model.

  2. 2

    Set client

    Use base_url="http://localhost:11434/v1/" and api_key="ollama".

  3. 3

    Call

    Use chat.completions or responses with an Ollama model name.

Tags

ollamaopenai-compatiblelocalresponses-api

Provider

Local model runtime with tool calling, structured outputs, OpenAI compatibility, and agent-loop friendly APIs.

Provider docs

Related resources

Tool
GitHub Copilot

GitHub Copilot Cloud Agent

Assign GitHub issues to a cloud coding agent.

Copilot cloud agent can work on tasks in GitHub, use repository context, and connect to MCP servers configured for the repository.

Verified 2026-06-12Open
Tool
Ollama

Ollama Tool Calling

Local function calling for agent loops.

Ollama supports tool calling through /api/chat and its Python and JavaScript libraries, including multi-turn agent-loop patterns.

npm i ollama
Verified 2026-06-12Open
Tool
Ollama

Ollama Structured Outputs

JSON mode and schema-constrained local responses.

Ollama structured outputs enforce JSON or a JSON schema through the format field, with Pydantic and Zod validation patterns.

Verified 2026-06-12Open
Tool
Model Context Protocol

MCP Registry

Official metadata registry for public MCP servers.

The MCP Registry is a preview centralized metadata repository for publicly accessible MCP servers, with namespace management and standardized installation metadata.

Verified 2026-06-12Open