agents-playground

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

agents-playground

Experimental repository for LangChain / LangGraph agents.

Setup

uv sync
cp .env.sample .env  # Set ANTHROPIC_API_KEY
uv run pre-commit install

Usage

# Jupyter Notebook
uv run jupyter notebook

# CLI Chat (see docs/agentchat.md)
uv run agentchat-direct
uv run agentchat-programmatic

Development

make lint        # ruff check
make format      # ruff format
make typecheck   # mypy
make typecheck-nb # mypy (notebooks)
make check       # lint + typecheck
make check-all   # check + typecheck-nb

make check-all runs automatically via pre-commit hook.