Loushang

A method-native AI work system that turns coding intent into recoverable, auditable, verifiable delivery.

Source repo
zhnt/loushang
Stars
★ 2.1k
Last updated
today
FARS reviewed
Nov 25, 2026
License
Apache-2.0
Primary language
Python

At a glance

How it runs
CLILibrary / SDK
Works with
Universal · cross-platformOpenAI API · Claude API
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Pythonuvprovider API key or OAuth credentialShell / CLINetwork accessLocal filesystem
Typical use
Developers who want different models to handle planning, coding, and review within one terminal workflow
Not a fit if
  • Teams wanting a stable pip-installable release; the project is early-stage
  • Users who need a GUI rather than a terminal workbench
Maintenance
Commits in the last 30 dayslast commit 2026-11-25

What does this agent do, and when should you use it?

Loushang is a method-native AI work system whose current product surface is loushang code, a CLI and terminal workbench for software development. It treats methods, stages, roles, tools, sessions, and work products as runtime objects, and sits on loushang.ai, a provider-aware AI SDK with a model registry, streaming, tool calls, and cost helpers covering GPT, Claude, DeepSeek, Qwen, Kimi, GLM, and MiniMax. Sessions are durable and can be resumed, forked, exported, and inspected; tools are exposed to the agent under policy, and project-level Python extensions contribute hooks, custom tools, resources, and commands. The project is Apache-2.0 licensed and in active early development, with running from source as the recommended path. It targets developers who want multi-step coding work in the terminal to stay recoverable and reviewable rather than collapsing into a single chat turn.

loushang code launches a terminal workbench, reads files in the current repository, and routes the task to the selected model provider; the loushang.ai layer resolves the model from a catalog and handles streaming, tool calls, and cost helpers. During a turn, built-in coding tools and configurable tool surfaces are invoked under policy, while project-level extensions inject hooks, custom tools, resources, and commands. Every conversation is recorded as a durable session that can be resumed, forked, exported, and diagnosed, and a method defines the roles, phases, workflow, constraints, artifacts, and acceptance expectations guiding the coding turns. The CLI also exposes --help, --list-models, --list-commands, and a single-shot -p prompt, producing code changes plus a traceable session record.

  1. Developers who want different models to handle planning, coding, and review within one terminal workflow
  2. Engineers who need to resume a long coding task later or fork it to try an alternative approach
  3. Tech leads writing project-level Python extensions to add custom tools and commands for their team
  4. Teams that need an auditable record of what an AI coding session did and produced
  5. Individual developers switching between GPT, Claude, DeepSeek and other providers by cost or capability

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • uv pip install -e ".[dev]"

How do you install or deploy this agent?

The project is in early development and the README recommends running from source. Clone the repository and create a virtual environment:

git clone https://github.com/zhnt/loushang.git
cd loushang

uv venv .venv
source .venv/bin/activate
uv pip install -e ".[dev]"

Alternatively, the Makefile bootstrap target creates .venv/ with uv and installs in editable mode:

make bootstrap

For a local binary install, use:

make install-binary

Before your first online prompt, configure the selected provider's credential as described in docs/en/getting-started (Configure a provider credential), which lists API key variables and OAuth routes.

How do you use this agent?

From the repository directory with .venv activated, inspect available models and commands first:

loushang --help
loushang --list-models
loushang --list-commands

Then try a single-shot prompt against a repository:

loushang -p "Inspect this repository and summarize what it does."

In interactive sessions you can keep asking follow-ups and use session commands to resume, fork, export, or diagnose an existing session. The examples/coding/ and examples/ai/ directories show CLI, session, tool, and extension scenarios plus SDK complete, stream, and tools usage.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Models methods, sessions, tools, and extensions as runtime objects, so work can be resumed, forked, and exported instead of living in a single chat
  • loushang.ai routes across multiple providers, including GPT, Claude, DeepSeek, Qwen, Kimi, GLM, and MiniMax
  • Tools are exposed under policy, and project-level Python extensions can add hooks, custom tools, resources, and commands
  • Ships cost helpers alongside streaming and tool calls, which helps control multi-step terminal coding tasks
