hearthside
The chat terminal for hobkin: the seat by the fire where you talk to it.
hobkin is one standard-library file, and its own hobkin chat is deliberately plain, for when nothing else can
be installed: lines in, output printed as it comes. Install hearthside beside it and hobkin chat uses it instead:
pip install hearthside # or: pip install "hobkin[chat]"
hobkin chat
- Input that's yours. Enter sends. Alt+Enter starts a new line (so does Shift+Enter, in terminals that tell it apart from Enter: kitty, WezTerm, recent iTerm2 and Windows Terminal; Ctrl+J works everywhere). A paste lands as one block you can edit before sending, however many lines it has. Up arrow walks your history.
- Output above, never through. What the agent says appears above your prompt while you type.
- A status bar with what the agent's doing right now.
- Help on F1 (and
/help): every command, a line each;/help modelfor one in full. - F2 goes round how much the chat shows: hobkin's
talk(what's said),chores(and its housekeeping),tools(and what it runs) andfull(everything, output too);/show LEVELpicks one. - Commands complete as you type, with what each does beside it.
/modelthen Tab is a model picker: your configured models, each with its service, the one in use, and any rate limit it's waiting out. Pick the same model on another service when one runs out of quota, and the switch happens at once. - Code blocks in colour, by the language their fence names (Pygments).
- Tab completes file paths as you type them in a message, from the folder you started the chat in.
- Scroll back and search: PgUp opens the whole conversation full-screen (PgUp/PgDn and the arrows to move), Ctrl-F searches it (Enter to stop at a match, n and N for the next and the one before), and Esc or q brings you back to the chat with what you were typing. Ctrl-F from the chat opens it searching.
- Tables lined up in columns, and list bullets tidied, in the chat and in the scrollback.
- Drafts kept: a half-written message survives leaving the chat or a dropped connection, and is there to
finish when you come back (beside the history file, as
HISTORY.draft, until it's sent or cleared with Ctrl-C). - Not full-screen, on purpose: your terminal's scrollback, search and copying work as they always do. To copy
a code block the agent wrote,
/copy(hobkin's) puts it on your clipboard;/copy 2the one before.
Ctrl-C clears what you've typed, Ctrl-D leaves. HOBKIN_CHAT=plain hobkin chat gives you hobkin's plain chat even
with hearthside installed.
For other programs
hearthside never imports hobkin. Anything that can hand it a few callables can use it:
import hearthside
hearthside.chat(
"s1", # who you're talking to
recent_lines, # shown first (ANSI colour is fine)
poll, # poll() -> new output lines; called from a thread
send, # send(text): a message, newlines and all
status=status, # status() -> what it's doing, or None when it's waiting for you
history="~/.my_history", # input history (hearthside's own format)
commands={"/stop": "finish and exit"}, # or just a list of words
local={"/copy": copy, "/help": help}, # answered here, never sent: fn(rest) -> text to print ("/help" is F1)
arguments={"/model": models}, # models() -> [(value, what it is)]: the menu after "/model "
backlog=whole_conversation, # backlog() -> lines, for PgUp (default: what this chat has shown)
)
Development
python3 tests/test_hearthside.py drives chat with typed keys (no terminal needed). Releases: publishing a GitHub
release vX.Y.Z matching __version__ uploads to PyPI.
Metadata
Release files for hearthside 0.4.0
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 |
|---|---|---|---|---|
| hearthside-0.4.0.tar.gz | 13.4 kB | With provenance | Details for hearthside-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hearthside-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for hearthside-0.4.0-py3-none-any.whl |
Total release size: 23.8 kB
Release files / hearthside-0.4.0.tar.gz
| Download URL | hearthside-0.4.0.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bded0c5416389e6cc1e7b2120f73c1bedd358da3159fc7f26b73f6be30b5d5c
|
|
BLAKE2b-256 checksum How to use checksums |
6c513b75cadee1433dfee14671c6494112e7b5c057a209bf51920ae25391668a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logRelease files / hearthside-0.4.0-py3-none-any.whl
| Download URL | hearthside-0.4.0-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ef4775e097f181a7762cf0893e80bde30a34c03b8d54741435077c14dae7d5f
|
|
BLAKE2b-256 checksum How to use checksums |
fb77895284caf9fd0d5aee9efeb33914666c20d9d2bc20b4f26601ee488a5a5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logSecurity for hearthside 0.4.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for hearthside-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logA 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.