chatthy
An asynchronous terminal server/multiple-client setup for conducting and managing chats with LLMs.
This is the successor project to llama-farm
The RAG/agent functionality should be split out into an API layer.
network architecture
- client/server RPC-type architecture
- message signing
- ensure stream chunk ordering
chat management
- basic chat persistence and management
- set, switch to saved system prompts (personalities)
- manage prompts like chats (as files)
- chat truncation to token length
- rename chat
- profiles (profile x personalities -> sets of chats)
- import/export chat to client-side file
- remove text between tags when saving
context workspace
- context workspace (load/drop files)
- client inject from file
- client inject from other sources, e.g. youtube (trag)
- templates for standard instruction requests (trag)
- context workspace - bench/suspend files (hidden by filename)
- local files / folders in transient workspace
- checkboxes for delete / show / hide
client interface
- can switch between Anthropic, OpenAI, tabbyAPI providers and models
- streaming
- syntax highlighting
- decent REPL
- REPL command mode
- cut/copy from output
- client-side prompt editing
- vimish keys in output
- client-side chat/message editing (how? temporarily set the input field history? Fire up
$EDITORin client?) - edit via chat local import/export - latex rendering (this is tricky in the context of prompt-toolkit, but see flatlatex).
- generation cancellation
- tkinter UI
multimodal
- design with multimodal models in mind
- image sending and use
- image display
miscellaneous / extensions
- use proper config dir (group?)
- dump default conf if missing
tool / agentic use
Use agents at the API level, which is to say, use an intelligent router. This separates the chatthy system from the RAG/LLM logic.
- (auto) tools (evolve from llama-farm -> trag)
- user defined tool plugins
- server use vdb context at LLM will (tool)
- iterative workflows (refer to llama-farm, consider smolagents)
- tool chains
- tool: workspace file write, delete
- tool: workspace file patch/diff
- tool: rag query tool
- MCP agents?
- smolagents / archgw?
RAG
- summaries and standard client instructions (trag)
- server use vdb context on request
- set RAG provider client-side (e.g. Mistral Small, Phi-4)
- consider best method of pdf conversion / ingestion (fvdb), OOB (image models?)
- full arxiv paper ingestion (fvdb) - consolidate into one latex file OOB
- vdb result reranking with context, and winnowing (agent?)
- vdb results -> workspace (agent?)
unallocated / out of scope
audio streaming ? - see matatonic's servers workflows (tree of instruction templates) tasks
Metadata
Release files for chatthy 0.2.11
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 |
|---|---|---|---|---|
| chatthy-0.2.11.tar.gz | 40.2 kB | Without provenance | Details for chatthy-0.2.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chatthy-0.2.11-py3-none-any.whl | Python 3 | none | any | Details for chatthy-0.2.11-py3-none-any.whl |
Total release size: 81.2 kB
Release files / chatthy-0.2.11.tar.gz
| Download URL | chatthy-0.2.11.tar.gz |
|---|---|
| Size | 40.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df0210761d3c377e565e19f99a7f0b59ff80e4af534ae1bcc851b688036a2df2
|
|
BLAKE2b-256 checksum How to use checksums |
7ed1b21023e96caadff1528d299028a4e41ebb0ddfcb54cfdd376e074fa09464
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / chatthy-0.2.11-py3-none-any.whl
| Download URL | chatthy-0.2.11-py3-none-any.whl |
|---|---|
| Size | 41.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a466191b6143ce67ac38abb8a8d29fd4266ead9177f20865b9c0fb4655c2669
|
|
BLAKE2b-256 checksum How to use checksums |
a5a288e6ae6ec2a9530ddfb3fcd52bcfd229f380ab5c9aa7feef38fff1ce8849
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for chatthy 0.2.11
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.