chatlas 
Your friendly guide to building LLM chat apps in Python with less effort and more clarity.
Install
Install the latest stable release from PyPI:
pip install -U chatlas
Or, install the latest development version from GitHub:
pip install -U git+https://github.com/posit-dev/chatlas
Quick start
Get started in 3 simple steps:
- Choose a model provider, such as ChatOpenAI or ChatAnthropic.
- Visit the provider's reference page to get setup with necessary credentials.
- Create the relevant
Chatclient and start chatting!
from chatlas import ChatOpenAI
# Optional (but recommended) model and system_prompt
chat = ChatOpenAI(
model="gpt-4.1-mini",
system_prompt="You are a helpful assistant.",
)
# Optional tool registration
def get_current_weather(lat: float, lng: float):
"Get the current weather for a given location."
return "sunny"
chat.register_tool(get_current_weather)
# Send user prompt to the model for a response.
chat.chat("How's the weather in San Francisco?")
Learn more at https://posit-dev.github.io/chatlas
Release files for chatlas 0.21.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chatlas-0.21.2.tar.gz | 13.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chatlas-0.21.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 MB
Release files / chatlas-0.21.2.tar.gz
| Download URL | chatlas-0.21.2.tar.gz |
|---|---|
| Size | 13.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65efcd3cbef63835f29091d54a8168c0bc563045ac80846a9eb498c8de45342d
|
|
BLAKE2b-256 checksum How to use checksums |
497baa1cb2e5d4355ef18ca289930007496567f72c8ba86cf3f7db9c7e532cd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 20, 2026.
Transparency logRelease files / chatlas-0.21.2-py3-none-any.whl
| Download URL | chatlas-0.21.2-py3-none-any.whl |
|---|---|
| Size | 252.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
830a3fb3525a747901dd01503b6df1f8ae292910ee7d1d2cab070278bafcdfe2
|
|
BLAKE2b-256 checksum How to use checksums |
931eebdd9dc3d9dadea381b69a1e9736bf1db12784e009ba459288d247fd9c7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 20, 2026.
Transparency log