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
Metadata
Release files for chatlas 0.23.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 |
|---|---|---|---|---|
| chatlas-0.23.0.tar.gz | 13.5 MB | With provenance | Details for chatlas-0.23.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chatlas-0.23.0-py3-none-any.whl | Python 3 | none | any | Details for chatlas-0.23.0-py3-none-any.whl |
Total release size: 13.7 MB
Release files / chatlas-0.23.0.tar.gz
| Download URL | chatlas-0.23.0.tar.gz |
|---|---|
| Size | 13.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4392b1ae91e8fb02841e5dfa70a9559a4c9a602f6dc40897fcee4f5215038446
|
|
BLAKE2b-256 checksum How to use checksums |
6a111d1666527260de7f676206a78b131baec59a114ee3ad560ca8805e2d369c
|
| 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 Sep 4, 2026.
Transparency logRelease files / chatlas-0.23.0-py3-none-any.whl
| Download URL | chatlas-0.23.0-py3-none-any.whl |
|---|---|
| Size | 258.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24ae2c579b8aadba1a3a65ce32c65781c2351c548b2cefa49c598627b8672859
|
|
BLAKE2b-256 checksum How to use checksums |
5c52d578133c2caa591fb0a224e83c6da659fa8470093caa99605592bb3c5ee1
|
| 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 Sep 4, 2026.
Transparency logSecurity for chatlas 0.23.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 chatlas-0.23.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 Sep 4, 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.