技能潮 SkillTide 提交收录
官方说明开源项目7 天前
namiqsarxanli-creator/el-regreso

namiqsarxanli-creator/el-regreso

A stateful LangGraph agent with checkpointing: a spirit that returns home every Día de los Muertos and remembers past visits via thread_id — nodes, edges, persistent memory, live graph visualization
在 GitHub 查看 ↗直链 · 无中转页
★ 数取值
0 ★ · namiqsarxanli-creator/el-regreso · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-10 · 最近见到 2026-10-10 · 共见到 1 次 · 被 1 个来源列出
评分构成
综合分 103 · 1 个来源 · repo
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 namiqsarxanli-creator/el-regreso;我们收录于 2026-10-10;最近见到 2026-10-10。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

El Regreso

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

> *One night, every year.*
> A stateful **LangGraph** agent built around Día de los Muertos: nodes, edges, interrupts, subgraphs
> and persistent **checkpointing**.
🇦🇿 Azərbaycan dilində
What it does
A spirit returns home on the night of 1–2 November. It goes through these steps:
1. finds the marigold petal path
2. crosses the levels of Mictlán
3. "tastes" the altar offerings
4. talks to its family
5. leaves again, until next year
When the same thread_id returns the following year, the spirit **remembers previous visits**:
> *"I recognized the door, Abuela Remedios. The table was empty, but the road I came by was not.
> **You haven't brought a photo for 3 years.** I'm not asking, just saying."*
The "3 years" is **not generated by the model**. It is computed from the visits field restored by the
checkpointer, and the LLM only turns facts into a sentence. That is the core design principle: **facts
come from state, not from the model**, so even the offline fallback tells the same truth.
LangGraph features used
| Concept | LangGraph |
|---|---|
| Altar (ofrenda) | State (TypedDict) with three different reducers |
| Placing an item on the altar | update_state() / Command(resume=...) |
| Petal path | edges |
| 1 vs 2 November route | add_conditional_edges(START, ...) |
| A lost spirit waits for a human | interrupt() |
| Levels of Mictlán | subgraph |
| A spirit waiting all year | SqliteSaver + thread_id |
| Past visits | get_state_history() |
| Alternate timeline | update_state() on an old checkpoint_id → new branch |
| The "third death" (being forgotten) | delete_thread() |
Other details:
- **Node types:** five kinds of node: pure function, tool, interrupt, parallel and LLM.
graph.py contains only nodes and edges, with no business logic.
- **Structured output:** LLM judgement via with_structured_output(...).
- **Crash recovery:** solution/chaos.py kills the process mid-run and resumes it from the last
checkpoint.
- **Provider failover chain:**
1. Groq gpt-oss-120b
2. Groq gpt-oss-20b
3. Gemini
4. OpenAI gpt-4o-mini
5. offline templates
On a quota or rate-limit error, the next provider takes over automatically. Without any key, the
app never crashes.
Live visualization
A FastAPI + WebSocket web UI, hand-made with no frontend library, shows:
- **The live graph and a LangGraph journal** with the real call behind every event, e.g.
graph.stream(...), interrupt(...), update_state(checkpoint_id=...), delete_thread(...).
- **A clickable checkpoint timeline:** pick any moment, change the altar, and fork an alternate story.
来源
github · https://github.com/namiqsarxanli-creator/el-regreso
按领域浏览
开源项目
收录于
7 天前

更多开源项目

查看开源项目全部 731 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引