ollama-agent-kit

niceunderground/ollama-agent-kit
★ 1 stars JavaScript AI/LLM Updated 3d ago
Lightweight multi-turn tool-calling agent loop for Ollama with built-in MCP client & server support.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ollama-agent-kit": {
      "command": "npx",
      "args": [
        "-y",
        "niceunderground/ollama-agent-kit"
      ]
    }
  }
}

README Excerpt

**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).

Tools (20)

apiKeyauthTokenbulbcreateAgenteditFileToolenableJsonResponsefetchhostincludeAlllistDirectoryToolmaxTurnsmcpmodelonFinalonToolCallonTurnpathportreadFileToolrunShellCommandTool

Topics

agentic-aijavascriptllmlocal-llmmcpmodel-context-protocolnodejsnpmollamaollama-agent-kittool-calling