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

Claude Code Session Dashboard: Open Source Tool for Monitoring Multiple Sessions
An open-source dashboard that monitors multiple Claude Code sessions simultaneously, showing token usage, costs, session status, context window usage, and active subagents. Installation requires three commands: git clone, cd, and npm install && npm start.

Chat Saver CG: Browser Extension Built with Claude Exports Conversations Across 12 AI Platforms
A developer built Chat Saver CG, a browser extension that exports and transfers conversations between Claude, ChatGPT, Gemini, and 9 other AI platforms, using Claude extensively for development including architecture decisions, debugging DOM parsing issues, and writing adapter logic.

Revise: AI Editor Built with Agentic Coding Tools and Y.js CRDT
Revise is an AI editor for documents built from scratch over 10 months using agentic coding tools, with a custom word processor engine and rendering layer that only uses Y.js for the CRDT stack. It integrates multiple AI models including GPT-5.4 variants and Claude models for proofreading and revision.

VectorClaw v1.0.0: MCP Server for Anki Vector Robot Control
VectorClaw v1.0.0 is an MCP server that enables OpenClaw to control Anki Vector robots through 23 specific tools for speech, motion, perception, sensors, and display functions.