minimaxir/simpleaichat
Python package for easily interfacing with chat apps, with robust features and minimal code complexity. observed · 2026-08-28
Health v2 · maintenance only
20/100
- Activity 0
- Release rhythm 8
- Longevity 86
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1215
- days_rel: n/a
- days_push: 791
- n_releases_24m: 0
Adoption not part of the score
3500 stars · 216 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Python library providing a minimal, low-complexity interface for building applications on top of chat LLM APIs like ChatGPT and GPT-4. It supports streaming, async, multiple concurrent sessions, tool use, and structured outputs while minimizing token usage and cost.
Use cases
- build a chatbot on top of the OpenAI API with minimal boilerplate
- run many LLM chat sessions concurrently with async
- stream GPT-4 responses into a CLI or app
- get structured JSON data out of chat models using schemas
- reduce token costs and latency when calling ChatGPT
- prototype AI assistants and agents quickly in Python
When to avoid
- you need multi-provider support beyond OpenAI models (PaLM, Claude support was planned but limited)
- you require a full agent framework with chains, memory, and tool ecosystems
- the project is in maintenance mode with infrequent updates as of mid-2024
- you need production features like rate limiting, retries, or observability built in
Facets
library · maturity maintenance
chatbot llm-inference agent-framework sdk http-client large-language-models chatbots artificial-intelligence developer-tools python cross-platform openai chatgpt gpt-4 chat-interface async streaming structured-output pydantic token-optimization conversational-ai python
2 sources
- readme: https://github.com/minimaxir/simpleaichat · fetched 2026-08-28 · bfa8342610cd
- registry_pypi: https://pypi.org/pypi/simpleaichat/json · fetched 2026-08-29 · 2e68689b2c89
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| minimaxir/simpleaichat | main | 20 |
For agents
markdown · JSON · MCP: product_card(name="minimaxir/simpleaichat")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem