#513 · Primary category: AI Agents & Automation

forge

agentic-ai agentic-workflow agents function-calling llama-cpp llamafile llm ollama python self-hosted tool-calling

A Python framework for self-hosted LLM tool-calling and multi-step agentic workflows

Project last updated:08/30/26

GitHub Stars

2.2K

Forks

174

Contributors

8

License

MIT

Why we included this project

A local model gives you privacy and low cost, but the tool calling often breaks in ways that make it hard to trust. Forge wraps that loop and adds guardrails: it rescues malformed calls, nudges retries, and validates responses, and the project's own eval suite credits them with lifting a small 8B model from single digits to 84% success. The proxy is the quickest way to use it, since opencode, Continue, aider, and Claude Code can point at forge and keep working as if nothing changed. There's also a WorkflowRunner for structured agent loops with optional required steps and terminal tools, and a middleware mode for loops you already run. It works with Ollama, llama.cpp, Llamafile, vLLM, and Anthropic backends, which makes it a practical middle ground for teams that want self-hosting without hand-rolling the parsing.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category