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.pyto change the model name or provider configuration. - Update
.envwith your API key or Ollama model settings. - Modify
nodes.pyor files inagents/to add your application logic. - Extend
graph.pyto 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26b238090ad237017f6ae6c84e7648ae9b305637653a984b13eb7d201334c6b6
|
|
| MD5 |
0ef2e5601f2a63287b3703afd7095c44
|
|
| BLAKE2b-256 |
ef3b49381709e8fe97ad0b58cc0cd954a9e755665d225d1a1952d8053447f596
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7a5538787a5c8982848c6f6eb3e8975bd5daa180c92bf2444640546480764a6
|
|
| MD5 |
7050b8c8930ddb5f3d47f548196bdd43
|
|
| BLAKE2b-256 |
44471c1842fab292e1bfff6aa52438a13359ddf602c23499a01441c6d9e91c5f
|