smolagents · lightweight code and tool Agents
AI resource index and instructions
Requirements and use guide
- A supported Python environment, model configuration and code-execution environment controlled under official guidance.
- Read executor guidance and configure dependencies and models in an isolated environment.
- Create a test Agent using minimal tools and public sample data.
- Inspect executed code, network access and results before expanding tasks.
Task example
Analyze a public sample CSV in a test environment and inspect generated code and calculations.
Limits
- CodeAgent may execute generated code; constrain runtime and permissions under official guidance.
- Model requests may leave the local machine; the deployment manages providers, data, tool permissions and logs.