tessl install tessl/pypi-langgraph-cli@0.4.0CLI for interacting with LangGraph API
Agent Success
Agent success rate when using this tile
74%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.17x
Baseline
Agent success rate without this tile
63%
Create a small launcher that validates a LangGraph configuration, renders a Docker Compose file with common overrides, and brings the stack up using the package's deployment tooling.
@generates
from pathlib import Path
from typing import Optional
def render_compose(
config_path: Path,
*,
port: int = 8123,
extra_compose_path: Optional[Path] = None,
image: Optional[str] = None,
watch: bool = False,
debugger_port: Optional[int] = None,
debugger_base_url: Optional[str] = None,
postgres_uri: Optional[str] = None
) -> str:
"""Return docker-compose YAML for the stack using the validated configuration and provided overrides."""
def launch_services(
config_path: Path,
*,
port: int = 8123,
extra_compose_path: Optional[Path] = None,
image: Optional[str] = None,
watch: bool = False,
debugger_port: Optional[int] = None,
debugger_base_url: Optional[str] = None,
postgres_uri: Optional[str] = None,
recreate: bool = False,
verbose: bool = False,
wait: bool = False
) -> None:
"""Render compose YAML and start the services with the requested flags."""CLI toolkit for validating LangGraph configs, generating compose definitions, and running stacks.