Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chaiwithcode/TerminalBuddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

TerminalBuddy — Apple Intelligence in Your Terminal

TerminalBuddy A command-line tool that brings Apple’s Foundation Models framework directly to your terminal. Designed for macOS Sequoia and later, it enables seamless, on-device AI interactions—no app switching needed. Ideal for developers, power users, and anyone immersed in terminal-driven workflows, it puts intelligent assistance right where you work: in the command line.


Screenshot

TerminalBuddy Chat


Features

  • Native On-Device AI
    Leverages Apple’s Foundation Models to run powerful AI directly on your Mac—no internet connection, cloud dependency, or latency. Your data stays private and secure.

  • Seamless Terminal Chat
    Interact with Apple Intelligence directly from your terminal, making it ideal for multitasking or integration with terminal-based apps.

  • Streaming & Structured Output
    Choose real-time streaming responses for live feedback, or opt for complete, structured replies—ideal for scripting and automation.

  • No App Switching
    Stay focused in your terminal workflow — no need to bounce between apps or interfaces..

  • Flexible Interaction Modes
    Switch effortlessly between modes using intuitive CLI flags or interactive prompts, tailored to your task and preferences.


Requirements

  • macOS Tahoe Beta or newer
  • Xcode 26.0 Beta (for building)
  • Device with Apple Intelligence enabled

Getting Started

  1. Clone the repository:

    git clone https://github.com/chaiwithcode/TerminalBuddy.git
    cd TerminalBuddy
  2. Build app:

    ./build.sh

    This script compiles the tool. Once complete, the executable will be placed in the Product/TerminalBuddy folder.

  3. Run the app:

     ./Products/TerminalBuddy

    execute the binary directly or install at your convience follow below method

     chmod +x install.sh
     ./install.sh 
  4. Start chatting with Apple Intelligence directly from your terminal.


Example Usage

> terminalbuddy
🤖 TerminalBuddy — Apple Intelligence at your command
Usage:
 terminalbuddy "Your question here"
Example:
 terminalbuddy "What’s the weather in London today?"

Contributing

We welcome contributions! Feel free to open issues, suggest features, or submit a pull request.


License

This project is licensed under the MIT License — see the LICENSE file for details.

About

Your personal On-device intelligence powered by Apple Foundation Models, crafted with Swift for iOS 26+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /