AiChatCoder Agent
Agent for generating and applying AI-powered coding prompts in your repository via a web UI at www.aichatcoder.com.
The AiChatCoder Agent is a command-line tool that runs locally in your repository as part of the AiChatCoder system. It generates tailored AI prompts based on your codebase, which you can copy to a chat model (e.g., ChatGPT) via the web UI at www.aichatcoder.com. After receiving the chat response, the agent applies the suggested changes to your files, streamlining your coding workflow.
Overview
AiChatCoder is a system designed for developers to integrate AI assistance into their coding process. The system consists of two main components:
- AiChatCoder Agent (this pip package): A local agent that runs in your repository to generate prompts and apply changes.
- AiChatCoder Web UI (www.aichatcoder.com): A web interface for controlling the agent, generating prompts, and managing chat responses.
Workflow (Prototype)
-
Run the Agent Locally: Use the
aichatcoderCLI to start the agent in your repository. -
Control via Web UI: Open the web UI at www.aichatcoder.com, write a prompt (or use the agent’s suggestions), and hit "Generate."
-
Generate Prompts: The agent analyzes your codebase and generates specific AI prompts, which are displayed in the web UI for you to copy.
-
Interact with Chat Model: Copy the generated prompt to a chat model (e.g., ChatGPT). The chat model responds with code or instructions in a specific format.
-
Apply Changes: Copy the chat response back to the web UI. The web UI sends the response to the agent, which applies the changes to your repository files.
Installation
AiChatCoder requires Python 3.8+ to be installed on your system. Follow the steps below for your platform:
Windows
- Download and install Python 3.8+ from python.org.
- Open a command prompt and install AiChatCoder:
pip install aichatcoder
Linux (e.g., Ubuntu)
- Python 3 is usually pre-installed. Check with
python3 --version. - If
pipis not installed, run:sudo apt update sudo apt install python3-pip
- Install AiChatCoder:
pip install aichatcoder
Mac (ARM/Intel)
- macOS 12.3+ does not include Python by default. Download and install Python 3.8+ from python.org, or use Homebrew:
brew install python
- Install AiChatCoder:
pip install aichatcoder
Usage
This package provides a CLI for running the agent in your repository. The web UI at www.aichatcoder.com is required to control the agent and manage the workflow.
Global Configuration
AiChatCoder stores a global configuration file in YAML format at the following location:
- Linux/Mac:
~/.aichatcoder/config.yml - Windows:
C:\Users\<Username>\.aichatcoder\config.yml
The configuration file stores your web auth token, which is required to connect to the AiChatCoder web UI.
First Run Setup
The first time you run aichatcoder init, you’ll be prompted to provide a web auth token if it’s not already set in the configuration file.
You can obtain your web auth token by logging in with your GitHub account at www.aichatcoder.com
Check for Updates
When you run aichatcoder init or aichatcoder run, the CLI will check for updates on PyPI. If a newer version is available, you’ll be prompted to update.
Initialize the Agent
aichatcoder init
This sets up the agent in your current repository. If a web auth token is not set, you’ll be prompted to provide one.
Run the Agent
aichatcoder run
This starts the agent, which will connect to the web UI and prepare to generate prompts and apply changes. If a web auth token is not set, you’ll be prompted to run aichatcoder init to set it up.
License
The AiChatCoder Agent is licensed under a custom "No Usage" License. This package is made public for transparency and security review purposes only. Usage, modification, or distribution of this package by others is strictly prohibited. See the LICENSE file for details.
Credits
Created by therceman.
Links
- Website: aichatcoder.com
- PyPI: pypi.org/project/aichatcoder/
- GitHub: github.com/aichatcoder/aichatcoder
Metadata
Release files for aichatcoder 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aichatcoder-0.0.3.tar.gz | 5.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aichatcoder-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.4 kB
Release files / aichatcoder-0.0.3.tar.gz
| Download URL | aichatcoder-0.0.3.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1f01630008f17ffa0345e3ea59f32f19ac68dd71df988e6a27a9cbf167374b8
|
|
BLAKE2b-256 checksum How to use checksums |
d308f9e1894933a717144475ea4f2b40ae05ad58349159c2f65850335bde5954
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / aichatcoder-0.0.3-py3-none-any.whl
| Download URL | aichatcoder-0.0.3-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f159b5b4d5410a052b42d64326f16fdf65814570b4343c6daf2629d8c0442833
|
|
BLAKE2b-256 checksum How to use checksums |
ad2445ab493a574c94d5112f91b12e1c6c63a885aefd904429638175f835d5c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Security for aichatcoder 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.