Hey everyone — like many of you, I was blown away by Claude Code’s agentic workflow: the way it reads files, edits code, runs shell commands, and chains everything together in a loop. It completely changed how I code. But I kept running into the same frustration: it only works with Claude. I wanted the same tool-use experience with DeepSeek (which is 5x cheaper for routine tasks), GPT for certain workloads, and the flexibility to switch models mid-conversation. So we built ToolLoop — an open-source Python framework that gives you Claude Code-like capabilities with any LLM. What it does: 11 built-in tools (Read, Write, Edit, Glob, Grep, Bash, WebFetch, WebSearch, Agent, Skill, AskUser) Works with any LLM via LiteLLM — DeepSeek, Claude, GPT, Llama, Gemini, all through one interface Switch models mid-conversation — start cheap with DeepSeek ($0.62/M tokens), escalate to Claude ($3/M) when you need it Production-ready API (FastAPI + WebSocket) with Docker sandbox isolation Compatible with the skill format — load community skills instantly The entire framework is ~2,700 lines of Python. Hackable in an afternoon. What it’s NOT: Not a clone or fork of Claude Code. Clean-room implementation, original code. Not trying to replace Claude Code — it’s great if you’re all-in on Anthropic. This is for people who want model flexibility. GitHub: https://github.com/zhiheng-huang/toolloop Would love feedback from the community. What tools or features would you want to see added? submitted by /u/True-Snow-1283
Originally posted by u/True-Snow-1283 on r/ArtificialInteligence
