Skip to content
JagguDada01Public

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Noa

Noa is a terminal-based AI assistant powered by a local Ollama model.

It runs on your own machine, works without a browser, and can keep working with Wi-Fi off after the model is already downloaded.

Features

  • terminal chat interface
  • local Ollama model support
  • streaming responses
  • automatic local model detection
  • automatic ollama serve startup
  • simple commands for switching models and clearing chat history

Requirements

  • Python 3.10 or newer
  • Ollama installed
  • at least one Ollama model downloaded locally

Quick Start

1. Clone the project

git clone https://github.com/JagguDada01/noa.git
cd noa

2. Install Ollama

Install Ollama for your system, then make sure this works:

ollama --version

3. Download a model

Example:

ollama pull llama3.2:3b

You only need internet for this step the first time.

4. Start Noa

chmod +x noa noa.py
./noa

Run Commands

Start interactive chat:

./noa

List local models:

./noa --list-models

Use a specific model:

./noa --model llama3.2:3b

Ask one question and exit:

./noa --once "Explain recursion simply."

Do not auto-start the Ollama server:

./noa --no-auto-start

Run the Python file directly:

python3 noa.py

Optional Global Command

If you want to run Noa as noa from anywhere:

chmod +x noa noa.py
sudo ln -sf "$(pwd)/noa" /usr/local/bin/noa

Then use:

noa

On Apple Silicon systems using Homebrew, you can also use:

sudo ln -sf "$(pwd)/noa" /opt/homebrew/bin/noa

Chat Commands

  • /help
  • /models
  • /model NAME
  • /clear
  • /system TEXT
  • /status
  • /exit

Offline Use

Noa works offline after:

  • Ollama is installed
  • a model is already downloaded locally

If the model is not present yet, download it first:

ollama pull llama3.2:3b

Project Files

  • noa.py - main terminal chatbot
  • noa - launcher script

Example

./noa --model llama3.2:3b

License

MIT License. See LICENSE.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages