ToolLoop: Open-Source Agent Framework for Claude-Style Tools with Any Model

What ToolLoop Does
ToolLoop is an open-source Python framework built to provide Claude Code-style functionality without being locked into a single provider. The framework includes 11 tools covering file operations, code search, shell access, and sub-agents, and works with any LLM through LiteLLM integration.
Key Features
- Open-source framework written in Python
- Approximately 2,700 lines of code
- 11 built-in tools: file operations, code search, shell, sub-agents
- Works with any LLM through LiteLLM
- Supports any model on Bedrock (DeepSeek, Llama, Mistral) or any API (OpenAI, Moonshot, local endpoints)
- Switch models mid-conversation with shared context
- Same tools and prompts work across different models
Code Example
Here's the SDK usage example from the source:
from sdk import query, ToolLoopOptions
async for event in query(
prompt="Find all TODO comments, fix them, run the tests",
options=ToolLoopOptions(
model="bedrock/converse/deepseek.v3.2",
allowed_tools=["Read", "Edit", "Grep", "Glob", "Bash"],
),
):
print(event)
You can swap deepseek.v3.2 for any model while maintaining the same tools and prompt structure.
Who This Is For
Developers who want Claude Code-style agent functionality but need flexibility to use different models across various providers and local setups.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Open Source Browser Tool for Testing MCP Servers Without Installation
An open source web tool called MCP Playground lets developers test MCP servers directly in their browser using WebContainers, a WASM Node.js runtime. It can run npm-based MCP servers locally without backend installation and connect to remote servers via URL.
GitHub's Project HydraFusion: Multi-Model Orchestration for Frontier-Quality AI Coding
GitHub Copilot's HydraFusion research preview orchestrates multiple models per task, choosing between single, cascade, or critique workflows. Benchmarks show 4.9-point quality gain at 67% lower cost vs Claude Opus 5.
OpenClaw Mock API for Building Tools/Integrations Against the Gateway
An open source mock of the OpenClaw gateway WebSocket API using Imposter. Supports chat.send/history, session create/list, agent list, model list. Extend with YAML and JSON.

Reddit user measures MCP token overhead: 67K tokens consumed before any question
A developer measured their MCP server token overhead at 67,000 tokens consumed before typing a single question, with Playwright MCP using 13,600 tokens and GitHub MCP using 18,000 tokens idle. They replaced MCP with skills and CLI tools for lower context costs.