NebulaCode — AI coding assistant for the terminal
Project description
Nebula Code
AI coding assistant for the terminal — like Claude Code or Codex, but runs on your own local models via Ollama or a NebulaX instance.
nebula › explain the auth flow in this repo
nebula › add input validation to src/api/users.py
nebula › write tests for the payment module and run them
Install
pip install nebulacode
Or from a downloaded wheel:
pip install nebulacode-0.6.0-py3-none-any.whl
Requirements
- Python 3.10+
- Ollama running locally (
ollama serve) - A model:
ollama pull llama3.2orollama pull codellama
Quick start
nebula # start interactive session
nebula -m codellama:7b # use a specific model
nebula models # list available models
nebula set model codellama:7b # save default model
Session commands
| Command | Description |
|---|---|
/clear |
Clear conversation and screen |
/context |
Show conversation history |
/model NAME |
Switch model |
/set KEY VALUE |
Change max_steps or temperature |
/tools |
List available tools |
/help |
Show help |
/exit |
Quit |
Tools
| Tool | What it does |
|---|---|
read_file |
Read any file |
write_file |
Create or overwrite a file |
patch_file |
Targeted string replacement |
list_files |
List a directory |
run_command |
Run shell commands (tests, linters, builds) |
search_files |
Grep across files |
Remote daemon mode
Connect to a NebulaX server and let the web UI dispatch tasks to your machine:
nebula login https://your-nebulax-server # authenticate
nebula daemon # start listening
The NebulaX Chat UI will show a "CLI" badge — select your connected machine and the AI will execute tasks locally and stream results back.
Configuration
Stored at ~/.nebula/config.json.
nebula config # show config
nebula set model codellama:13b # default model
nebula set max_steps 30 # allow longer runs
nebula set ollama_url http://host:11434 # remote Ollama
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 Distributions
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 nebulacode-0.7.0-py3-none-any.whl.
File metadata
- Download URL: nebulacode-0.7.0-py3-none-any.whl
- Upload date:
- Size: 20.3 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 |
f3e75d0aa1b90f3c58136504afa3f68490ea99d3d7414e5098f5a5cd79bb9395
|
|
| MD5 |
309211927b2595a92f4ae937771450d8
|
|
| BLAKE2b-256 |
5bd7cbac4146440b62777c45f05272c52a60c4d03126627ade9167dc3fe3ce5c
|