Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pdfu

macrumors regular
Original poster
In macOS 27 Beta 5, Siri AI gains a hidden local math tool. The new MathComputeTool, part of Siri's lightweight Skimmer planner can evaluate a range of operations locally without reaching for the server. Not only does the new tool let Siri do math offline, but it can process natural language math queries much quicker even with an internet connection.

SkimmerMath.png


Skimmer is Siri AI's lightweight planner for relatively simple requests. For example, it can handle getting the time or opening an app. When Skimmer recognizes a supported math request, it captures the request's operands and operators and maps them into one of MathComputeTool's expression templates. This tool is different from Spotlight's Calculator provider, which has been around for a few macOS versions.

Here are some things Siri should be able to support with MathComputeTool:
  • Basic arithmetic, including aggregate expressions (5 + 5 + 5)
  • Fraction-to-decimal and decimal-to-fraction conversion
  • Rounding, with ceiling and floor functions
  • Absolute values
  • Factorials
  • Greatest common divisor and least common multiple
  • Factors and prime factorization
  • Modulo and divisibility tests
  • Powers, roots, and logarithms
  • Generating random numbers within a range
  • pi and e
MathComputeTool is currently hidden behind a feature flag. To enable:

Bash:
sudo mkdir -p /Library/Preferences/FeatureFlags/Domain && \
sudo defaults write /Library/Preferences/FeatureFlags/Domain/IntelligenceFlow SkimmerOfflineMath -dict Enabled -bool true

and reboot your Mac. As always, this feature may be unfinished and have unexpected behavior.

To disable:

Bash:
sudo defaults delete /Library/Preferences/FeatureFlags/Domain/IntelligenceFlow SkimmerOfflineMath

Enjoy!
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.