CLI for interacting with LangGraph API
Overall
score
74%
Evaluation — 74%
↑ 1.17xAgent success when using this tile
Utility to produce a langgraph.json profile that mounts a custom HTTP app, wires optional auth/encryption handlers, and selectively disables platform endpoints.
./api/app.py:create_app, the profile sets http.app to that value and ensures the dependencies include the local project path so the module is reachable inside the container. @testassistants, threads, runs, store, mcp, meta) and sets matching disable_* flags while leaving unspecified groups enabled. @testauth.path and encryption.path; values missing the required module:attribute format raise a ValueError. @test@generates
from typing import TypedDict, Optional, Iterable, Mapping, Any
class CorsConfig(TypedDict, total=False):
allow_origins: list[str]
allow_methods: list[str]
allow_headers: list[str]
allow_credentials: bool
max_age: int
class HeaderConfig(TypedDict, total=False):
request: Mapping[str, str]
response: Mapping[str, str]
class ServerProfile(TypedDict, total=False):
dependencies: list[str]
http: dict[str, Any]
auth: dict[str, Any]
encryption: Optional[dict[str, Any]]
env: Optional[dict[str, str]]
def build_server_profile(
app_path: str,
disabled_routes: Iterable[str],
auth_handler: str,
encryption_handler: Optional[str],
cors: Optional[CorsConfig] = None,
configurable_headers: Optional[HeaderConfig] = None,
logging_headers: Optional[HeaderConfig] = None,
) -> ServerProfile:
"""Return a langgraph.json-ready profile containing http.app wiring, disable_* flags, and security hooks."""
def write_profile(profile: ServerProfile, filepath: str) -> None:
"""Persist the profile as JSON with stable ordering suitable for langgraph CLI commands."""CLI for building and running LangGraph servers with custom HTTP apps, auth/encryption hooks, endpoint toggles, and CORS/header policies.
Install with Tessl CLI
npx tessl i tessl/pypi-langgraph-clievals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10