aisuite adds one-line function calling across LLM providers
- Source
- x.com
- Date
Announcing new aisuite capability: Easy function calling with LLMs! Function calling (tool use) is an important capability for agentic workflows and other LLM applications, but is cumbersome for developers to use (left column in image). Our open-source aisuite package simplifies it to just one command (right column), and works for multiple LLM providers. Hope this makes implementing agents easier for developers, and thanks Rohit Prsad & team for working with me on this!

Credit also goes to Matthew Carrigan for the neat idea of getting function descriptions from docstrings: https://t.co/CPLL1KxHE4
Context
aisuite reduces the plumbing needed to let a call a Python function. The announcement's code comparison shows a function passed directly to the library: its documentation supplies the tool description, and max_turns enables a bounded exchange in which requested functions run and their results return to the model. The project documentation describes the same loop. The developer still writes the function; aisuite handles the description and repeated model-tool communication that would otherwise require additional code.
articleHarness Engineering in LLM Tool Use via Agent-Native Reusable Tool PrimitivesHaibo Jin, Suijin Wang, Xucheng Yu, Haojing Luo, Haohan Wang
articleMy AI Skeptic Friends Are All Nutsfly.io
articleNew release of LLM adds support for reasoning traces, OpenAI Responses, server-side tools, and smarter loggingsimonwillison.net
Checking sign-in…
Loading comments…




