Skip to main content

A lightweight communication layer for developers to interact with LLMs.

Project description

AI Codec

PyPI version CI License: MIT

AI Codec is a lightweight, CLI-first tool that brings a structured, reviewable, and reversible workflow to applying LLM-generated code to your projects. Instead of chaotic copy-pasting from a chatbot, you get a formal, git-like review process for AI-driven changes.


📖 Full Documentation

For a complete guide, including installation options, a step-by-step tutorial, and the full command reference, please visit the official documentation website:

https://stevie1704.github.io/aicodec/


✨ Features

  • Structured Interaction: Enforces a simple JSON schema, turning raw LLM output into a structured set of changes.
  • Safe Review Process: The aicodec apply command launches a web UI with a git-like diffing experience so you can see exactly what will change before any files are touched.
  • Developer in Control: Selectively apply, reject, or even edit the LLM's suggestions live in the diff viewer.
  • Atomic & Reversible Changes: The apply and revert commands make applying LLM suggestions a safe transaction that you can undo with a single command.
  • Flexible File Aggregation: Gather relevant project files into a single context for the LLM with powerful inclusion/exclusion rules.
  • Clipboard Integration: Pipe your LLM's response directly from your clipboard into the review process.

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

aicodec-2.11.0.tar.gz (44.0 kB view details)

Uploaded Source

Built Distribution

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

aicodec-2.11.0-py3-none-any.whl (45.2 kB view details)

Uploaded Python 3

File details

Details for the file aicodec-2.11.0.tar.gz.

File metadata

  • Download URL: aicodec-2.11.0.tar.gz
  • Upload date:
  • Size: 44.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for aicodec-2.11.0.tar.gz
Algorithm Hash digest
SHA256 a2ce1b7f14d8aa2a0e18e0f5a5a84b9bb03fd4e9bf4803272d8e8d4091da77d0
MD5 8e0e2a36be3e43bfd0627b44c2f9b57f
BLAKE2b-256 6bfeb768e3e84df54f01894feabd4211945b0b5dee3ce8a92f9ff1642ca3b400

See more details on using hashes here.

File details

Details for the file aicodec-2.11.0-py3-none-any.whl.

File metadata

  • Download URL: aicodec-2.11.0-py3-none-any.whl
  • Upload date:
  • Size: 45.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for aicodec-2.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac98d452012ada7f1c924b0b52001720f88f524c0f0e5fbb7c8db79eeeab64c1
MD5 7a963893a7c005520a2fdb4721c16929
BLAKE2b-256 36fa4e2c1333e716be85dfca3260aea57db0e19bce951474eee6f97c65fe64e1

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