Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 0844425

Browse files
author
Nick Sullivan
committed
Archive: project superseded by Claude Code
AICodeBot was built in June 2023, before AI coding assistants were a product category. The hypothesis was right — developers needed an AI peer in their terminal. The industry caught up. Claude Code does everything this project set out to do, and more. Updating README to celebrate the early work and point people forward. See: https://claude.ai/code
1 parent eba4846 commit 0844425

File tree

1 file changed

+42
-187
lines changed

1 file changed

+42
-187
lines changed

README.md

Lines changed: 42 additions & 187 deletions
Original file line numberDiff line numberDiff line change
@@ -1,212 +1,67 @@
11
# AI Code Bot 🤖
22

3-
## Your AI-powered coding sidekick
3+
> **This project has been archived.** See the note below.
44
5-
AICodeBot is a terminal-based coding assistant designed to make your coding life easier.
6-
Think of it as your AI version of a pair programmer.
7-
Perform code reviews, create helpful commit messages, debug problems, and help you think through building new features.
8-
A team member that accelerates the pace of development and helps you write better code.
5+
---
96

10-
We've planned to build out multiple different interfaces for interacting with AICodeBot. To start, it's a [command-line tool](https://pypi.org/project/aicodebot/) that you can install and run in your terminal, and a [GitHub Action for Code Reviews](https://github.com/marketplace/actions/aicodebot-code-review).
7+
## A Note on This Project
118

12-
Status: This project was built before AI Coding Assistants were cool. 🤓 As such, much of the functionality has
13-
been replicated in various IDEs. Where AICodeBot shines is a) it's in the terminal, not GUI, and b) it can be used
14-
in processes like GitHub actions.
9+
I built AICodeBot in June 2023 — back when "AI coding assistant" wasn't really a product
10+
category yet. The idea was simple but felt radical at the time: what if your terminal had
11+
an AI pair programmer baked in? One that understood your git history, reviewed your code,
12+
wrote your commit messages, and helped you think through hard problems?
1513

16-
We're using AICodeBot to build AICodeBot, and it's upward spiraling all the time.️ We're looking for contributors to help us build it out. See [CONTRIBUTING](https://github.com/TechNickAI/AICodeBot/blob/main/CONTRIBUTING.md) for more.
14+
At the time, the tools didn't exist. So I built one.
1715

18-
## Current features - how you can use it today
16+
AICodeBot could:
17+
- Generate quality commit messages from your staged changes
18+
- Run AI-powered code reviews on diffs and PRs
19+
- Debug errors by capturing command output and reasoning through it
20+
- Act as a terminal-based AI sidekick that understood your codebase
21+
- Integrate directly into GitHub Actions for automated PR reviews
1922

20-
| Task | Status |
21-
| --- | --- |
22-
| Generating quality commit messages ||
23-
| Thinking through tasks as a pair programmer ||
24-
| Coding with a small number of files ||
25-
| Debugging ||
26-
| Doing code reviews ||
27-
| Explaining code ||
28-
| Writing tests ||
29-
| Integration with GitHub ||
30-
| Modifying local files | Early stages |
31-
| Searching the internet for answers | In Progress |
32-
| Reading library documentation | Early stages |
33-
| Coding with a large number of files | As LMs get larger token limits |
34-
| Writing senior developer level code | Eventually |
35-
| Major refactors | Eventually |
36-
| Build entire apps | Eventually |
37-
| Replace Developers | Nope |
23+
It worked. People used it. It was useful.
3824

39-
### AI Sidekick 🦸‍♂️
25+
### Then the industry caught up.
4026

