A LangGraph application for building stateful, multi-actor applications with LLMs.
-
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -e . -
For development dependencies:
pip install -e ".[dev]" -
Copy the environment file and add your Groq API key:
cp .env.example .env # Edit .env with your Groq API key from https://console.groq.com/keys
langest/
├── src/
│ └── langest/
│ ├── __init__.py
│ ├── agents/
│ │ └── __init__.py
│ ├── graphs/
│ │ └── __init__.py
│ └── tools/
│ └── __init__.py
├── tests/
│ └── __init__.py
├── examples/
├── pyproject.toml
├── README.md
└── .env.example
from langest.graphs.simple_graph import create_simple_graph
# Create and run a simple graph
graph = create_simple_graph()
result = graph.invoke({"input": "Hello, world!"})
print(result)Run tests:
pytestFormat code:
black src/ tests/
isort src/ tests/Type checking:
mypy src/