Tracking: competitive review workstreams (July 2026)

未关闭
#360 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
python

调研方向

从链接的子 issue 开始,尤其是可靠性原语和范围决策,然后将其与此处的核心发现和明确的非目标进行比较。此跟踪 issue 在每个工作流都已实现、完成文档化,或作为有意作出的不实施决定得到解决时完成。

由索引模型根据 Issue 内容生成。

描述

ai-triage:needs-review

This is a tracking issue for a set of workstreams that came out of a July 2026 review comparing chatlas with four popular Python LLM frameworks: llm, Pydantic AI, LangChain, and LiteLLM. The goal was to identify what would make chatlas comparable — or preferable — to these options for its target user: the solo engineer / data scientist who values simplicity over over-engineering.

Headline findings

  • The "simple, stateful chat" niche is getting less crowded, not more. Pydantic AI (v2 "capabilities" redesign), LangChain (agent-platform repositioning on LangGraph), and LiteLLM (Rust gateway rewrite) are all moving upmarket toward production agent platforms, accumulating exactly the complexity chatlas avoids. llm is the closest neighbor in spirit, but is CLI-first.
  • The gaps worth closing are not platform features. They're a handful of small reliability and guardrail primitives that showed up independently across multiple frameworks — each buildable on machinery chatlas already has (typed turns, tool callbacks, token/cost accounting).
  • Underexploited advantages worth communicating better: stateful Chat ergonomics, batch_chat()'s provider-discount support (none of the four has an equivalent), the typed/normalized content model (citations, thinking, tool events), notebook/console UX, and OpenTelemetry out of the box.

Workstreams

The sub-issues attached to this issue, roughly by priority:

High value, small surface (precedented in 3+ of the reviewed frameworks):

  • #353 — retry with backoff + opt-in model fallback
  • #357 — structured-output repair loop on validation failure
  • #8 — limits on conversation size (now the parent of #359 usage guards and #356 history compaction, which propose concrete designs for slices of it)
  • #348 — deferred (async) tool approval

Real user pain, bigger design questions:

  • #352 — conversation persistence (save()/load() + optional local log)
  • #358 — opt-in local response cache (discussion)

Scope decisions & DX:

  • #349 — prompt "profiles" (serializable prompt + schema + params bundles)
  • #350 — minimal CLI? (decision)
  • #351 — thin embed() helper, or explicit non-goal? (decision)
  • #354 — docs: "Chat as a tool" delegation recipe
  • #355 — docs: finish and link why-chatlas.qmd

The issues marked (decision) may legitimately close as "no" — that still resolves them.

Explicit non-goals

The review reinforced these as deliberate scope boundaries, not oversights:

  • No middleware/hook-pipeline system or agent graph layer. This is the most-criticized surface of LangChain, and the v1→v2 churn in Pydantic AI points the same direction. The existing on_tool_request/on_tool_result callbacks and ToolRejectError cover the practical cases at a fraction of the conceptual cost.
  • No RAG primitives, vector stores, or document loaders. LangChain is itself demoting these out of its core package.
  • No plugin architecture. The Provider ABC already provides extensibility without the packaging/discovery overhead (and plugin-quality variance is llm's weak spot).
  • No provider-breadth chase, and no proxy/gateway/multi-tenant features. Curated, tested providers remain the strategy; an OpenAI-compatible gateway (e.g. LiteLLM) via ChatOpenAICompletions() is the documented escape hatch for the long tail.
主要语言
Python
星标
179
派生
32
平均合并
1 天 3 小时
30 天内合并 PR
10

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

posit-dev/chatlas 的其他 Issue

查看 posit-dev/chatlas 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。