Simplechat
A chat interface for AI models using Simplemind.
Overview
Simplechat is a command-line chat application that provides an interactive interface for conversing with AI models. It features memory persistence, context awareness, and support for multiple AI providers.
Features
- Support for multiple AI providers (OpenAI, Anthropic, XAI, Ollama)
- Persistent conversation memory and context
- Entity and topic tracking
- User identity management
- Rich markdown rendering
- Command completion
- Clipboard integration
Installation
Requires Python 3.11 or higher.
$ pip install simplemind-chat
Usage
Start a chat session:
$ simplechat [--provider=<provider>] [--model=<model>]
API keys should be set in environment variables before running:
$ export OPENAI_API_KEY="..."
$ export ANTHROPIC_API_KEY="..."
$ export XAI_API_KEY="..."
$ export OLLAMA_API_KEY="..."
Options:
--provider: LLM provider to use (openai/anthropic/xai/ollama)--model: Specific model to use (e.g. o1-preview)
Available Commands
/copy- Copy last assistant response to clipboard/paste- Paste clipboard content into chat/help- Show available commands/exit- Exit the chat session/clear- Clear the screen/invoke- Invoke a specific persona/memories- Display conversation memories
Features in Detail
Memory System
Simplechat includes a sophisticated memory system that:
- Tracks conversation topics and entities
- Maintains user identity across sessions
- Records user preferences and characteristics
- Provides context awareness for more coherent conversations
Database
Uses SQLite for persistent storage of:
- Conversation entities
- User identity
- Essence markers (user characteristics and preferences)
- Memory markers
Rich Interface
- Markdown rendering for formatted output
- Command completion
- Status indicators
- Error handling with retries
Development
The project structure follows a modular design:
cli.py: Command-line interface and main chat loopdb.py: Database operations and schemaplugin.py: Plugin system for memory and context managementsettings.py: Configuration and path management
License
MIT License
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Metadata
Release files for simplemind-chat 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simplemind_chat-0.1.8.tar.gz | 14.8 kB | Without provenance | Details for simplemind_chat-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simplemind_chat-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for simplemind_chat-0.1.8-py3-none-any.whl |
Total release size: 30.5 kB
Release files / simplemind_chat-0.1.8.tar.gz
| Download URL | simplemind_chat-0.1.8.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bf5d8aa186c6713d5590b8f7820f5ebf8d644a4516706359fd6c6ca051eb26d
|
|
BLAKE2b-256 checksum How to use checksums |
96880c7791cd94cb38d664223ccff4568ff984c3da98c991e06e72df67889ac2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.28
|
Release files / simplemind_chat-0.1.8-py3-none-any.whl
| Download URL | simplemind_chat-0.1.8-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f959603084f30171b05370381f9754dbffcb120942dc1195a496729e82001a5a
|
|
BLAKE2b-256 checksum How to use checksums |
2579067b62b8298d1458860dac5e6c9cc2f576b9094dcf8ae0b83b7b17a822d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.28
|
Security for simplemind-chat 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.