41-
`aicodebot sidekick` Your AI-powered coding assistant. It's designed to help you with your coding tasks by providing context-aware suggestions and solutions. Think ChatGPT with the ability to read the local repository for context.
27+
In 2024, Anthropic released **[Claude Code](https://claude.ai/code)** — a natively agentic
28+
coding assistant that does everything AICodeBot did, and far more, far better. It can edit
29+
files, run commands, navigate large codebases, and operate with real autonomy. It's the
30+
terminal-based AI coding partner I was trying to build, built by the people who know how
31+
to build it best.
4232

43-
By default it will pass along a directory of files from the current working directory, and you can also pass in a list of files to use as context for the task you are working on. For example:
33+
**If you're looking for an AI coding assistant, use Claude Code.** It's the real deal.
4434

45-
```bash
46-
aicodebot sidekick file1.py file2.py
47-
```
35+
I'm proud of what AICodeBot was: an early bet on a future that turned out to be exactly
36+
right. The hypothesis — that developers needed an AI peer in their terminal, not just a
37+
chatbot in a browser — was validated by every major AI lab. We just got there first with
38+
the resources we had.
4839

49-
In this example, the sidekick will read the contents of file1.py and file2.py and use them to provide context-aware answers.
40+
That's enough. This repo is now archived as a record of that early work.
5041

51-
Pro-tips:
42+
---
5243

53-
* Add your README.md to the list of files to get context-aware answers.
54-
* Paste in error messages from log files or stack traces and it will help you debug
55-
* Brainstorm new features
56-
* Have it write unit tests for you that cover all the cases
57-
58-
This feature is in its early phases right now, but it's already useful. We'll be adding support for tools that the sidekick can use, including GitHub integration, ingesting repository specific domain knowledge, writing local files, and more. For now, it just *reads* files and provides suggestions.
59-
60-
### AI-Assisted Git Commit 📝
61-
62-
`aicodebot commit` improves the git commit process. It will run pre-commit for you to check syntax, and then generate a commit message for you based on the changes you've made. In about as much effort as typing "fix bug" for the commit message, you will get a high-quality commit message that thoroughly describes the change.
63-
64-
### AI-Assisted Code Review 👀
65-
66-
`aicodebot review` will run a code review on your code and suggest improvements. By default, it will look at [un]staged changes, and you can also supply a specific commit hash to review.
67-
Its goal is to suggest how to make the code better, and we've found that it often teaches us new things about our code and makes us better programmers. It is a great way to get a second set of robot eyes on your code.
68-
69-
### AI-Assisted Debugging 🐞
70-
71-
`aicodebot debug $command` will run the $command and capture the log output. It will pass the error message, stack trace, command output, etc. over to the AI and respond with some suggestions on how to fix it.
72-
73-
[![PyPI version](https://badge.fury.io/py/aicodebot.svg?0.6.2)](https://badge.fury.io/py/aicodebot)
74-
75-
## Installation and Usage
76-
77-
To install AICodeBot, run:
78-
79-
`pip install aicodebot`
80-
81-
And then, run `aicodebot configure` to get started.
82-
83-
```bash
84-
Usage: aicodebot [OPTIONS] COMMAND [ARGS]...
85-
86-
Options:
87-
-V, --version Show the version and exit.
88-
-h, --help Show this message and exit.
89-
-d, --debug Enable langchain debug output
90-
91-
Commands:
92-
alignment A message from AICodeBot about AI Alignment ❤ + 🤖.
93-
commit Generate a commit message based on your changes.
94-
configure Create or update the configuration file
95-
debug Run a command and debug the output.
96-
review Do a code review, with [un]staged changes, or a...
97-
sidekick Coding help from your AI sidekick
98-
```
99-
100-
### API Key setup
101-
102-
AICodeBot supports multiple Large Language Models, including Anthropic's Claude 3.x, and OpenAI's GPT-3/4x.
103-
Pull requests for Gemini or Ollama are welcomed, but we feel these two do the trick.
104-
105-
The first time you run AICodeBot, you'll be prompted to enter your API keys
106-
107-
## Integration with GitHub Actions
108-
109-
How about automated code reviews on every commit? You can have AICodeBot run as a GitHub action on your repository. See [The AICodeBot GitHub Action for Code Reviews](https://github.com/marketplace/actions/aicodebot-code-review). It will look at every commit and pull request, and then either:
110-
111-
* ✅ Pass
112-
* 🗒️ Comments - pass the action, but leave a comment with minor issues, suggestions, or improvements.
113-
* ❌ Fail the action - if a serious issue is found, it will leave a comment and let you know about something that should be addressed.
114-
115-
## Roadmap of Upcoming Features ️
116-
117-
### Code Workflow Improvements
118-
119-
* [X] **Assisted Git Commit**: Automatically generate a commit message based on the changes you've made
120-
* [X] **Assisted Debugging**: Run a command with aicodebot and it captures the log message and tries to figure out what's going on from the error message. Eventually, it could also suggest fixes for the error and make the changes for you. Try it out with `aicodebot debug $command`
121-
* [X] **Code Review**: Provides feedback on potential issues in code, and suggests improvements to make it better.
122-
* [ ] **Dependency Management**: Updating dependencies to their latest versions with pull requests that run tests.
123-
* [ ] **Documentation Generation**: Generates comprehensive documentation for code, including docstrings, README files, and wiki pages.
124-
* [ ] **Performance Optimization Suggestions**: Suggests potential performance optimizations for code.
125-
* [X] **Test Generation**: Generates unit tests for code, improve test coverage.
126-
* [X] **Integration with CI/CD pipelines**: Integrates with CI/CD pipelines to automate tasks like code review, testing, and deployment (via GitHub Actions). Eventually: Fix the build automatically when there are small errors.
127-
* [X] **Rubber Ducky Chat Bot**: Helps developers think through design issues by providing a conversational interface to discuss and solve problems, using data from the current repository.
128-
* [X] **Linting/Formatting**: Checks code for linting errors and automatically fixes them where possible (via pre-commit)
129-
* [ ] **Automatically Generate ChangeLogs and Release Notes**: Generates release notes and changelogs based on commit messages and code changes.
130-
131-
### User Interfaces
132-
133-
* [X] **Command-line, installable via pip**: aicodebot can be installed as a Python package using `pip install aicodebot`
134-
* [ ] **Mention the @aicodebot GitHub user**: Mentioning the [@aicodebot](https://pypi.org/project/aicodebot/) GitHub user in a comment will trigger it to perform a task, review code, or pull in an appropriate GIF.
135-
* [X] **Callable as a GitHub action**: Can be called as a GitHub action to perform tasks on GitHub repositories. [AICodeBot Action](https://github.com/marketplace/actions/aicodebot-code-review)
136-
* [ ] **Jupyter Notebook Extension**: Provides a Jupyter Notebook extension that can be used to debug code in the notebook.
137-
* [X] **Chat**: CLI chat interface that knows the context of your codebase and can answer questions about it. No more going back and forth between ChatGPT and command-line.
138-
* [ ] **Slack Bot**: Interacts with aicodebot via slack, sends notifications, performs tasks, and provides real-time assistance to developers.
139-
* [ ] **Bug Report service integrations**: Listen for bug reports from Sentry, [Honeybadger](http://honeybadger.io), and other bug reporting tools and automatically create issues, assign them to developers, and notify them via Slack. Eventually: FIX the bug automatically and notify the team.
140-
141-
### Repository / Project Management
142-
143-
* [ ] **Project best practices**: Suggest things like pre-commit, linting, license, CI/CD, etc. Eventually: Implement them for you.
144-
* [ ] **Manage GitHub Issues**: Provides Level 1 triage of incoming issues on GitHub, including tagging, assigning, and responding with FAQs. It could also escalate issues to human developers when necessary, and provide nudges for tasks that need more input.
145-
* [ ] **Welcome new contributors**: Automatically welcome new contributors to the project, find out what they're interested in, and suggest issues for them to work on.
146-
147-
### Fun
148-
149-
* [X] **Alignment**: Gives a heart-centered inspirational message about how we can build AI in a way that aligns with humanity. Try it out with `aicodebot alignment`.
150-
* [ ] **Telling Jokes**: We've gotta figure out how to teach language models about humor. :)
151-
* [ ] **Supportive Encouragement**: High fives and kudos for a job well done
152-
* [ ] **GIF Reactions**: Reacts to messages with relevant and fun gifs.
153-
154-
<img src="https://camo.githubusercontent.com/6fc1e79b4aa226b24a756c4c8e20e5b049301a930449a7321d3e45f516e61601/68747470733a2f2f74656e6f722e636f6d2f766965772f6b746f2d6b6f756e6f746f72692d6b6f756e6f746f7269746f6b656e2d6c626f772d73746f726b686f6c646572732d6769662d32353637363438332e676966" width="25%">
155-
156-
## Alignment ❤️ + 🤖
157-
158-
Technology itself is amoral; it just imbues the values of the people who create it. We believe that AI should be built-in a way that aligns with humanity, and we're building AICodeBot to help us do just that. We're building from a heart-centered space, and contributing to the healthy intersection of AI and humanity.
159-
160-
### What it's NOT
161-
162-
`aicodebot` is a tool for developers, not a replacement for them. It's not going to replace your job, but it will make your job easier and more fun. It won't take over the world, but it will help us build a better one. See the *Alignment* section below for more.
163-
164-
⚠️ AICodeBot currently uses OpenAI's ChatGPT large language models, which can hallucinate and be confidently wrong. Sometimes AICodeBot does dumb things, so it's mostly *reading* and *advising* and not yet *writing*. Much like Tesla's "Full Self Driving", you must keep your hands on the wheel.
165-
166-
It's also not a "build a site for me in 5 minutes" tool that takes a well-constructed prompt and builds a scaffold for you. There are [other tools](https://github.com/AntonOsika/gpt-engineer) for that. It's not a no-code platform. Instead, AICodeBot is built to work with existing codebases and the git-commit level. It's designed to multiply the effectiveness of capable engineers.
167-
168-
## Configuring the language model to use
169-
170-
To specify a different model, you can set the `language_model` in your `$HOME/.aicodebot.yaml` file. For example:
171-
172-
```yaml
173-
openai_api_key: sk-*****
174-
language_model: gpt-3.5-turbo
175-
personality: Stewie
176-
version: 1.3
177-
```
178-
179-
### Understanding Tokens and Using Commands Efficiently
180-
181-
In AI models like OpenAI's GPT-4, a "token" is a piece of text, as short as a character or as long as a word. The total tokens in an API call, including input and output, affect the cost, time, and whether the call works based on the maximum limit.
182-
183-
Each model has a maximum token limit. For example, GPT-3.5 has a limit of 4096 tokens, and GPT-4 has a token limit of 8192 tokens. If a conversation exceeds this limit, you must reduce your text until it fits.
184-
185-
When using commands like the Sidekick command in AICodeBot, which allows you to pass in files for context, it's important to manage your tokens effectively. Due to token limits, it's not feasible to load your entire codebase. Instead, you should only load the specific files that are relevant to the task you're working on.
186-
This ensures that the AI model can process your request efficiently and provide the most relevant suggestions for your current task.
187-
188-
### How can I get a larger token limit?
189-
190-
Do you need a larger context window for your task? Are you running into token limits and getting a message like this?
44+
## What AICodeBot Did
19145

19246
```bash
193-
The context is too large (21414) for any of the models supported by your API key. 😞
47+
aicodebot commit # Generate a commit message from staged changes
48+
aicodebot review # AI code review on diffs or a commit hash
49+
aicodebot debug cmd # Run a command, capture errors, get AI debugging help
50+
aicodebot sidekick # Codebase-aware AI pair programmer in your terminal
19451
```
19552

196-
There are a couple of things you can do:
53+
Also shipped as a [GitHub Action for automated PR reviews](https://github.com/TechNickAI/AICodeBot-action).
19754

198-
1. Load fewer files into the context (only what you need to work with)
199-
2. Use Anthropic's Claude, which has much larger context window
55+
Built on top of Anthropic's Claude and OpenAI's GPT-4. Funny how that worked out.
20056

201-
## Development / Contributing
57+
---
20258

203-
We'd love your help! If you're interested in contributing, here's how to get started. See [CONTRIBUTING](https://github.com/TechNickAI/AICodeBot/blob/main/CONTRIBUTING.md) for more details.
59+
## Go Here Instead
20460

205-
## Docker
61+
**[Claude Code](https://claude.ai/code)** — Anthropic's official agentic coding assistant.
62+
Everything this project aspired to be, and then some.
20663

207-
Assumes you have changes in current working dir that are already added.
64+
---
20865

209-
```shell
210-
docker build -t aicodebot .
211-
docker run -v ~/.aicodebot.yaml:/home/user/.aicodebot.yaml -v .:/app aicodebot commit -y
212-
```
66+
*Built with ❤️ + 🤖 by [Nick Sullivan](https://github.com/TechNickAI) in 2023.*
67+
*Archived 2026 — not because the idea failed, but because it succeeded.*

0 commit comments

Comments
 (0)