Skip to content

keagancoding/auxiliary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auxiliary

My personal ai assistant. Using OpenAI apis on your machine with some super powers. Sometimes he forgets he has access to those super powers but if you just remind him he'll use them.

For example if you ask him what the code is doing on your screen and the response is I cant see your screen, tell him to take a screenshot to see.

There are a few caveats to using Auxiliary. When prompting the ai has no idea of your machines file structure. For example if I asked: Create a new python project in my python development directory. The knowlege is not there to know where that directory is until you've talked about it or provided a path to that directory.

He works by taking in a users prompt with knowlege of the tools he has access too, and with that goes into a feedback loop (less that 5 times), to iterate on information gatherd with tools to generate the final response

Auxiliary has 4 tools:

  • Clipboard access, read and write to clipboard
  • Screenshot to gain information about whats on your screen
  • Script Runner / Terminal access (with given os windows/linux/mac)
  • Websearch using serper api

Installation

You will need 3 api keys handy before starting to run this assistant.

# clone repo
git clone https://github.com/keagancoding/auxiliary.git

# to install deps and setup
bun install
bun start --setup

This will take you through the setup process to add your api keys for openai, gemini, and serper. And ask if you want to set up an alias (alias does not work on windows)

To get running you can run a few commands depending on if you set up alias or not. If you have not set up alias you will have to be in the project directory to start up

Without alias

# start from directory
# this will enter chat mode
bun start

# this will just ask a single question without <>
# without entering chat mode
bun start <then your prompt>

With alias

# either of these will enter chat mode
aux
auxiliary

# either of these will be a single question without <>
aux <then your prompt>
auxiliary <then your prompt>

Customization

You can add more tools but to many will start to confuse him. Check out the docs for Vercel AI SDK tools to learn their structure.

You can also customize auxiliarys personality by editing his system prompt in the src/core/auxiliary.ts file

Goals

  • Tools
  • Ollama Support
  • Voice interaction
  • Gui for outputs and voice activity

Extra

Using bun you can build the program as an executable (ive only tried this on macos so system by system may vary) but you cd into the project folder and run bun compile and the executable will be put in the dist directory.

About

My personal ai assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published