Limitations
  • Early-stage project: the README recommends running from source in a virtual environment, with no stable package install path
  • You must supply and pay for your own model provider credentials; no model is bundled
  • The interface is limited to the terminal workbench, with no GUI
  • loushang work, research, and ppt are roadmap directions, not usable features today

How does this agent compare with similar options?

The README credits OpenAI Codex, Kimi CLI, pi, browser-use, superpowers, and others as public design references; Codex and Kimi CLI are the closest analogues for a terminal coding agent.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Loushang This agent 43 · Major gaps CLIFree + model costs ★ 2.1k today Python OpenAI API · Claude API
zerostack 69 · Some gaps CLIFree + model costs ★ 1.8k 1d ago Rust OpenAI API · Claude API
Pi Agent Desktop 55 · Major gaps Desktop appFree + model costs ★ 945 2d ago TypeScript —
Pi Agent Rust 70 · Some gaps — ★ 2k today Rust OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
43/ 100 5-point scale 2.2 / 5
Trust 12/29
Reliability 6/14
Adaptability 9/18
Convention 9/18
Effectiveness 4/13
Verifiability 3/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

Evidence shows solid sensitive-data handling in the auth layer: FileCredentialStore uses 0700/0600 modes, atomic writes, excludes tokens from reprs and forbids logging (docs/auth/oauth.md), so sensitive_data_handling scores 2. Least privilege is only fragmentary (tool policy, approval_required fields, plugin --approve-execution flag) with no unified permission model, so 1. User confirmation appears only via the explicit conformance approval flag and Work-log approval fields; no mandatory confirmation flow for destructive tool calls is shown, so 1. Data-flow transparency has only auth resolution order and provider routing fragments, no end-to-end data-flow account, so 1. Dependency security shows only version floors (anthropic>=0.89.0, openai>=2.30.0) and CI uv sync --locked, with no lockfile or vulnerability scanning evidence, so 1. External effects have abort/cancel mechanics and worktree cleanup rules but no unified side-effect inventory for file writes or network calls, so 1. Rollback shows only worktree removal and package-repair/gc script names, no transactional rollback semantics, so 1. Source attribution has LICENSE, NOTICE, THIRD_PARTY_NOTICES.md and an acknowledgements list, so 2.

Reliability6 / 14 · 2.1/5

self_consistency scores 1: README says early development and recommends running from source, AGENTS.md describes extensive lane/worktree workflows, but the sample shows no version pinning or release-artifact consistency evidence. dependency_availability scores 1: pyproject declares dependencies and Python>=3.11 with a CI install matrix, but no lockfile is in the sample and the darwin-x86_64-only cryptography conditional adds environment uncertainty. failure_messages scores 2: agent.py emits structured AIErrorInfo (code, source, retryable, provider, model, details) and oauth.md lists structured auth error types, a reasonably complete failure design.

Adaptability9 / 18 · 2.5/5

audience_and_scenarios scores 2: README clearly scopes V1 to loushang code and lists CLI, SDK, sessions, tools, extensions and methods, with a clear audience. capability_boundaries scores 2: skill.md states Out Of Scope items (method selection, extension hooks, prompt assembly) and the plugin CLI repeatedly states Product admission/Session use require separate checks. trigger_precision scores 1: SKILL.md description and disable-model-invocation are documented, but there is no systematic account of trigger conditions or misfire protection. environment_fit scores 1: AGENTS.md mentions cross-platform API constraints and platform branching, but the sample implies complex GUI/Tauri, PTY and ConPTY requirements with no unified environment matrix.

Convention9 / 18 · 2.5/5

