🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
AI workbench for evals, RAG, agents, and fine-tuning
Kiln combines a desktop app and an open-source Python library for the full AI development loop. You can create datasets, run evals, optimize prompts, generate synthetic data, build RAG workflows, and tune models without switching tools.
Builders who want to test, improve, and ship AI tasks with one local workflow.
You can keep the same dataset and task across evals, optimization, fine-tuning, and deployment instead of rebuilding each step.
What it does
Eval builder
Creates evals and synthetic eval datasets so you can measure outputs against your own task.
Auto-optimize
Searches across prompt changes, model choices, tools, skills, subagents, and parameters to find better runs.
RAG workflows
Lets you drag in documents like PDFs, images, video, and audio to build retrieval setups and eval them.
Subagents
Supports multi-agent hierarchies where each agent runs in its own focused context window.
Synthetic data generation
Generates training or evaluation data from your tasks and documents.
Fine-tuning support
Runs zero-code fine-tuning across many models and providers, with serverless deployment options.
Python library and REST API
Lets you load Kiln projects and run the same tasks from code, notebooks, or production systems.
Git-based collaboration
Syncs work through Git so teams can review and contribute without needing the app open.
How to get it
- 1Build AI tasks in the app. Deploy with the open-source library. Same engine, same…
pip install kiln-ai
README
A free app and open-source library to build better AI products.
Highlights • Evals • Auto-Optimize • RAG • Agents • Fine-Tuning • Synthetic Data • All Docs
What is Kiln?
Kiln is a workbench for the full AI development loop: evals, optimization, prompts, RAG, fine-tuning, synthetic data, agents, and tools - all working together. The desktop app lets your whole team contribute (PMs, subject-experts, and QA can rate outputs and add data without writing code). The MIT-licensed Python library ships the same tasks to production. Runs locally - bring your own API keys, or go fully offline with Ollama.
Highlights
Iterate, optimize, and collaborate
- 🖥️ Intuitive app - Easy-to-use apps for Mac, Windows, and Linux. One-click install.
- 📊 Eval Builder - Auto-generate evals (judge + synthetic eval dataset), and align to your preference in ~10 minutes.
- 🚀 Auto-Optimize - Automatically find the best way to run your AI task, optimizing prompt, model selection, tools, skills, subagents, parameters, and more.
- 💬 AI Assistant - Your AI data-science partner. Kiln Assistant proposes improvements, optimizes prompts, runs experiments, creates evals, and more.
- 🤝 Git-native collaboration - The app syncs to Git automatically — even for teammates who don't know what Git is.
Build & ship agents
- 🔍 RAG - Drag-and-drop docs (PDF, image, video, audio) to create a RAG. Auto-generated RAG evals from your own documents.
- 🤖 Subagents - Compose multi-agent hierarchies. Each runs in its own focused context window.
- 🪄 Synthetic Data Generation - Generate data for evals or fine-tuning in minutes.
- 🎛️ Fine-Tuning - Zero-code fine-tuning across 60+ models (Qwen, Llama, GPT, Gemini, …) on Fireworks, Together, and Vertex. Serverless deployment included.
- 🐍 Open Python library - Agents built in the app can be deployed to production. MIT open-source.
- 🧰 …and more - Tools & MCP, Skills, structured outputs, reasoning models, model library (190+ tested).
App Quickstart
Get started in minutes - one-click install.
Download Kiln Desktop for macOS, Windows, or Linux, then follow the 5-minute quickstart to run your first task.
Prefer to start in code? See the Python library quickstart.
Demo
Watch a 2-minute overview, or our end-to-end project demo (20 minutes).
Why Kiln?
Most AI tooling forces a tradeoff: a code-only framework that covers one slice (orchestration or evals or RAG), or a paid SaaS that locks in your data and can't be extended. Kiln is a free, local-first workbench where a single task and dataset flow through evals, prompt optimization, fine-tuning, RAG, agents, and synthetic data — all in one tool.
-
One dataset, every technique. Define a task once. Eval it, optimize the prompt, fine-tune a model, generate synthetic data, add RAG — all against the same dataset, with results that compound across stages.
-
Track every axis. Move fast. Don't regress. Keeping agents running well is hard — a prompt change quietly regresses behavior three steps downstream; a model upgrade improves five things and breaks two. Kiln tracks quality across every dimension you care about, so you iterate without breaking what already works.
-
Optimization, not just evaluation. Other tools tell you how a prompt scores, but not how to fix it. Kiln's Auto-Optimize searches across hundreds of prompt mutations and models to find what works best for every eval dimension.
-
GUI for the whole team, library for engineers. Kiln's desktop app lets PMs rate outputs, SMEs add training examples, and QA flag regressions — without a terminal. Engineers ship the same tasks via an MIT-licensed Python library. Data scientists can use the library in notebooks and experiments.
-
Local-first. Most AI platforms are SaaS-only. Kiln runs entirely on your machine. Bring your own API keys, or go fully offline with Ollama. Your data never leaves your control. Team-sync is provided via Git infrastructure you already own.
-
190+ models tested across every provider. Skip the guesswork — we've tested every model's capabilities across all major providers. OpenAI, Anthropic, Gemini, Bedrock, Ollama, OpenRouter, Fireworks, Groq, any OpenAI-compatible endpoint, and more. Swap models with confidence.
Open-source Python Library
Build AI tasks in the app. Deploy with the open-source library. Same engine, same project files, no rewrite. The MIT-licensed kiln-ai library is the same library used in the app. Load Kiln projects, run tasks, build fine-tunes, work in notebooks, integrate Pandas/Polars dataframes, and more.
pip install kiln-ai
📚 Library docs · REST API · PyPI
Docs
Full docs at docs.kiln.tech. Common starting points:
- Quickstart — run your first task in 5 minutes
- Evals
- Auto-Optimize
- RAG
- Agents
- Fine-Tuning
- Python Library
- End-to-end project demo (20-min video)
Community
- Chat with the community on Discord.
- Subscribe to the newsletter for new features.
- File issues, request features, or open a discussion on GitHub.
Contributing
See CONTRIBUTING.md for development setup and contribution guidelines.
License & Trademarks
Kiln's core Python library and REST server are MIT-licensed. The desktop app is source-available, free to use, and built on the fair-code model — so Kiln stays free for individuals while remaining sustainable.
Datasets are open JSON. You own and control your datasets.
Kiln Pro is our service that adds the AI Assistant, Auto-Optimize, and the Eval Builder. It's opt-in, and the core Kiln app remains fully functional without it.
The Kiln name and logos are trademarks of Chesterfield Laboratories Inc.
Copyright 2024 — Chesterfield Laboratories Inc.
Files in the repo
- .agents
- .config
- .github
- .vscode
- app
- docs
- libs
- specs
- .gitignore
- AGENTS.md
- checks.sh
- conftest.py
- CONTRIBUTING.md
- LICENSE.txt
- Makefile
- pyproject.toml
- README.md
- uv.lock
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More tools
The best-benchmarked open-source AI memory system. And it's free.
Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
Never stop coding. Free MIT AI gateway: one endpoint, 352 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 550+ contributors
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.