TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

smolagents: A simple library to build AI agents

11 pointsby victormustar4 months ago

2 comments

Imanari4 months ago
From the text_to_sql example: [0]<p>My question: &quot;Which waiter got second most total money from tips? create a jpeg with a bar chart of the total tips for each waiter.&quot;<p>Step 0 included a correct sql query. Step 1 included python code with matplotlib, which failed because matplotlib was not in the allowed imports. The system then pivoted to another python script which printed a bar plot with ## characters.<p>Final answer: The waiter with the second most total tips is Corey Johnson<p>Bar Chart of Total Tips for Each Waiter:<p>Michael Watts ################################################## (5.67)<p>Corey Johnson ########## (1.2)<p>Margaret James ######## (1.0)<p>[0] - <a href="https:&#x2F;&#x2F;github.com&#x2F;huggingface&#x2F;smolagents&#x2F;blob&#x2F;main&#x2F;docs&#x2F;source&#x2F;en&#x2F;examples&#x2F;text_to_sql.md">https:&#x2F;&#x2F;github.com&#x2F;huggingface&#x2F;smolagents&#x2F;blob&#x2F;main&#x2F;docs&#x2F;sou...</a>
lunarcave4 months ago
Congrats on the launch. I actually really like how the agency level x capability is displayed on the page. Too many text in &#x2F; text out abstractions being mislabeled as “agents” these days.