Natural-language-driven live code editing for any web application
Project description
live-edit
Natural-language-driven live code editing, powered by an AI agent loop — not a thin LLM wrapper.
It watches you code. Then your users change it. Then it commits. All through natural language, with full git isolation.
It's not a chatbot strapped to your codebase.
A pure LLM wrapper does one thing: prompt → response. live-edit runs a full agent loop — the model reads files, searches code, makes edits, observes results, retries on failure, and commits. Your users see a friendly chat; your git log sees clean commits.
Three modes, one engine:
| Mode | Who | How |
|---|---|---|
| quick | Non-technical users | Each write waits for approval, errors translated to plain language |
| deep | Developers | Agent works autonomously, final diff gets approved as a batch |
| qa | Anyone learning | Read-only tools, code analysis only |
Install
pip install live-edit
cd your-project/
live-edit init
Wire it up (2 lines)
from live_edit import setup_live_edit
app.include_router(setup_live_edit())
<script src="/live-edit/static/live-edit.js"></script>
Press Ctrl+Shift+D to open the editing panel.
Customize
Swap any component — LLM provider, storage backend, version control:
from live_edit import Provider, Storage, VCS, setup_live_edit
app.include_router(setup_live_edit(
provider=MyProvider(),
storage=MyStorage(),
vcs=MyVCS(),
))
Docs
USER_MANUAL.md — architecture, agent loop, config reference, API endpoints, security model.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file live_edit-0.1.0.tar.gz.
File metadata
- Download URL: live_edit-0.1.0.tar.gz
- Upload date:
- Size: 68.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
410635b15a0db8476a1c5ae60e3c7d6e6466202f6877f45b6188a8d9eee3a994
|
|
| MD5 |
fd779b623ed58c1db2739450b06e6104
|
|
| BLAKE2b-256 |
0d962de8c7bc7d717f9480d698b5e5969831da45df8b8b4f793a3ddf67c21a06
|
File details
Details for the file live_edit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: live_edit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 45.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3defa2dc22332c9928d56e12664edbc489e026820610040d0b0db3c03a0a062
|
|
| MD5 |
5cc0ca0c9e9ce1ecc8fdd9b61a5b1da4
|
|
| BLAKE2b-256 |
5a7e74810ffe2ec39dc9bbb583f67b8d6bac5f1fc6cef42399385de8cc5bd3fb
|