Autonomous CLI powered by local LLMs with self-healing tools
Project description
Prisl Code
A local AI coding assistant for your terminal that runs GGUF models using llama.cpp locally. It can read, write, and execute code in your projects while running offline in an isolated environment.
You can run your own server too it will detect it and will connect.
Installation
Prisl Code is designed to be a one-command setup.
pip install prisl-code
Usage
Once installed, navigate to any folder on your computer and start the assistant by typing:
prisl-code
On its first run, Prisl Code checks for an active LLM server (ports 8080/11434). If none is found, it offers to automatically download llama-server and opens a native file picker for you to select your GGUF model.
Basics
Add context:
- Type @filename.py anywhere in your message to instantly inject that file's contents into the AI's memory.
Commands:
- @<filepath>: Inject a file's content directly into context.
- /compact: Clear conversation history to save tokens (keeps system prompt).
- /history: Print a summary of the current conversation history.
- /save: Export the current chat history to a Markdown file.
- /clear: Clear the terminal screen.
- /help: Show this help menu.
- /exit: Exit the application.
Requirements
- Python 3.8+
- Pip 23.0+
Uninstall
pip uninstall prisl-code
License
This project is open source and available under the MIT License.
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 prisl_code-1.0.0.tar.gz.
File metadata
- Download URL: prisl_code-1.0.0.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d72a5f6a92a78383f16dbb8f2f47a76cf60657ff64ec53d33240b04f5041e5c7
|
|
| MD5 |
67b39d7a6c75a672b7ee45b0f9a5ddce
|
|
| BLAKE2b-256 |
130b3471234a6f456028af4ba36c66e766579c51e6d5342287ead75e1a96e119
|
Provenance
The following attestation bundles were made for prisl_code-1.0.0.tar.gz:
Publisher:
main.yml on rx76d/prisl-code
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
prisl_code-1.0.0.tar.gz -
Subject digest:
d72a5f6a92a78383f16dbb8f2f47a76cf60657ff64ec53d33240b04f5041e5c7 - Sigstore transparency entry: 1247015091
- Sigstore integration time:
-
Permalink:
rx76d/prisl-code@36eabf7204df2184ea9c5ae6e1af88e6ed2fa0df -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/rx76d
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@36eabf7204df2184ea9c5ae6e1af88e6ed2fa0df -
Trigger Event:
release
-
Statement type:
File details
Details for the file prisl_code-1.0.0-py3-none-any.whl.
File metadata
- Download URL: prisl_code-1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49d2c77c5caa926d7065656713ed9affe1e203dfe4e89634f20d9d22f7864c8a
|
|
| MD5 |
0a755a392756015c49208ea08d1114bd
|
|
| BLAKE2b-256 |
4213a09cae24b3734b7424a7c4b0574b4339bee06ede2f91c99d3a3576ac2c5b
|
Provenance
The following attestation bundles were made for prisl_code-1.0.0-py3-none-any.whl:
Publisher:
main.yml on rx76d/prisl-code
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
prisl_code-1.0.0-py3-none-any.whl -
Subject digest:
49d2c77c5caa926d7065656713ed9affe1e203dfe4e89634f20d9d22f7864c8a - Sigstore transparency entry: 1247015177
- Sigstore integration time:
-
Permalink:
rx76d/prisl-code@36eabf7204df2184ea9c5ae6e1af88e6ed2fa0df -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/rx76d
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@36eabf7204df2184ea9c5ae6e1af88e6ed2fa0df -
Trigger Event:
release
-
Statement type: