deepagents-planning-to…
Use the write_todos tool effectively for task planning and decomposition in Deep Agents. Use when users want to (1) implement…
Initialize and configure LangGraph projects with proper structure, langgraph.json configuration, environment variables, and dependency management. Use when users want to (1) create a new LangGraph project, (2) set up langgraph.json for deployment, (3) configure environment
Claude Code
$ npx -y skills add soba-labs/langchain-agent-skills --skill langgraph-project-setup --agent claude-code
Codex
$ npx skills add soba-labs/langchain-agent-skills --skill langgraph-project-setup -a codex -y
Cursor
$ npx skills add soba-labs/langchain-agent-skills --skill langgraph-project-setup -a cursor -y
Gemini CLI
$ npx skills add soba-labs/langchain-agent-skills --skill langgraph-project-setup -a gemini-cli -y
GitHub Copilot
$ npx skills add soba-labs/langchain-agent-skills --skill langgraph-project-setup -a github-copilot -y
OpenCode
$ npx skills add soba-labs/langchain-agent-skills --skill langgraph-project-setup -a opencode -y
Windsurf
$ npx skills add soba-labs/langchain-agent-skills --skill langgraph-project-setup -a windsurf -y
name: langgraph-project-setup description: Initialize and configure LangGraph projects with proper structure, langgraph.json configuration, environment variables, and dependency management. Use when users want to (1) create a new LangGraph project, (2) set up langgraph.json for deployment, (3) configure environment variables for LLM providers, (4) initialize project structure for agents, (5) set up local development with LangGraph Studio, (6) configure dependencies (pyproject.toml, requirements.txt, package.json), or (7) troubleshoot project configuration issues.
Initialize and configure LangGraph projects for local development and deployment.
# Initialize new project uv run scripts/init_langgraph_project.py my-agent # Fallback if uv not available python3 scripts/init_langgraph_project.py my-agent # Or with options uv run scripts/init_langgraph_project.py my-agent \ --pattern multiagent \ --python-version 3.12 # Fallback if uv not available python3 scripts/init_langgraph_project.py my-agent \ --pattern multiagent \ --python-version 3.12
# Initialize new project node scripts/init_langgraph_project.js my-agent # TypeScript project node scripts/init_langgraph_project.js my-agent --typescript # Multi-agent pattern node scripts/init_langgraph_project.js my-agent \ --pattern multiagent \ --typescript
**Simple Pattern:** Single agent with straightforward workflow
**Multi-Agent Pattern:** Modular architecture with separated concerns
Run the init script with your chosen pattern:
# Python - simple uv run scripts/init_langgraph_project.py my-agent # Fallback if uv not available python3 scripts/init_langgraph_project.py my-agent # Python - multi-agent uv run scripts/init_langgraph_project.py my-agent --pattern multiagent # Fallback if uv not available python3 scripts/init_langgraph_project.py my-agent --pattern multiagent # JavaScript/TypeScript - simple node scripts/init_langgraph_project.js my-agent --typescript # JavaScript/TypeScript - multi-agent node scripts/init_langgraph_project.js my-agent --pattern multiagent --typescript
The script creates:
**Python:**
cd my-agent uv venv --python 3.12 source .venv/bin/activate # On Windows: .venv\Scripts\activate uv pip install -e '.[dev]' # Fallback if uv not available python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -e '.[dev]'
**JavaScript:**
cd my-agent npm install # or: yarn install / pnpm install
**Option A: Interactive Setup (Recommended)**
uv run scripts/setup_providers.py
Follow the prompts to configure:
**Option B: Manual Configuration**
Edit `.env` file directly:
# Required: Choose at least one LLM provider OPENAI_API_KEY=sk-... # or ANTHROPIC_API_KEY=sk-ant-... # Optional: Enable tracing LANGSMITH_API_KEY=lsv2_... LANGSMITH_TRACING=true LANGSMITH_PROJECT=my-project
See `references/provider-configuration.md` for provider-specific setup.
Replace TODO comments in generated files:
**Python Simple:**
**Python Multi-Agent:**
**JavaScript/TypeScript:**
The init script creates a basic configuration. Customize as needed:
{
"dependencies": ["."],
"graphs": {
"agent": "./my_agent/agent.py:graph"
},
"env": ".env",
"python_version": "3.11"
}**Key configuration options:**
For complete schema reference, see `references/langgraph-json-schema.md`.
**Option A: langgraph dev (Recommended for development)**
langgraph dev
**Option B: langgraph up (Production-like testing)**
langgraph up
Access Studio in your browser:
https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024
**Safari users:** Use `--tunnel` flag:
langgraph dev --tunnel
uv run scripts/validate_langgraph_config.py
Checks:
# Start server
langgraph dev
# In another terminal, test with curl
curl -X POST http://localhost:2024/invoke \
-H "Content-Type: application/json" \
-d '{"input": {"messages": [{"role": "user", "content": "Hello"}]}}'A comprehensive collection of agent-optimized skills for AI coding assistants working in the LangChain ecosystem.
Use the write_todos tool effectively for task planning and decomposition in Deep Agents. Use when users want to (1) implement…
Initialize, validate, and troubleshoot Deep Agents projects in Python or JavaScript using the `deepagents` package. Use when…
Implement multi-agent coordination patterns (supervisor-subagent, router, orchestrator-worker, handoffs) for LangGraph…
Implement LangGraph error handling with current v1 patterns. Use when users need to classify failures, add RetryPolicy for…
Design state schemas, implement reducers, configure persistence, and debug state issues for LangGraph applications. Use when…
Use this skill when you need to test or evaluate LangGraph/LangChain agents: writing unit or integration tests, generating test…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration