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-4/

LangGraph Deployment Asset Generator

Create a small utility that turns a validated LangGraph configuration into ready-to-use deployment assets. The utility should delegate Dockerfile and compose scaffolding to the dependency's generation features instead of hand-written templates.

Capabilities

Dockerfile creation

  • Given an output path and config file, generate a Dockerfile that reflects the config defaults; error cleanly when the config is missing. @test
  • When a base image override is provided, the generated Dockerfile uses that image tag instead of the config default. @test

Compose scaffolding

  • When compose scaffolding is enabled, create a docker-compose.yml in the output directory that references the built image tag and exposes the configured API port. @test
  • Compose scaffolding also writes matching .env and .dockerignore files based on the config (or a provided env file), ensuring the generated files sit beside the Dockerfile. @test

Implementation

@generates

API

from pathlib import Path
from typing import Optional

def generate_assets(
    config_path: Path,
    output_dir: Path,
    *,
    base_image: Optional[str] = None,
    include_compose: bool = False
) -> None:
    """Generate deployment assets from a LangGraph config, delegating file emission to the dependency."""

Dependencies { .dependencies }

langgraph-cli { .dependency }

Provides Dockerfile and compose generation for LangGraph projects.

Install with Tessl CLI

npx tessl i tessl/pypi-langgraph-cli

tile.json