Agentes e multiagente

Unsloth: Local Model Training, Inference, and Agent Integration

unslothai/unsloth

Unsloth is a Python-based, self-hosted toolkit with a beta web UI and code-based core for running, fine-tuning, exporting, and serving language, vision, audio, and embedding models locally.

★ 69,4KEstrelas
⑂ 6,3KForks
980Problemas em aberto
PythonIdioma
Apache-2.0Licença
Q@project.QualityScorePontuação editorial

Visão geral

Unsloth provides two main interfaces: Unsloth Studio, a web UI for local model workflows, and Unsloth Core, a code-based package. Studio supports model discovery, inference, dataset preparation, training, reinforcement learning, observability, export, and compatible API endpoints. The repository also describes integrations for local agents, MCP clients, external API providers, vLLM, and Ollama.

Principais recursos

  • Beta web UI for local inference, training, dataset preparation, monitoring, and export
  • Code-based Unsloth Core package
  • Support for text, audio, embedding, and vision workflows
  • GGUF, LoRA adapter, and safetensors model handling
  • LoRA, QLoRA, full fine-tuning, reinforcement learning, pretraining, 4-bit, 16-bit, and FP8 workflows
  • OpenAI-compatible /v1/chat/completions and /v1/responses endpoints
  • Anthropic-compatible /v1/messages endpoint
  • Agent integration through the unsloth start command
  • Opt-in MCP endpoint for controlling models, training, recipes, checkpoints, and exports
  • Web and PDF search, tool calling, and sandbox or artifact code execution
  • Model comparison using the same prompt
  • Multi-GPU and GGUF hardware-placement controls
  • Training observability for loss and GPU usage
  • Connections to OpenAI, Anthropic, vLLM, and Ollama

Requisitos, instalação e início rápido

For Unsloth Studio on macOS, Linux, or WSL, run `curl -fsSL https://unsloth.ai/install.sh | sh`. On Windows PowerShell, run `irm https://unsloth.ai/install.ps1 | iex`. A Docker image is also identified as `unsloth/unsloth`. For Unsloth Core on Linux or WSL, install uv, create and activate a Python 3.13 environment, then run `uv pip install unsloth --torch-backend=auto`. Windows Core setup similarly uses Python 3.13 and uv. AMD and Intel installations require the platform-specific documentation.

Uso

Launch Studio with `unsloth studio -p 8888`; it binds to localhost by default. For a local agent, start Studio, load a model, open the project directory, and run a supported command such as `unsloth start claude` or `unsloth start codex`. The repository also documents `unsloth start claude --as-subagent --model unsloth/model-GGUF:quant` for subagent use. Use `unsloth studio --secure` for access through a Cloudflare HTTPS tunnel, or `-H 0.0.0.0` for a raw network bind subject to firewall configuration.

Compatibilidade do modelo e casos de uso

The supplied record identifies Kimi, Gemma, Qwen, DeepSeek, GLM, gpt-oss, Llama, Mistral, Phi, embedding, vision, and text-to-speech model families. Studio can search, download, and run GGUF files, LoRA adapters, and safetensors. The README claims training and reinforcement-learning support for more than 500 models. Compatibility varies by model format, operating system, hardware backend, and workflow; a complete compatibility matrix is available through the project documentation rather than the supplied metadata.

Observações sobre licença e riscos

The repository metadata declares the Apache-2.0 SPDX license. Detailed dependency, model-weight, dataset, and third-party service license terms are not stated in the repository metadata and may differ from the repository's own license.

Lançamento e manutenção

The supplied README highlights AMD training support, expanded GGUF hardware controls, local-agent connections, an MCP control endpoint, inference reliability work, newer model integrations, embedding fine-tuning, longer-context reinforcement learning, Triton kernels, packing improvements, and FP8 or vision reinforcement learning. Formal version numbers and release dates are not stated in the supplied repository record.

Firecrawl

firecrawl/firecrawl

★ 161,1KTypeScript

LangChain

langchain-ai/langchain

★ 143,6KPython

RAGFlow

infiniflow/ragflow

★ 86,7KGo