Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gwen

A local AI companion with persistent memory. Designed for old hardware.

No cloud. No telemetry. No GPU required. Just you, an Ollama model, and a companion that remembers.

Requirements

  • Linux x86-64
  • Python 3.11+
  • Ollama (with at least one model pulled)
  • 4GB RAM minimum (8GB recommended)
  • 2GB free disk

Quick Install

git clone https://github.com/your-username/gwen.git
cd gwen
./setup.sh
gwen

Manual Install

python3 -m venv venv
source venv/bin/activate
pip install -e .
gwen init
gwen

Usage

gwen                  Start interactive chat
gwen ask "question"   Ask one question, get one answer
gwen remember "fact"  Store a fact to memory
gwen search "query"   Search past memories
gwen status           System health check
gwen sessions         List recent conversations
gwen init             Re-initialize config and database

Chat commands (inside the REPL)

/help       Show commands
/exit       Quit
/stats      Memory and session stats
/remember   Store a fact mid-conversation

Personality

Edit ~/.config/gwen/personality.md to change how Gwen speaks. The default is based on the companion personality from personality.example.md.

Configuration

Config file: ~/.config/gwen/config.toml

Key Default Description
ollama_host http://localhost:11434 Ollama API endpoint
model llama3.2:1b Chat model
embed_model all-minilm:22m Embedding model
temperature 0.1 Response creativity
max_tokens 150 Max response length
num_ctx 1024 Context window size

Data

All data lives under ~/.local/share/gwen/:

  • memory.db — SQLite database with all memories, embeddings, and conversations
  • history/ — JSON conversation logs

License

MIT

About

Agent Gwen workspace

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages