Deep Research Smolagents

Run Hugging Face Smolagents as a code-as-action deep research agent with optional web search and model backends. Use when a benchmark needs explicit intermediate tool actions, code execution, or an open-source agent framework.

closedloop-technologies Updated

File contents

Smolagents

Use this skill when the research task benefits from tool use, code execution, and explicit intermediate actions.

Environment

op run --env-file .env.climbhill -- python .agents/skills/deep-research-smolagents/scripts/agent.py \
  --task "Find current deep research APIs and summarize cost controls" \
  --model openai \
  --model-id gpt-4o-mini \
  --web-search

Common 1Password-backed variables:

  • HF_TOKEN
  • OPENAI_API_KEY
  • ANTHROPIC_API_KEY

Cost Controls

  • Use economical model IDs for benchmark tasks.
  • Keep max_steps low in the script configuration.
  • Enable web search only when the prompt requires current sources.

Source Link

closedloop-technologies/awesome-deep-researchers/tree/main/skills/deep-research-smolagents commit 51f2c84abe

Frequently asked questions

npx skillmds@latest add closedloop-technologies/deep-research-smolagents