A simple and consistent interface for chatting with LLMs
Project Links
Meta
Author: Carson Sievert
Requires Python: >=3.9
Classifiers
Development Status
- 4 - Beta
Intended Audience
- Developers
License
- OSI Approved :: MIT License
Programming Language
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
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
0.15.2
Feb 27, 2026
0.15.1
Jan 22, 2026
0.15.0
Jan 06, 2026
0.14.0
Dec 09, 2025
0.13.2
Oct 02, 2025
0.13.1
Sep 18, 2025
0.13.0
Sep 10, 2025
0.12.0
Sep 08, 2025
0.11.1
Aug 29, 2025
0.11.0
Aug 27, 2025
0.10.0
Aug 19, 2025
0.9.2
Aug 08, 2025
0.9.1
Jul 09, 2025
0.9.0
Jul 02, 2025
0.8.1
May 30, 2025
0.8.0
May 30, 2025
0.7.1
May 10, 2025
0.7.0
Apr 22, 2025
0.6.1
Apr 03, 2025
0.6.0
Apr 01, 2025
0.5.0
Mar 18, 2025
0.4.0
Feb 20, 2025
0.3.0
Dec 20, 2024
0.2.0
Dec 11, 2024