smolagents
π€ smolagents: μ½λλ‘ μκ°νλ μμ΄μ νΈλ₯Ό μν μμ£Ό κ°λ²Όμ΄ λΌμ΄λΈλ¬λ¦¬μ λλ€.
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- bug_report.md
- doc_improvement.md
- feature_request.md
- build_documentation.yml
- build_pr_documentation.yml
- quality.yml
- tests.yml
- trufflehog.yml
- upload_pr_documentation.yml
- dependabot.yml
- intro_agents.md
- react.md
- async_agent.md
- multiagents.md
- plan_customization.md
- rag.md
- text_to_sql.md
- using_different_models.md
- web_browser.md
- agents.md
- default_tools.md
- models.md
- python_executors.md
- tools.md
- building_good_agents.md
- inspect_runs.md
- memory.md
- secure_code_execution.md
- tools.md
- _config.py
- _toctree.yml
- guided_tour.md
- index.md
- installation.md
- _config.py
- _toctree.yml
- index.md
- installation.md
- intro_agents.md
- react.md
- multiagents.md
- rag.md
- text_to_sql.md
- agents.md
- tools.md
- building_good_agents.md
- inspect_runs.md
- secure_code_execution.md
- tools.md
- _config.py
- _toctree.yml
- guided_tour.md
- index.md
- react.md
- async_agent.md
- multiagents.md
- plan_customization.md
- rag.md
- text_to_sql.md
- using_different_models.md
- web_browser.md
- agents.md
- models.md
- tools.md
- building_good_agents.md
- inspect_runs.md
- memory.md
- _config.py
- _toctree.yml
- guided_tour.md
- index.md
- installation.md
- intro_agents.md
- react.md
- multiagents.md
- rag.md
- text_to_sql.md
- web_browser.md
- agents.md
- models.md
- tools.md
- building_good_agents.md
- inspect_runs.md
- memory.md
- secure_code_execution.md
- tools.md
- _config.py
- _toctree.yml
- guided_tour.md
- index.md
- README.md
- main.py
- README.md
- requirements.txt
- cookies.py
- gaia_scorer.py
- mdconvert.py
- reformulator.py
- run_agents.py
- text_inspector_tool.py
- text_web_browser.py
- visual_qa.py
- analysis.ipynb
- app.py
- README.md
- requirements.txt
- run.py
- run_gaia.py
- visual_vs_text_browser.ipynb
- plan_customization.py
- README.md
- main.py
- README.md
- run.py
- score.ipynb
- agent_from_any_llm.py
- gradio_ui.py
- inspect_multiagent_run.py
- multi_llm_agent.py
- multiple_tools.py
- rag.py
- rag_using_chromadb.py
- sandboxed_execution.py
- structured_output_tool.py
- text_to_sql.py
- code_agent.yaml
- structured_code_agent.yaml
- toolcalling_agent.yaml
- __init__.py
- _function_type_hints_utils.py
- agent_types.py
- agents.py
- cli.py
- default_tools.py
- gradio_ui.py
- local_python_executor.py
- mcp_client.py
- memory.py
- models.py
- monitoring.py
- remote_executors.py
- serialization.py
- tool_validation.py
- tools.py
- utils.py
- vision_web_browser.py
- 000000039769.png
- agents.py
- tools.py
- markers.py
- __init__.py
- conftest.py
- test_agents.py
- test_all_docs.py
- test_cli.py
- test_default_tools.py
- test_final_answer.py
- test_function_type_hints_utils.py
- test_gradio_ui.py
- test_import.py
- test_local_python_executor.py
- test_mcp_client.py
- test_memory.py
- test_models.py
- test_monitoring.py
- test_remote_executors.py
- test_search.py
- test_serialization.py
- test_telemetry.py
- test_tool_validation.py
- test_tools.py
- test_types.py
- test_utils.py
- test_vision_web_browser.py
- .gitignore
- .pre-commit-config.yaml
- AGENTS.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- e2b.toml
- LICENSE
- Makefile
- pyproject.toml
- README.md
- SECURITY.md
# μ€μΉ κ°μ΄λ
git clone https://github.com/huggingface/smolagents
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd smolagents
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. 곡μ μ€μΉ μ€ν¬λ¦½νΈ
μ¬μ μΆμ²- Python 3 pip λͺ λ Ήμ΄λ₯Ό μ°λ €λ©΄ Pythonμ΄ νμν©λλ€.
pip install "smolagents[toolkit]"
PyPIμ λ°°ν¬λ ν¨ν€μ§λ₯Ό λ°λ‘ μ€μΉν©λλ€. μμ€ ν΄λ‘ μ΄ νμ μμ΅λλ€.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
3. Python
μ¬μpip install "smolagents[toolkit]"
PyPIμ λ°°ν¬λ ν¨ν€μ§λ₯Ό λ°λ‘ μ€μΉν©λλ€. μμ€ ν΄λ‘ μ΄ νμ μμ΅λλ€.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
4. Make
보ν΅- Git GitHubμμ νλ‘μ νΈ μ½λλ₯Ό λ΄λ €λ°μΌλ €λ©΄ νμν©λλ€.
- Make Linux/macOSλ λ³΄ν΅ κΈ°λ³Έ μ€μΉλμ΄ μμ΅λλ€. Windowsλ λ³λ μ€μΉ(μ: MSYS2, WSL)κ° νμν©λλ€.
make
μμ±λ λΉλ μ€μ μ λ°νμΌλ‘ μ€μ μ»΄νμΌμ μ§νν΄ μ€ν νμΌμ λ§λλλ€.
