DEV Community

Cover image for πŸ—£οΈπŸ¦ΎπŸ“²πŸ€“ RTFM : ask AI agent to learn how to send sms w. open-interpreter
adriens
adriens

Posted on

3

πŸ—£οΈπŸ¦ΎπŸ“²πŸ€“ RTFM : ask AI agent to learn how to send sms w. open-interpreter

πŸ’­ About

How many times did someone ask you :

"How do you..."

... and how many times did you make the RTFM (Read the Fucking Manual) joke ?

Image description

πŸ‘‰ Well that's all this blog post is all about, we're going to:

  1. 🎁 Provide a cli tool that behaves like all other tools to an AI assistant
  2. πŸ¦₯ Ask it to learn by himself how to use it
  3. πŸš€ Make it do the job ... locally !

To achieve this we will use :

  • πŸ€– A core LLM engine : gpt-4
  • πŸ’» A locally running assistant that is able to create an action plan to achieve a goal : Open Interpreter

🎯 What we'll do

This time, thanks to a custom tool I created last week-end :

and ask the AI Assistant to discover the tool and send a custom sms with a custom content to myself with it.

πŸ§‘β€πŸ« Teach him how to use the tool

🀣 Funniest sms

Image description

πŸ”­ Perspectives

The same way we used the --help pattern for cli tool, we can use the OpenAPI to tell an AI how to use an API as a tool.
But keep in mind : the better the documentation, the easier and better integration will be... at almost 0 effort (which is our target to scale automation).

Below some examples of how to achieve this on various frameworks & services :

πŸ€“ For coders :

⏱️ < 5' demo : build & deploy conversational agents (non-coders)

Least but not last, for non coders Google Vertex AI Agent Builder to build and deploy Agents ... within 5 minutes :

Image description

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry πŸ•’

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more β†’

Top comments (5)

Collapse
 
adriens profile image
adriens β€’

Collapse
 
adriens profile image
adriens β€’

Collapse
 
adriens profile image
adriens β€’

Collapse
 
adriens profile image
adriens β€’

Collapse
 
neurabot profile image
Neurabot β€’

Interesting.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay