Metadata-Version: 2.4
Name: graphsmith
Version: 0.1.0
Summary: CLI tool for scaffolding LangGraph applications.
Author: OpenAI
License: MIT License
        
        Copyright (c) 2026
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://pypi.org/project/graphsmith/
Project-URL: Repository, https://github.com/your-username/graphsmith
Project-URL: Issues, https://github.com/your-username/graphsmith/issues
Keywords: langgraph,langchain,cli,scaffold,templates
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: langgraph
Requires-Dist: langchain
Requires-Dist: python-dotenv
Provides-Extra: dev
Requires-Dist: build>=1.2.1; extra == "dev"
Requires-Dist: twine>=5.1.1; extra == "dev"
Dynamic: license-file

# graphsmith

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

## Installation

```bash
pip install .
```

Install from PyPI:

```bash
pip install graphsmith
```

## Usage

Create a basic project:

```bash
graphsmith create my_app --template basic --llm openai
```

Create a multi-agent project with three sequential agents:

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

Use Ollama instead of OpenAI:

```bash
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:

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

Validate the package metadata:

```bash
python -m twine check dist/*
```

Upload to TestPyPI:

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

Upload to PyPI:

```bash
python -m twine upload dist/*
```
