Metadata-Version: 2.4
Name: langhost
Version: 0.11.1
Summary: Minimal CLI for self-hosted LangGraph Agent Server on langgraph-runtime-pg
Project-URL: Homepage, https://github.com/langhost/langhost
Project-URL: Repository, https://github.com/langhost/langhost
Project-URL: Issues, https://github.com/langhost/langhost/issues
Project-URL: Changelog, https://github.com/langhost/langhost/releases
Author-email: Mohankumar Ramachandran <mail@mohanram.dev>
License-Expression: MIT
License-File: LICENSE
Keywords: agent-protocol,agent-server,agents,ai-agents,cli,langchain,langgraph,langgraph-api,langgraph-sdk,langsmith,llm,open-source,postgres,redis,self-hosted,uvicorn
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: click>=8.1.7
Requires-Dist: langgraph-cli<0.5,>=0.4.0
Requires-Dist: langgraph-runtime-pg==0.11.1
Requires-Dist: pyfiglet>=1.0.0
Requires-Dist: python-dotenv>=0.8.0
Requires-Dist: uvicorn[standard]>=0.51.0
Description-Content-Type: text/markdown

# langhost

Minimal CLI for running the official LangGraph Agent Server on the open
[`langgraph-runtime-pg`](https://pypi.org/project/langgraph-runtime-pg/) backend
(Postgres + Redis).

## Command

```bash
langhost serve [OPTIONS]
```

Requires a `langgraph.json` in the working directory (same format as
[`langgraph-cli`](https://github.com/langchain-ai/langgraph/tree/main/libs/cli))
and `DATABASE_URI` / `REDIS_URI` (see repo `.env.example`). Bring your own
Postgres + Redis (for example via the repo `docker-compose.yml`).

```bash
cp .env.example .env
docker compose up -d postgres redis

# Dev (hot reload)
langhost serve --reload -c langgraph.json

# Prod (multi-process)
langhost serve --host 0.0.0.0 --workers 4 -c langgraph.json
```

Run `langhost serve --help` for the full option list.
