AgentTools
A Swift package providing shared system prompts, tool definitions and API provider management for macOS AI agents, giving a large set of tools a single source of truth across ten LLM providers.
The package defines tool schemas once and exposes them in the format each provider expects, including Claude, OpenAI, DeepSeek, Z.ai, Hugging Face, Ollama Cloud, local Ollama, vLLM, LM Studio and Apple's on-device Foundation Model, through provider-specific accessor methods.
Tool categories cover file operations, version control, Xcode build/run/analyze commands, AppleScript and JavaScript scripting, shell command execution, accessibility automation such as clicking and typing, and web automation through Safari, web search or Selenium, plus conversation, planning and memory tools.
It also builds full and compact system prompts for desktop agents, and a minimal prompt tuned for coding iterations. It requires macOS 26 and Swift 6.2, with no external dependencies beyond Foundation.