CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-langgraph-cli

CLI for interacting with LangGraph API

Overall
score

74%

Evaluation74%

1.17x

Agent success when using this tile

Overview
Eval results
Files

task.mdevals/scenario-3/

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.

Install with Tessl CLI

npx tessl i tessl/pypi-langgraph-cli

tile.json