{"id":49117983,"url":"https://github.com/langchain-samples/deepagents-with-langsmith","last_synced_at":"2026-04-21T08:43:11.318Z","repository":{"id":351369982,"uuid":"1210716845","full_name":"langchain-samples/deepagents-with-langsmith","owner":"langchain-samples","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-14T18:40:42.000Z","size":255,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-14T19:24:50.323Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/langchain-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-14T17:28:55.000Z","updated_at":"2026-04-14T18:40:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/langchain-samples/deepagents-with-langsmith","commit_stats":null,"previous_names":["langchain-samples/deepagents-with-langsmith"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/langchain-samples/deepagents-with-langsmith","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-samples%2Fdeepagents-with-langsmith","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-samples%2Fdeepagents-with-langsmith/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-samples%2Fdeepagents-with-langsmith/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-samples%2Fdeepagents-with-langsmith/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/langchain-samples","download_url":"https://codeload.github.com/langchain-samples/deepagents-with-langsmith/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langchain-samples%2Fdeepagents-with-langsmith/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32084712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-21T08:43:10.715Z","updated_at":"2026-04-21T08:43:11.308Z","avatar_url":"https://github.com/langchain-samples.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deep Agents Workshop\n\nA hands-on workshop covering Deep Agents, Deep Agents Deploy, and LangSmith evaluations.\n\n| Part | Topic | Duration |\n|------|-------|----------|\n| **1** | Deep Agents: Harness, Filesystem, Tools, Subagents, Memory, Middleware, HITL, Skills | ~45 min |\n| **2** | Deep Agents Deploy: Ship to LangSmith | ~10 min |\n| **3** | LangSmith: Tracing, Datasets \u0026 Evaluations | ~20 min |\n\n## Prerequisites\n\n- Python 3.11+\n- [uv](https://docs.astral.sh/uv/getting-started/installation/)\n\n## Setup\n\n1. Install dependencies:\n\n```bash\nuv sync\n```\n\n2. Copy `.env.example` to `.env` and fill in your API keys:\n\n```bash\ncp .env.example .env\n```\n\nYou'll need:\n\n| Key | Where to get it |\n|-----|----------------|\n| `OPENAI_API_KEY` | [platform.openai.com](https://platform.openai.com) |\n| `LANGSMITH_API_KEY` | [smith.langchain.com](https://smith.langchain.com) |\n| `TAVILY_API_KEY` | [tavily.com](https://tavily.com) |\n\n3. Start the notebook:\n\n```bash\nuv run jupyter notebook notebooks/workshop.ipynb\n```\n\n## Switching Models\n\nThe notebook uses `init_chat_model()` which supports any provider. Change the model in the setup cell:\n\n```python\n# OpenAI (default)\nmodel = init_chat_model(\"openai:gpt-4.1-mini\")\n\n# Anthropic\nmodel = init_chat_model(\"anthropic:claude-sonnet-4-20250514\")\n\n# Azure OpenAI\nmodel = init_chat_model(\"azure_openai:gpt-4.1-mini\", azure_deployment=\"your-deployment\")\n\n# AWS Bedrock\nmodel = init_chat_model(\"bedrock:anthropic.claude-sonnet-4-20250514-v1:0\")\n```\n\nSome providers need an extra package:\n\n```bash\nuv add langchain-anthropic   # Anthropic\nuv add langchain-aws          # AWS Bedrock\n```\n\n## Deploy (Part 2)\n\nPart 2 deploys your agent to LangSmith. This requires the `langgraph` CLI:\n\n```bash\nuv tool install deepagents-cli\nuv tool install 'langgraph-cli[inmem]'\n```\n\nYour `LANGSMITH_API_KEY` must have deployment permissions (`lsv2_sk_...` service key, not a personal token).\n\n## Project Structure\n\n```\nworkshop/\n├── notebooks/\n│   └── workshop.ipynb          # Main workshop notebook\n├── agents/\n│   └── deep_agent/             # Deployable agent (used in Part 2)\n│       ├── agent.py\n│       ├── AGENTS.md\n│       ├── deepagents.toml\n│       └── skills/\n│           ├── linkedin-post/\n│           └── twitter-post/\n├── utils/\n│   └── models.py               # Centralized model config\n├── pyproject.toml\n└── .env.example\n```\n\n**Deploy fails with 403 / permission denied**\nYour LangSmith API key needs deployment permissions. Use a service key (`lsv2_sk_...`), not a personal access token (`lsv2_pt_...`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangchain-samples%2Fdeepagents-with-langsmith","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flangchain-samples%2Fdeepagents-with-langsmith","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangchain-samples%2Fdeepagents-with-langsmith/lists"}