Skip to main content

Agent for generating and applying AI-powered coding prompts in your repository via a web UI

Project description

AiChatCoder Agent

Agent for generating and applying AI-powered coding prompts in your repository via a web UI.

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 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 (aichatcoder.com): A web interface for controlling the agent, generating prompts, and managing chat responses.

Workflow

  1. Run the Agent Locally: Use the aichatcoder CLI to start the agent in your repository.

  2. Control via Web UI: Open the web UI at aichatcoder.com, write a prompt (or use the agent’s suggestions), and hit "Generate."

  3. Generate Prompts: The agent analyzes your codebase and generates specific AI prompts, which are displayed in the web UI for you to copy.

  4. 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.

  5. 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

Install the AiChatCoder Agent using pip:

pip install aichatcoder

Usage

This package provides a CLI for running the agent in your repository. The web UI at aichatcoder.com is required to control the agent and manage the workflow.

Initialize the Agent

aichatcoder init

This sets up the agent in your current repository.

Run the Agent

aichatcoder run

This starts the agent, which will connect to the web UI and prepare to generate prompts and apply changes.

Status

This is a mockup version (0.0.1) of the AiChatCoder Agent. The current version provides a basic CLI for initializing and running the agent. Future versions will include:

  • Full integration with the web UI at aichatcoder.com.

  • Prompt generation for AI chat models (e.g., ChatGPT).

  • Applying changes to repository files based on chat responses.

  • Custom alias support (e.g., acc init instead of aichatcoder init).

  • Cross-platform functionality.

License

The AiChatCoder Agent is licensed under the MIT License. See the LICENSE file for details.

Credits

Created by therceman

Links

  • Website: aichatcoder.com
  • PyPI: pypi.org/project/aichatcoder/

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

aichatcoder-0.0.1.tar.gz (10.7 MB view details)

Uploaded Source

Built Distribution

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

aichatcoder-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file aichatcoder-0.0.1.tar.gz.

File metadata

  • Download URL: aichatcoder-0.0.1.tar.gz
  • Upload date:
  • Size: 10.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for aichatcoder-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8a470a5141652f23577b6d2c46442ed311b16de4594ece73a743b6c673d2d653
MD5 207f3529a9c35ae04e4b858e9973cb2b
BLAKE2b-256 7e86e734886c09b50438288544369ab88fa292f2ee54a21a3e687ea32ee8aab9

See more details on using hashes here.

File details

Details for the file aichatcoder-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: aichatcoder-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for aichatcoder-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa3ad8fc995f474382632c953beb922109c4997226737023b510a46c0bbcadad
MD5 6514d3d09cb332ba7ff20833f92ef9fd
BLAKE2b-256 a4882260753c032576fbba533e94aa30fbcbfdb8ae62d7af13da92e54f7b9ad6

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