Skip to main content

CLI tool for scaffolding LangGraph applications.

Project description

graphsmith

graphsmith is a Python command-line tool that scaffolds LangGraph applications.

Installation

pip install .

Install from PyPI:

pip install graphsmith

Usage

Create a basic project:

graphsmith create my_app --template basic --llm openai

Create a multi-agent project with three sequential agents:

graphsmith create my_app --template multi_agent --agents 3 --llm openai

Use Ollama instead of OpenAI:

graphsmith create my_app --template basic --llm ollama

Generated project customization

  • Edit config.py to change the model name or provider configuration.
  • Update .env with your API key or Ollama model settings.
  • Modify nodes.py or files in agents/ to add your application logic.
  • Extend graph.py to add routing, tools, or more complex workflows.

Build and upload to PyPI

Build the distribution files:

python -m pip install --upgrade build twine
python -m build

Validate the package metadata:

python -m twine check dist/*

Upload to TestPyPI:

python -m twine upload --repository testpypi dist/*

Upload to PyPI:

python -m twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphsmith-0.1.0.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graphsmith-0.1.0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file graphsmith-0.1.0.tar.gz.

File metadata

  • Download URL: graphsmith-0.1.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for graphsmith-0.1.0.tar.gz
Algorithm Hash digest
SHA256 26b238090ad237017f6ae6c84e7648ae9b305637653a984b13eb7d201334c6b6
MD5 0ef2e5601f2a63287b3703afd7095c44
BLAKE2b-256 ef3b49381709e8fe97ad0b58cc0cd954a9e755665d225d1a1952d8053447f596

See more details on using hashes here.

File details

Details for the file graphsmith-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: graphsmith-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for graphsmith-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7a5538787a5c8982848c6f6eb3e8975bd5daa180c92bf2444640546480764a6
MD5 7050b8c8930ddb5f3d47f548196bdd43
BLAKE2b-256 44471c1842fab292e1bfff6aa52438a13359ddf602c23499a01441c6d9e91c5f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page