Tác nhân & Đa tác nhân

smolagents

huggingface/smolagents

A lightweight Python library for building agents that use tools and execute code to solve tasks.

★ 29,8KSố sao
⑂ 3,1KFork
361Vấn đề đang mở
PythonNgôn ngữ
Apache-2.0Giấy phép
Q84Điểm biên tập

Tổng quan

smolagents offers a compact agent loop with tool-calling and code-executing agents. It is designed to keep agent logic small while allowing integrations with model providers, tools, and sandboxed execution environments.

Tính năng chính

  • CodeAgent and tool-calling patterns
  • Composable tools and agents
  • Provider integrations
  • Sandbox options for code execution

Yêu cầu, cài đặt và bắt đầu nhanh

Install the Python package with `pip install smolagents`; consult the official documentation for optional integrations.

Cách sử dụng

Create an agent, provide a model and a set of tools, then call it with a task. Use an appropriate sandbox when enabling generated code execution.

Khả năng tương thích của mô hình và trường hợp sử dụng

Supports multiple model providers through its integrations; check the current documentation for provider-specific setup.

Ghi chú về giấy phép và rủi ro

The repository declares Apache-2.0. Model, provider, and optional sandbox dependencies may have separate terms.

Phát hành và bảo trì

See the official repository for current releases and changes.

Firecrawl

firecrawl/firecrawl

★ 161,1KTypeScript

LangChain

langchain-ai/langchain

★ 143,6KPython

RAGFlow

infiniflow/ragflow

★ 86,7KGo