smolagents SKILL.md skillA

smolagents from svngoku/coding-agents-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add svngoku/coding-agents-skills/smolagents@git:20260813.422f18d

Pins git:20260813.422f18d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
svngoku/coding-agents-skills
Path
skills/smolagents/SKILL.md
Versions recorded
3
Latest version
git:20260813.422f18d, committed Aug 13, 2026
First version recorded
Jan 9, 2026
Size
15,398 bytes
Repository stars
12
License
MIT

Build AI agents with Hugging Face's SmolAgents framework. Use when creating code-executing agents, tool-calling agents, multi-agent systems, agentic RAG, text-to-SQL pipelines, web browsing agents, or any multi-step AI workflows. Covers CodeAgent, ToolCallingAgent, custom tools, MCP integration, memory management, secure code execution (E2B, Docker, Blaxel), and model configuration (HF Inference, LiteLLM, Transformers, Ollama).

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# SmolAgents - Hugging Face AI Agent Framework

SmolAgents is a minimalist Python library (~1000 lines) for building AI agents that write and execute code. It emphasizes simplicity, security, and model-agnostic design.

## Installation

```bash
pip install smolagents                    # Core library
pip install 'smolagents[toolkit]'         # With default tools (web search, etc.)
pip install 'smolagents[litellm]'         # LiteLLM for OpenAI/Anthropic
pip install 'smolagents[transformers]'    # Local model support
pip install 'smolagents[mcp]'             # MCP server integration
pip install 'smolagents[telemetry]'       # OpenTelemetry support
```

## Core Concepts

### Agent Types

**CodeAgent** - Primary agent that writes Python code to execute actions:
```python
from smolagents import CodeAgent, InferenceClientModel

model = InferenceClientModel()  # Default: Qwen/Qwen2.5-Coder-32B-Instruct
agent = CodeAgent(tools=[], model=model)
result = agent.run("Calculate the first 20 Fibonacci numbers")
```

**ToolCallingAgent** - Uses JSON-based tool calls (no code execution):
```python
from smolagents import ToolCallingAgent, InferenceClientModel
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add svngoku/coding-agents-skills/smolagents@sha256:fc15e698069fca79

The line at the top of this page pins the label git:20260813.422f18d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_3uywrziozt2bzjo5.svg)](https://markdownregistry.com/a/art_3uywrziozt2bzjo5)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Jan 9, 2026 and Aug 13, 2026, about one every 108 days. Its first recorded version is graded C and its latest A.

versioncommittedcommitsizeaudit
git:20260813.422f18d latest2026-08-13 422f18d 15,398 BA view · diff
git:20260109.89a46162026-01-09 89a4616 13,741 BA view · diff
git:20260109.9c123dc2026-01-09 9c123dc 0 BC view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (15398 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

svngoku/coding-agents-skills · 12 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_3uywrziozt2bzjo5
GET https://markdownregistry.com/api/v1/resolve?ref=svngoku/coding-agents-skills/smolagents
GET https://markdownregistry.com/api/v1/blob/fc15e698069fca79dfe2b8e92df9efcdbb3675a77ebb3f061ac35b61ea1ef5ff

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from svngoku/coding-agents-skills

AGENTS.md AGENTS.md file
svngoku/coding-agents-skills · AGENTS.md
git:20261019.1a0654c · audit A · 12 stars
adaption-ai SKILL.md skill
svngoku/coding-agents-skills · skills/adaption-ai/SKILL.md · Adaption AI SDK for synthetic data augmentation and dataset adaptation. Use when building data pipelines with the…
git:20261013.980e7e1 · audit A · 12 stars
api-design SKILL.md skill
svngoku/coding-agents-skills · skills/api-design/SKILL.md · Design and review intuitive, scalable, maintainable HTTP APIs. Use this skill whenever the user wants to design a new…
git:20260813.4b33420 · audit A · 12 stars
database-design SKILL.md skill
svngoku/coding-agents-skills · skills/database-design/SKILL.md · Design relational database schemas (and choose when to go NoSQL) that stay maintainable and fast. Use this skill…
git:20260813.4b33420 · audit A · 12 stars
ddd SKILL.md skill
svngoku/coding-agents-skills · skills/ddd/SKILL.md · Domain-Driven Design system for software development. Use when designing new systems with DDD principles, refactoring…
git:20261013.980e7e1 · audit A · 12 stars
genai-tk SKILL.md skill
svngoku/coding-agents-skills · skills/genai-tk/SKILL.md · Build GenAI and agentic apps with genai-tk (tclatos/genai-tk), a YAML-driven IoC toolkit over LangChain, DeepAgents…
git:20261013.09dd77b · audit A · 12 stars
langchain SKILL.md skill
svngoku/coding-agents-skills · skills/langchain/SKILL.md · Build AI agents with LangChain v1 and LangGraph in Python. Use this skill whenever the user mentions LangChain…
git:20261018.63db2d6 · audit A · 12 stars
microservices-patterns SKILL.md skill
svngoku/coding-agents-skills · skills/microservices-patterns/SKILL.md · Decompose systems into microservices and apply canonical distributed-systems patterns. Use this skill whenever the user…
git:20260813.4b33420 · audit A · 12 stars
performance-optimization SKILL.md skill
svngoku/coding-agents-skills · skills/performance-optimization/SKILL.md · Systematically find and fix performance problems in applications, frontend and backend, by measuring first. Use this…
git:20260813.4b33420 · audit A · 12 stars
prime-rl SKILL.md skill
svngoku/coding-agents-skills · skills/prime-rl/SKILL.md · Post-train LLMs with PrimeIntellect's prime-rl (async RL, SFT, distillation, evals). Use this skill whenever the user…
git:20261013.5def5e6 · audit B · 12 stars
scalingo SKILL.md skill
svngoku/coding-agents-skills · skills/scalingo/SKILL.md · Scalingo is a European (French) Platform-as-a-Service for deploying and operating web applications, background workers…
git:20261014.c555fef · audit A · 12 stars
security-best-practices SKILL.md skill
svngoku/coding-agents-skills · skills/security-best-practices/SKILL.md · Practical security review and hardening guidance for application code in Python, JavaScript/TypeScript, and Go. Use…
git:20260813.4b33420 · audit A · 12 stars

Every file in svngoku/coding-agents-skills

Browse by kind, by grade A, or by owner.