Skip to content

PocketAI v0.2.0 - Improved UI & Configuration

Choose a tag to compare

@kongogaming kongogaming released this 08 Jul 07:35

🚀 PocketAI v0.2.0

PocketAI is a lightweight Python CLI that lets you chat with local AI models running on Ollama. This release focuses on improving the user experience, project structure, and terminal interface.


✨ New Features

  • 🤖 Beautiful terminal startup banner
  • 📖 Interactive /help command
  • ⚙️ /config command to display current configuration
  • 🧹 /clear command to clear the screen
  • 🧠 Thinking indicator while waiting for AI responses
  • 📦 Configuration system using config.json
  • 🛡️ Better connection error handling
  • 🏗️ Cleaner and modular project architecture

📁 Project Structure

PocketAI/
│
├── config.json
├── requirements.txt
├── README.md
│
└── pocketai/
    ├── ai.py
    ├── config.py
    └── main.py

🛠 Built With

  • Python 3
  • Ollama
  • Requests

🚀 Getting Started

  1. Install the required packages:
pip install -r requirements.txt
  1. Edit config.json:
{
    "url": "http://YOUR_PHONE_IP:11434/api/generate",
    "model": "gemma3:270m",
    "version": "0.2.0"
}
  1. Start PocketAI:
python pocketai/main.py

📋 Commands

Command Description
/help Show available commands
/config Show current configuration
/clear Clear the terminal
/bye Exit PocketAI

🎯 What's Next

Planned for v0.3.0

  • Streaming responses
  • Colored terminal output
  • Chat history
  • Model switching
  • Performance statistics

Thank you for checking out PocketAI! ⭐
If you like the project, consider giving it a star.