CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-langgraph-cli

tessl install tessl/pypi-langgraph-cli@0.4.0

CLI 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%

task.mdevals/scenario-4/

LangGraph Config Report Tool

Build a small CLI utility around LangGraph configuration validation. The tool must delegate schema checking to the dependency's validator rather than re-implementing rules, and should surface a concise summary of the config.

Capabilities

Validate config success/failure

  • With a valid langgraph.json, prints CONFIG OK and exits with status code 0. @test
  • With a missing required graph definition, prints at least one error line containing graphs to stderr and exits with status code 1. @test

Report versions

  • After successful validation, prints a single line python: <value>, node: <value> using version fields from the config (blank if a value is absent). @test

List dependencies and graphs

  • After successful validation, prints the heading Dependencies: followed by each dependency name on its own line, then Graphs: with each graph key on its own line. @test

CLI usage

  • Accepts an optional path argument defaulting to ./langgraph.json; validation errors go to stderr on failure, while summaries go to stdout. @test

Implementation

@generates

API

def validate_and_report(config_path: str | None = None) -> int:
    """Validate a langgraph.json at config_path (or ./langgraph.json), print summary, and return a process exit code."""

Dependencies { .dependencies }

langgraph-cli { .dependency }

Uses the package's configuration validation to check langgraph.json contents.

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/langgraph-cli@0.4.x
tile.json