Designing functions for AI isn't the same as designing them for humans
Designing functions for AI isn't the same as designing them for humans
The author describes redesigning all 155 built-in toolkits in MindRoom after removing the Agno framework, cutting default functions from 729 to 298 and shrinking total tool schemas by 50% by grouping related verbs under action parameters and splitting reads from writes. A 400-trial GitHub benchmark found five read/write functions matched a 39-function REST schema on first-try accuracy (93/100 each) at a third of the prompt tokens, while collapsing to two or one function dropped accuracy to 83% and 79%. The author also reports that across 345,924 requests over seven days, input and cache tokens accounted for 81% of spend despite 91.8% of tokens being cache reads.
Source: Hacker News AI · nijho.lt