Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md
Simple Agent Template
Minimal deployment template for a LangChain agent built with create_agent(...).
What this template gives you
- A deployable LangGraph entrypoint at
src/simple_agent/graph.py. - Two small tools (
utc_now,calculator) for predictable local behavior. langgraph.jsonconfigured for LangSmith/LangGraph deployment.- A
uv-managed local workflow with a smallMakefilewrapper and starter tests.
Quickstart
- Sync the project with
uv:
uv sync --dev- Configure environment:
cp .env.example .env- Run locally:
uv run langgraph devOptional make wrappers:
make dev
make runTests and lint
make test
make integration-tests
make lint
make formatIntegration tests are skipped unless ANTHROPIC_API_KEY is set.
Deploy to LangSmith
- Push this template to a Git repository.
- In LangSmith, create a new Deployment from that repo.
- Set required environment variables (
ANTHROPIC_API_KEY, optionallyLANGSMITH_API_KEY). - Deploy using
langgraph.jsondefaults.
Reference docs
- LangChain quickstart: https://docs.langchain.com/oss/python/langchain/quickstart
- LangChain deployment: https://docs.langchain.com/oss/python/langchain/deploy