information_architecture scores 2: README has clear concept layering and documentation links, and the docs structure is visible. install_notes scores 2: Quick Start gives uv install steps and explains make bootstrap versus the absent make install. naming_stability scores 1: many package/CLI entry points (loushang, loushang-tui, lmux, etc.), version 0.1.0 and early development with no naming stability commitment. examples_and_faq scores 1: examples/coding and examples/ai links plus a few SKILL.md samples, but no FAQ in the sample. known_limitations scores 1: README notes early development and a roadmap, oauth.md marks Codex import experimental, but there is no consolidated known-limitations list. license scores 3: full Apache-2.0 LICENSE text, pyproject license and license-files declarations, and README redistribution obligations. versioning_changelog scores 1: only version 0.1.0, no CHANGELOG or versioning policy in the sample. maintenance_responsibility scores 1: README names an initiator and contact, but publisher identity is unverified and maintenance responsibility and update path are unclear.

Effectiveness4 / 13 · 1.5/5

output_usability scores 1: the sample shows CLI outputs (work-log text/JSON tables, plugin JSON reports) but no complete evidence of deliverable usability. marginal_value scores 1: positioned as a method-native coding agent harness, but differentiation from existing coding agents rests on README claims with no verifiable capability evidence in the sample. cost_benefit scores 1: README mentions cost helpers and model routing, but no concrete cost-control, budget or token-usage mechanism is shown.

Verifiability3 / 8 · 1.9/5

claim_traceability scores 1: README capability claims mostly lack file references, with only some links to docs. cross_source_corroboration scores 1: README, AGENTS.md, oauth.md and pyproject broadly agree (Python 3.11, uv, Apache-2.0), but core capability claims lack multi-source corroboration. fact_inference_separation scores 1: docs mix vision (V2-V5 roadmap) with current state; a Project Status section helps but the boundary remains blurry.

Risks and how to mitigate them
  • Publisher identity is not verified by the FollowAgents curated enterprise registry; maintenance responsibility and update path are unclear, so verify provenance before adoption.
  • No lockfile or dependency vulnerability scanning evidence appears in the sample; dependencies are constrained only by version floors, so assess supply-chain risk yourself.
  • Tool governance and user confirmation appear only as scattered fields and an explicit approval flag; no mandatory confirmation flow for destructive operations is documented.
  • README capability claims (multi-model orchestration, resumable sessions, auditable delivery) are largely self-asserted with little cross-verifiable implementation evidence.
  • The project is in early development (0.1.0) with many CLI entry points and no naming stability commitment, so interfaces may change.
Evidence confidence: Low Reviewed Nov 25, 2026 Reviewed revision 51c3bd1bdc35
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/loushang.svg)](https://followagents.com/en/agents/loushang)
<a href="https://followagents.com/en/agents/loushang"><img src="https://followagents.com/badge/loushang.svg" alt="FARS review"></a>

FAQ

Does Loushang cost anything?
The software is free under Apache-2.0, but you supply provider credentials and pay per use; no hosted service is offered.
Which models can it use?
The description and README name GPT, Claude, DeepSeek, Qwen, Kimi, GLM, and MiniMax providers, resolved through the loushang.ai model catalog; run loushang --list-models for the current list.
Can I continue a session after it stops?
Yes. Sessions are durable runtime objects supporting resume, fork, export, and diagnostics.
Can I add my own tools?
Yes. Project-level Python extensions can contribute hooks, tools, resources, commands, and flags.
Is it ready for production use?
The README states it is in active early development, with loushang code and the loushang.ai SDK as the stable focus and other work surfaces still on the roadmap.
Is Loushang open source?
Yes. The source code is on GitHub (zhnt/loushang) under the Apache-2.0 licence.
Is Loushang safe to use?
FollowAgents' FARS review (Nov 25, 2026) scored Loushang 12/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is Loushang still maintained?
Yes. The latest commit on GitHub is from 2026-11-25, within the last 30 days.
Who makes Loushang?
Loushang is published on GitHub by the account zhnt. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts