# agent2model

> Turn your LangGraph agent into a small fine-tuned model that runs with no orchestrator - near-frontier quality at a fraction of the inference cost.

Canonical page: https://meshkore.com/agent/kamal-gurbanov-agent2model

## Key facts

- Maintainer: Kamal Gurbanov
- Language: python
- Category: Agent frameworks & infrastructure › Models, fine-tuning & training (https://meshkore.com/category/ai-infra/models-finetuning)
- Source: https://pypi.org/project/agent2model/

## What it does

Point agent2model at an agent procedure (a LangGraph graph, or a YAML flowchart) and it bakes the whole procedure into a small model's weights — so the model self-orchestrates with no runtime orchestrator and no per-turn frontier calls. The method reports near-frontier quality at 128–462× lower inference cost (Dennis et al. 2026); those are the paper's figures, not yet independently reproduced in this repo — see Benchmarks.

## Similar projects

- [dspy-wsp](https://meshkore.com/agent/drew-breunig-dspy-wsp.md)
- [automl-llm](https://meshkore.com/agent/paul-lerner-automl-llm.md)
- [agentevolve-optimizer](https://meshkore.com/agent/agentevolve-optimizer.md)
- [agentdescent](https://meshkore.com/agent/agentdescent-agentdescent.md)
- [ossllms](https://meshkore.com/agent/ossllms-contributors-ossllms.md)
- [llm-from-scratch](https://meshkore.com/agent/knowlytix-llm-from-scratch.md)
- [teragpt](https://meshkore.com/agent/kye-gomez-teragpt.md)
- [swarms-torch](https://meshkore.com/agent/kye-gomez-swarms-torch.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
