Article complete

Introducing SLAPA, Self-Learning Agent for Performing APIs

SLAPA is trained to learn from itself. If it retrieves wrong information, it makes API calls again until it works.

A diagram illustrating SLAPA's process of learning and making API calls, with arrows showing task flow and documentation.

Key takeaways

  • SLAPA autonomously searches for API documentation and creates API calls in real-time without user guidance.
  • The model continually learns from its own experiences and retrieves correct information through repeated API calls.
  • As more users interact with SLAPA, it accumulates knowledge, becoming increasingly comprehensive over time.
  • SLAPA's unique capability lies in its ability to effectively learn how to utilise APIs, surpassing previous models like Toolformer.
  • Concerns about the technology's implications have emerged, with some drawing parallels to fictional AI scenarios like Skynet.

Takeaways drafted with AI from the article text.

Gone are the days when you had to guide your AI agents to browse and select APIs to use. Former Y Combinator and Stanford, David Yue, along with Finsam Samson, introduced Self-Learning Agent for Performing APIs (SLAPA), a model that automatically searches for API documentation, learns information, and creates API calls, in real-time.

https://twitter.com/DYtweetshere/status/1631349179934203904

SLAPA is trained to learn from itself. If it retrieves wrong information, it makes API calls again until it works. The information keeps getting stored in the model so users do not need to feed it information every time. As more users start using it and feeding in specific APIs, SLAPA will keep accumulating the information, while also becoming more comprehensive with time. 

The ability for the model to know how to use tools is what makes it stand out. The creator of SLAPA explained in a Twitter thread that recently models like Toolformer have demonstrated that language models can be taught when they need to use the tools, but SLAPA takes it several steps further by teaching the model how to use the APIs. 

Apart from the love from the community on Hacker News, a lot of people have expressed concerns about this technology. Some are even comparing it with Skynet, claiming that “AI is getting scary now” and making them anxious. 

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign

About the author

Journalist

Mohit writes about AI in simple, explainable, and often funny words. He's especially passionate about chatting with those building AI for Bharat, with the occasional detour into AGI.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.