Skip to main content

Minimal CLI for self-hosted LangGraph Agent Server on langgraph-runtime-pg

Project description

langhost

Minimal CLI for running the official LangGraph Agent Server on the open langgraph-runtime-pg backend (Postgres + Redis).

Command

langhost serve [OPTIONS]

Requires a langgraph.json in the working directory (same format as langgraph-cli) and DATABASE_URI / REDIS_URI (see repo .env.example). Bring your own Postgres + Redis (for example via the repo docker-compose.yml).

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langhost-0.11.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langhost-0.11.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file langhost-0.11.1.tar.gz.

File metadata

  • Download URL: langhost-0.11.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for langhost-0.11.1.tar.gz
Algorithm Hash digest
SHA256 2986528800eeb1a6300978ad23cde913d326f7493a24917019446bc99e43df11
MD5 3ef7b357863346008815563912cd4044
BLAKE2b-256 77d67e49728614bdc1cab969f6884238aee604a57fc9ec35d84bec3cb0301a6a

See more details on using hashes here.

File details

Details for the file langhost-0.11.1-py3-none-any.whl.

File metadata

  • Download URL: langhost-0.11.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for langhost-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0052275ae16b38a6da1ba8944bca7397e74a2636d6624cbb2aed20d187306f1b
MD5 6691ee18ac1dec465ee2c6781fbc8085
BLAKE2b-256 e5ae4584fe36d9a91fbf43348c3b283ad2f272d92f6acbabeca575508dc9b22f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page