Your AI coding session shouldn't vanish when the terminal closes
Loushang treats coding workflows as structured, resumable runtime objects so complex AI-assisted work doesn't evaporate when context is lost.

What it does
Loushang is a Python-based AI work system currently centered on loushang code, a CLI workbench for software development. It wraps multi-model LLM routing—supporting GPT, Claude, DeepSeek, Qwen, Kimi, GLM, and MiniMax—inside persistent sessions that can be resumed, forked, and exported. The project also provides loushang.ai, an SDK with model registry, streaming, and tool-call helpers, plus project-level extension hooks for custom tools and commands.
The interesting bit Instead of treating agent interaction as a conversation, Loushang frames it as a “method”: a structured work contract defining roles, phases, constraints, artifacts, and acceptance criteria. This turns methodology into actual runtime infrastructure rather than just prompt engineering.
Key highlights
- Persistent coding sessions with resume, fork, export, and diagnostics.
- Provider-aware model routing across major LLMs with cost helpers.
- Built-in tool governance and configurable tool surfaces under policy.
- Project-level Python extensions for hooks, dynamic resources, and custom commands.
- Explicit roadmap from personal coding workbench toward team workflows and managed runtime.
Caveats
- Explicitly in early development; the recommended install path is running from source.
- Broader work surfaces like
loushang work,research, andpptare roadmap concepts, not shipping products yet.
Verdict Worth exploring if you want AI-assisted coding with an audit trail and structured delivery, but wait for a stable release if you need polished packaging.
Frequently asked
- What is zhnt/loushang?
- Loushang treats coding workflows as structured, resumable runtime objects so complex AI-assisted work doesn't evaporate when context is lost.
- Is loushang open source?
- Yes — zhnt/loushang is open source, released under the Apache-2.0 license.
- What language is loushang written in?
- zhnt/loushang is primarily written in Python.
- How popular is loushang?
- zhnt/loushang has 511 stars on GitHub.
- Where can I find loushang?
- zhnt/loushang is on GitHub at https://github.com/zhnt/loushang.