**ollama-agent-kit** is a minimal Node.js library for building autonomous, tool-calling AI agents on local LLMs with [Ollama](https://ollama.com). It provides an agent loop with function calling and a unified tool registry that merges **local tools** (defined with [Zod](https://zod.dev) schemas) and **MCP tools** (loaded from external [Model Context Protocol](https://modelcontextprotocol.io) servers).