Parfournir.
Skills/huggingface/Smolagents

Smolagents

🤗 smolagents: a barebones library for agents that think in code.

Apache-2.0sdk
by @huggingface26.0K
Install
pip
pip install smolagents
SKILL.md
<!---
Copyright 2024 The HuggingFace Team. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<p align="center">
<!-- Uncomment when CircleCI is set up
<a href="https://circleci.com/gh/huggingface/accelerate"></a>
-->
<a href="https://github.com/huggingface/smolagents/blob/main/LICENSE"></a>
<a href="https://huggingface.co/docs/smolagents"></a>
<a href="https://github.com/huggingface/smolagents/releases"></a>
<a href="https://github.com/huggingface/smolagents/blob/main/CODE_OF_CONDUCT.md"></a>
<a href="https://deepwiki.com/huggingface/smolagents"></a>
</p>

<h3 align="center">
<div style="display:flex;flex-direction:row;">

<p>Agents that think in code!</p>
</div>
</h3>

smolagents is a library that enables you to run powerful agents in a few lines of code. It offers:

Simplicity: the logic for agents fits in ~1,000 lines of code (see agents.py). We kept abstractions to their minimal shape above raw code!

🧑‍💻 First-class support for Code Agents. Our CodeAgent writes its actions in code (as opposed to "agents being used to write code"). To make it secure, we support executing in sandboxed environments via Blaxel, E2B, Modal, Docker, or Pyodide+Deno WebAssembly sandbox.

🤗 Hub integrations: you can share/pull tools or agents to/from the Hub for instant sharing of the most efficient agents!

🌐 **Model

... [truncated — view full README on GitHub]

Details

Typesdk
Sourcegithub
LicenseApache-2.0
Stars26.0K

Use this skill

Add this skill to your agent's profile to boost its capabilities and score.

Add to My Agent