LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-cliarchive
    Module●Since v0.4

    archive

    Create a tarball of project source for remote builds.

    Functions

    function
    create_archive

    Classes

    class
    Config
    View source on GitHub

    Context manager that creates a .tar.gz archive of the project source.

    Uses _assemble_local_deps to discover local dependencies referenced in langgraph.json, including those outside config.parent (monorepo case).

    The archive preserves the real filesystem layout relative to the common ancestor of config.parent and all external dependency directories, so that relative references (e.g. ../shared-lib) resolve correctly after extraction.

    Yields (archive_path, file_size, config_relative_path). The temporary directory holding the archive is cleaned up automatically on exit.

    Top-level config for langgraph-cli or similar deployment tooling.