🤖SmolAgents: Build AI Agents in Just 3 Lines of Code

Also, learn how you can replicate what Nutella Unica campaign did

Hey there!

So, I was supposed to be meal-prepping yesterday, but I got sidetracked by something pretty wild.

I stumbled upon the AgiBot dataset, and they just dropped this massive collection of 1 million robot trajectories.

Seriously, my mind was blown.

And just when I thought my day couldn’t get any crazier, I found out that Nutella turned breakfast into an AI art show with 7 MILLION unique jar designs.

Who knew our morning toast could get this high-tech?

You know me I had to dig deeper to see how I can get in on this action.

And guess what? You can create one too.

So don’t waste a second let’s dive in and see how we can make this happen!

What’s Inside Today’s Newsletter

🪰 Buzz Around AI

🪄 AI Tools

♨️ What’s Hot In AI

📰 AI Use Case + Learning

Read time: 10 mins

🪰 Buzz Around AI

AgiBot launches huge robotics dataset 🤖


AgiBot, a Chinese robotics company, released AgiBot World Alpha, an open-source dataset with over 1M robot trajectories. This aims to boost humanoid robotics training.

Key Points:

  • The dataset includes data from 100 robots performing tasks in homes, industries, and commercial spaces.

  • Tasks range from simple object handling to complex teamwork between robots.

  • 40% of the data focuses on household activities.

  • It’s 10x bigger than Google’s Open X-Embodiment for navigation data and includes 100x more scenarios.

  • Available for free on platforms like HuggingFace and GitHub.

Why it’s important:
Robotics development needs better training data. This dataset can help create smarter robots for homes and give smaller developers access to top-tier resources.

🪄 AI Tools

Don't Miss These FREE AI Animation Tools

You Have to Try Them:-

  • Miniamax: Converts text into video, with an upcoming image-to-video feature.

  • Viggle: Offers a variety of templates, character customization, and green screen options.

  • Krea: Features advanced upscaling, keyframe controls, and image-to-video functionality.

  • Hedra: Specializes in precise lip-syncing for ultra-realistic animated characters.

♨️ What’s Hot In AI

Hugging Face Launches SmolAgents: Build AI Agents in Just 3 Lines of Code 🤖

Creating AI agents has always been challenging, requiring lots of time and expertise. Developers struggle with things like API integrations, setting up environments, and managing dependencies.

Hugging Face's SmolAgents changes this.

What is SmolAgents?

SmolAgents is a lightweight library that lets developers build powerful AI agents with only three lines of code. It uses Hugging Face’s pre-trained models to make the process super simple.

Why it’s Special:

  • Easy Language Understanding: SmolAgents uses advanced NLP models to understand commands and questions.

  • Smart Data Fetching: It connects to data sources for quick, accurate results.

  • Code Execution: Agents can generate and run code instantly for specific tasks.

  • Modular Design: Works for quick tests or full-scale projects.

  • Lightweight: Perfect for small teams or solo developers.

How It’s Being Used:

SmolAgents is already making a difference. Developers are automating tasks like:

  • Fetching real-time data.

  • Summarizing information.

  • Generating Python scripts for stock market trends.

One developer used SmolAgents to create a stock visualization tool in seconds—just by writing three lines of code!

Why It Matters:

SmolAgents removes barriers to AI development. Its simplicity makes it accessible to both beginners and experts. Whether you’re experimenting or launching a product, SmolAgents makes building AI agents faster and easier.

📰 AI Use Cases

Just discovered something mind-blowing from Nutella (you know, that addictive hazelnut spread we can't stop eating).

They partnered with Ogilvy Italia to shake up the branding game creating 7 MILLION unique jar designs!

Their Nutella Unica campaign transformed everyday jars into collectable art pieces (yeah, we're impressed too).

How did AI take part in it?

Just 12 base patterns, mixed and matched by algorithms create millions of one-of-a-kind labels that capture Italy's creative spirit.

Each jar tells its own story, making breakfast way more interesting.

These jars flew off the shelves faster than Italians saying "Mamma mia!"

Every. Single. One. Sold. Out. Not surprised, tbh.

How You Can Replicate This

Tools We'll Use

  • Stable Diffusion Web UI (free, open-source)

  • GIMP (free alternative to Photoshop)

  • Inkscape (free vector graphics software)

Phase 1: Creating Base Design Elements

Step 1: Generate Base Patterns

Using Stable Diffusion Web UI:

  • Install Stable Diffusion Web UI from GitHub

  • Use these proven prompts for package-friendly patterns: "abstract geometric pattern, minimalist, clean lines, suitable for product packaging, commercial use, vector style, seamless pattern, professional design"

  • Add style modifiers like "art deco", "organic", "modern" for variety

  • Use negative prompts: "busy, cluttered, text, logos, complex"

Step 2: Create Template Zones

In Inkscape:

  • Set up your base package template

  • Define clear zones for:

    • Brand elements (logo, name)

    • Variable pattern areas

    • Required information

  • Save as template (.svg format)

Phase 2: Building Your Pattern Library

Step 1: Pattern Generation

  1. Generate 10-15 base patterns using Stable Diffusion

  2. For each pattern, create variations by adjusting:

    • Colors (stick to your brand palette)

    • Scale

    • Rotation

    • Opacity

Step 2: Pattern Refinement

In GIMP:

  1. Clean up pattern edges

  2. Ensure seamless tiling

  3. Create pattern presets

  4. Export in both PNG and SVG formats

Phase 3: Setting Up Automation

Step 1: Basic Automation Script

Here's a simple Python script to combine patterns:

import random from PIL import Image def create_unique_design(patterns, template): # Load template base = Image.open(template) # Randomly select and combine patterns pattern1 = Image.open(random.choice(patterns)) pattern2 = Image.open(random.choice(patterns)) # Apply transformations angle = random.randint(0, 360) pattern1 = pattern1.rotate(angle) # Combine layers base.paste(pattern1, mask=pattern1) return base # Usage patterns = ['pattern1.png', 'pattern2.png', 'pattern3.png'] template = 'template.png'

Step 2: Quality Control

Implement these checks in your workflow:

  1. Colour consistency

  2. Pattern alignment

  3. Text legibility

  4. Brand guideline compliance

Phase 4: Production Tips

Best Practices

  1. Start small with a limited run (100-200 designs)

  2. Test prints on actual packaging material

  3. Keep detailed records of successful combinations

  4. Create a feedback loop with your audience

Common Pitfalls to Avoid

  1. Don't overcomplicate patterns

  2. Ensure text remains readable

  3. Maintain brand recognition

  4. Keep file sizes manageable

I hope you found these updates as fun and exciting as I did.

Did any of these make you go "Wow!" or give you ideas?

Share it with us to get featured in our next newsletter. Share here

Remember, the world of AI is always changing, so who knows what amazing things we'll see next time?

Stay tuned & curious.

Bye! Bye!

Reply

or to participate.