Personal helper for your computer using Anthropic's API
Only tested on Windows
Ensure you have Python latest release installed on your system.
First, set your Anthropic API key as an environment variable:
set ANTHROPIC_API_KEY=your_api_key_hereNext, navigate to your project directory and install the dependency:
pip install richRich is used for showing markdown formatting in the terminal.
Additionally, create a folder named Context. In this folder, you can add files that the assistant can read or write to.
Finally, create a folder named Projects if you would like to import your own projects that the assistant can manage. The assistant will automatically create this folder if it ever builds a project on its own.
Default name is John and default Timezone is EST
- Modify
config.pyto change selected model, max tokens, and persona (User's name is also found here) - Modify
tools.pyto modify the tools the assistant has access to
To run the project, run the run_chat.bat file
web_searchAllows the assistant to use Anthropic's built in web searchsave_resposneAllows the assistant to save text to a markdown file at the user's discretioncreate_toolCreates a markdown file with the layout for a new tool. Only runs when user asks and the tool must be implemented by the user before it is functionalmemoryDynamically stores memory about the user. Runs whenever the user exits out of the program. (Only works if the user types "exit" or "quit" to leave instead of closing the terminal from the close button)read_codeAllows the assistant to read, but not write to, its own source code when asked by the user or if necessary
Context
read_contextAllows the assistant to read context that has been given to the use in theContextfolderwrite_contextAllows the assistant to write to/create new files in theContextfolder
Projects
create_projectlist_projectsread_project_filewrite_project_filedelete_project_filedelete_project