Skip to main content

Code-First AI Agents for Data and Research Tasks

We use Hugging Face SmolAgents to build agents that write and execute code to process your data, run analyses, and produce structured results. Minimal overhead, local model support, and sandboxed execution, all managed by our team.

We build, deploy, and manage your AI agent. You focus on your business.

What Is SmolAgents?

SmolAgents is a minimalist, open-source agent framework by Hugging Face (26,000 GitHub stars) with core logic fitting in approximately 1,000 lines of code. Its primary agent type, CodeAgent, generates and executes Python code as actions rather than using pre-defined tool-calling APIs.

This "code-first" approach enables natural composability: agents can nest function calls, use loops and conditionals, and combine tools in ways that traditional tool-calling agents cannot. SmolAgents supports text, vision, video, and audio inputs, integrates with Hugging Face Hub for sharing agents, and supports MCP for broader ecosystem interoperability.

The critical tradeoff: CodeAgent runs LLM-generated code in your environment by default, which is inherently dangerous. Security researchers have demonstrated that malicious code can read and write the filesystem, overwrite agent code, and exploit resources. Production deployment requires Docker, E2B, or WebAssembly sandboxes. We handle sandboxing, model selection, and security so you get the code-execution power safely.

How We Use SmolAgents to Build Your Agents

Code-Executing Data Processing Agents

We use SmolAgents CodeAgent to create agents that write and run data transformation scripts: cleaning spreadsheets, reformatting exports, calculating metrics, and generating summaries, all in sandboxed environments.

Local/Private Model Deployment

We leverage SmolAgents Hugging Face integration to run agents on locally hosted or private models, keeping all data within your infrastructure. Critical for healthcare, legal, and financial clients.

Multimodal Agent Capabilities

We build agents that process images (receipts, product photos, documents), audio (call recordings, voicemails), and video alongside text, expanding what your agents can understand and act on.

Rapid Agent Prototyping

We use SmolAgents minimal-code approach to quickly test and demonstrate agent concepts before committing to a production framework, reducing discovery phase time and cost.

Research and Analysis Agents

We create agents that search the web, gather data from multiple sources, run analyses in code, and produce structured reports, ideal for market research and competitive analysis.

Hugging Face Tool Ecosystem

We share and reuse tools across client agents using Hugging Face Hub and Spaces, building a library of reusable capabilities (web search, document parsing, image analysis) for different client needs.

Example Agents Built With SmolAgents

Data Cleanup and Transformation Agent

Takes a messy CSV or spreadsheet, writes code to clean it (remove duplicates, fix formats, fill gaps, standardize columns), runs the transformation in a sandbox, and returns cleaned data.

Web Research and Report Agent

Searches the web for information, scrapes relevant pages, extracts key data points, runs analysis code, and produces a structured research report for competitive intelligence or market sizing.

Receipt and Invoice Processing Agent

A multimodal agent that reads photos of receipts or invoices (via vision input), extracts line items and totals using code, validates numbers, and outputs structured expense data.

Social Media Analytics Agent

Pulls data from social media APIs, writes analysis code to calculate engagement metrics, identifies top-performing content, spots trends, and generates a summary report with visualizations.

Automated Data Quality Checker

Reviews a database or spreadsheet, writes validation code to check for inconsistencies, missing values, outliers, and format errors, then produces a quality report with flagged issues.

Custom Calculation Agent

For professional services (real estate, finance, consulting): takes client inputs, writes and executes calculation code (ROI projections, pricing models, scenario analyses), and returns structured results.

Why Let Us Handle SmolAgents?

Code execution needs proper safety measures

SmolAgents runs AI-generated code by default, which creates real security risks. Setting up proper sandboxing and validation takes expertise your team should not need to have.

Things break and need someone watching

The framework is experimental and changes frequently. Someone needs to manage updates, test compatibility, and fix issues before they affect your work.

Your time is better spent on your business

Every hour configuring sandboxes and debugging generated code is an hour not spent on your customers or growth. Let us handle the technical side.

We keep your agents lean and safe while adding the reliability you need for production.

Code-First AI Agents for Data and Research Tasks

We use Hugging Face SmolAgents to build agents that write and execute code to process your data, run analyses, and produce structured results. Minimal overhead, local model support, and sandboxed execution, all managed by our team.

We build, deploy, and manage your AI agent. You focus on your business.

Frequently Asked Questions

Get a Code-First Agent for Data and Research Tasks

Tell us what data you need processed or analyzed and we will build a SmolAgents solution that handles it with sandboxed code execution and the right model for the job.

We build, deploy, and manage your AI agent. You focus on your business.

We never share your email. Unsubscribe anytime.