{"id":23915044,"url":"https://github.com/posit-dev/chatlas","last_synced_at":"2026-01-23T01:09:08.365Z","repository":{"id":260126239,"uuid":"879987477","full_name":"posit-dev/chatlas","owner":"posit-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-04T20:52:58.000Z","size":3122,"stargazers_count":68,"open_issues_count":26,"forks_count":6,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-04T21:37:46.382Z","etag":null,"topics":["chatbot","llm","python"],"latest_commit_sha":null,"homepage":"https://posit-dev.github.io/chatlas/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/posit-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-28T22:58:22.000Z","updated_at":"2025-04-04T17:23:36.000Z","dependencies_parsed_at":"2024-11-14T23:19:26.289Z","dependency_job_id":"d6e05438-12bd-43f9-8e83-a83f12be7555","html_url":"https://github.com/posit-dev/chatlas","commit_stats":null,"previous_names":["cpsievert/chatlas","posit-dev/chatlas"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fchatlas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fchatlas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fchatlas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fchatlas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posit-dev","download_url":"https://codeload.github.com/posit-dev/chatlas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305919,"owners_count":20917204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatbot","llm","python"],"created_at":"2025-01-05T10:42:59.334Z","updated_at":"2026-01-23T01:09:08.351Z","avatar_url":"https://github.com/posit-dev.png","language":"Python","readme":"# chatlas \u003ca href=\"https://posit-dev.github.io/chatlas\"\u003e\u003cimg src=\"https://posit-dev.github.io/chatlas/logos/hex/logo.png\" align=\"right\" height=\"138\" alt=\"chatlas website\" /\u003e\u003c/a\u003e\n\n\u003cp\u003e\n\u003c!-- badges start --\u003e\n\u003ca href=\"https://pypi.org/project/chatlas/\"\u003e\u003cimg alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/chatlas?logo=python\u0026logoColor=white\u0026color=orange\"\u003e\u003c/a\u003e\n\u003ca href=\"https://choosealicense.com/licenses/mit/\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" alt=\"MIT License\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/chatlas\"\u003e\u003cimg src=\"https://img.shields.io/pypi/pyversions/chatlas.svg\" alt=\"versions\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/posit-dev/chatlas\"\u003e\u003cimg src=\"https://github.com/posit-dev/chatlas/actions/workflows/test.yml/badge.svg?branch=main\" alt=\"Python Tests\"\u003e\u003c/a\u003e\n\u003c!-- badges end --\u003e\n\u003c/p\u003e\n\nYour friendly guide to building LLM chat apps in Python with less effort and more clarity.\n\n## Install\n\nInstall the latest stable release [from PyPI](https://pypi.org/project/chatlas/):\n\n```bash\npip install -U chatlas\n```\n\nOr, install the latest development version from GitHub:\n\n```bash\npip install -U git+https://github.com/posit-dev/chatlas\n```\n\n## Quick start\n\nGet started in 3 simple steps:\n\n1. Choose a model provider, such as [ChatOpenAI](https://posit-dev.github.io/chatlas/reference/ChatOpenAI.html) or [ChatAnthropic](https://posit-dev.github.io/chatlas/reference/ChatAnthropic.html).\n2. Visit the provider's [reference](https://posit-dev.github.io/chatlas/reference) page to get setup with necessary credentials.\n3. Create the relevant `Chat` client and start chatting!\n\n```python\nfrom chatlas import ChatOpenAI\n\n# Optional (but recommended) model and system_prompt\nchat = ChatOpenAI(\n    model=\"gpt-4.1-mini\",\n    system_prompt=\"You are a helpful assistant.\",\n)\n\n# Optional tool registration\ndef get_current_weather(lat: float, lng: float):\n    \"Get the current weather for a given location.\"\n    return \"sunny\"\n\nchat.register_tool(get_current_weather)\n\n# Send user prompt to the model for a response.\nchat.chat(\"How's the weather in San Francisco?\")\n```\n\n\n\u003cimg src=\"https://posit-dev.github.io/chatlas/images/chatlas-hello.png\" alt=\"Model response output to the user query: 'How's the weather in San Francisco?'\" width=\"67%\" style=\"display: block; margin-left: auto; margin-right: auto\"\u003e\n\n\nLearn more at \u003chttps://posit-dev.github.io/chatlas\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposit-dev%2Fchatlas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposit-dev%2Fchatlas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposit-dev%2Fchatlas/lists"}