A lightweight CLI-based AI assistant framework that supports memory, session saving, persona-driven response generation, and OpenAI integration.

🎯 Features

📦 Project Structure

🧠 Memory + Session Logging

All dialogue is tracked and saved when the user exits via exit or quit. Session logs are timestamped and saved locally.

⌨️ Supported CLI Commands

/save           Save current session
/delete         Delete current persona
/traits         View traits of current persona
/history        View full conversation history
/reset          Reset memory for current persona
/help           Show command list
exit | quit     End session and save

🔧 To Run

python main.py

Offline mode will launch with a static preset message. Use this for testing CLI commands and flows.

🌐 OpenAI Integration (Recommended for Full Features)

To enable full AI responses and personality simulation:

  1. Create a file named config.py in the root directory
  2. Add your OpenAI API key to it:
OPENAI_API_KEY = "your-openai-api-key-here"
  1. In response_handler.py, set:
USE_OPENAI = True

⚠️ Stub mode returns a single static message. OpenAI integration is required for realistic persona behavior.

👤 About the Author

Justin Lane
🔗 GitHub: @aiwithjusl
🔗 LinkedIn: Justin Lane
📬 Email: aiwithjusl.dev@gmail.com

📄 License

This project is licensed under the MIT License.