Skip to main content

Front End for Aider.chat which makes it super simple to use

Project description

aicode

The most advanced ai coding tool on the planet.

Linting

MacOS_Tests Ubuntu_Tests Win_Tests

About

Okay well aider.chat is by far the BEST aicoding assistant on the planet. But aicode, a front end for aider.chat is EASIER TO USE! So use this whenever you can for Windows/Linux/MacOS. Think of aicode as aider.chat but on easy mode.

One foot gun here is that aider.chat only works on files in a git repo. therefore you must be in a git repo for aicode to work. This is required because aider.chat will generate a repo map as part of the query.

Usage:

pip install advanced-aicode
aicode

Note

The package name is NOT the same as the command tool. The package is advanced-aicode and the tool is called aicode. Someone else grabbed package name aicode over a year ago and this is the best name I could come up with to get it into pypi.

aicode is better than aider.chat in the following ways

  • aicode is easier to install. Like WAY easier. It will tell you what you need to do to complete the installation, such as setting the api key if none are detected.
  • aicode will not f@ck up your global pip environment. We fix this by lazily installing aider.chat using pipx
  • aicode will change the directory to a the project root containing a .git directory. aider.chat will just fail to run.
  • aicode will default to NOT creating a git commit on every change. Instead it will just raw dog it to your current repo. This simplifies usage because most of the time you will only be editing one file and if you don't like the change you can just invoke undo on the file. If you want to create a git commit on every change (so that you can use /undo) then pass in aicode -a. This works better if you are editing multiple files and want and want to step back in history, must most of the time it's better to just let aicode work on one file at a time.
  • aicode has the benefit of allowing easy upgrades to aider.chat from the command line using aicode --update which will invoke pipx update on the backend.
  • aicode will default to using ChatGPT4-o if it detects you have have an openapi key.
  • aicode will save and insert the environmental variables on demand. aider.chat requires that you insert these variables in your ~/.bashrc file (linux) or the equivalent for Windows and MacOS.
  • aicode will check for new versions in the background and inform you of an update on the NEXT run of aicode and the command line you can use. This was a feature that aider.chat program actually implemented for this project.
  • aicode will ask you to modify the .gitignore file so that you aren't uploading your f*cking chat history to your repo by default.

Happy CODING!

Releases

  • 1.0.4 - If --upgrade fails, then attempt recovery by asking the user to upgrade pipx and then try again.
  • 1.0.3 - Improved version parsing so that stuff like X.X.X-dev can be parsed.
  • 1.0.2 - `--claude3`` now maps to sonnet mode. This is now the default if both keys are present for claude3 and openai.
  • 1.0.1 - Improve readme.
  • 1.0.0 - Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

advanced-aicode-1.0.4.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

advanced_aicode-1.0.4-py2.py3-none-any.whl (9.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file advanced-aicode-1.0.4.tar.gz.

File metadata

  • Download URL: advanced-aicode-1.0.4.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.7

File hashes

Hashes for advanced-aicode-1.0.4.tar.gz
Algorithm Hash digest
SHA256 4b3df6f5ac47a6f8d5a13fcd641d56e33435d1011067ac2c4314e7a6c52fe22f
MD5 67df3634fe9f09dddbffc7f2d49996f3
BLAKE2b-256 ef1ee29377cfd1752dff0ccd6ca57e377abc7afd470e3601ef53234ef157aec3

See more details on using hashes here.

File details

Details for the file advanced_aicode-1.0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for advanced_aicode-1.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 890941cd4a37b30f312572097eda474241319dddd923164952f69f9841b88065
MD5 2b06c17c4623eea70a1b526446bd0dfe
BLAKE2b-256 8a385347c2095a8141ff99c98e9a033724c9565585edf40dd6de3022e60fa237

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page