From f690f4244ec1445471d364ed2e220fc5f713e3a9 Mon Sep 17 00:00:00 2001 From: Lance Martin <122662504+rlancemartin@users.noreply.github.com> Date: Sun, 23 Mar 2025 19:53:11 -0700 Subject: [PATCH] Remove failing links (#3994) Anthropic links for blog post and docs are failing CI -- https://github.com/langchain-ai/langgraph/actions/runs/14024926642/job/39261981682 Remove to unblock docs build; we may add back to ignore later. --- docs/docs/concepts/high_level.md | 2 +- .../code_assistant/langgraph_code_assistant.ipynb | 2 +- docs/docs/tutorials/workflows/index.md | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/docs/concepts/high_level.md b/docs/docs/concepts/high_level.md index 525926417..08bb954ac 100644 --- a/docs/docs/concepts/high_level.md +++ b/docs/docs/concepts/high_level.md @@ -2,7 +2,7 @@ ## LLM applications -LLMs make it possible to embed intelligence into a new class of applications. There are many patterns for building applications that use LLMs. [Workflows](https://www.anthropic.com/engineering/building-effective-agents) have scaffolding of predefined code paths around LLM calls. LLMs can direct the control flow through these predefined code paths, which some consider to be an "[agentic system](https://www.anthropic.com/engineering/building-effective-agents)". In other cases, it's possible to remove this scaffolding, creating autonomous agents that can [plan](https://huyenchip.com/2025/01/07/agents.html), take actions via [tool calls](https://python.langchain.com/docs/concepts/tool_calling/), and directly respond [to the feedback from their own actions](https://research.google/blog/react-synergizing-reasoning-and-acting-in-language-models/) with further actions. +LLMs make it possible to embed intelligence into a new class of applications. There are many patterns for building applications that use LLMs. Workflows have scaffolding of predefined code paths around LLM calls. LLMs can direct the control flow through these predefined code paths, which some consider to be an "agentic system". In other cases, it's possible to remove this scaffolding, creating autonomous agents that can [plan](https://huyenchip.com/2025/01/07/agents.html), take actions via [tool calls](https://python.langchain.com/docs/concepts/tool_calling/), and directly respond [to the feedback from their own actions](https://research.google/blog/react-synergizing-reasoning-and-acting-in-language-models/) with further actions. ![Agent Workflow](img/agent_workflow.png) diff --git a/docs/docs/tutorials/code_assistant/langgraph_code_assistant.ipynb b/docs/docs/tutorials/code_assistant/langgraph_code_assistant.ipynb index fc747fb81..a14658ee5 100644 --- a/docs/docs/tutorials/code_assistant/langgraph_code_assistant.ipynb +++ b/docs/docs/tutorials/code_assistant/langgraph_code_assistant.ipynb @@ -125,7 +125,7 @@ "\n", "### Code solution\n", "\n", - "First, we will try OpenAI and [Claude3](https://docs.anthropic.com/en/docs/about-claude/models/all-models) with function calling.\n", + "First, we will try OpenAI and [Claude3](https://python.langchain.com/docs/integrations/providers/anthropic/) with function calling.\n", "\n", "We will create a `code_gen_chain` w/ either OpenAI or Claude and test them here." ] diff --git a/docs/docs/tutorials/workflows/index.md b/docs/docs/tutorials/workflows/index.md index 381666aed..6a34f4a16 100644 --- a/docs/docs/tutorials/workflows/index.md +++ b/docs/docs/tutorials/workflows/index.md @@ -1,6 +1,6 @@ # Workflows and Agents -This guide reviews common patterns for agentic systems. In describing these systems, it can be useful to make a distinction between "workflows" and "agents". One way to think about this difference is nicely explained [here](https://www.anthropic.com/engineering/building-effective-agents) by Anthropic: +This guide reviews common patterns for agentic systems. In describing these systems, it can be useful to make a distinction between "workflows" and "agents". One way to think about this difference is nicely explained in [Anthropic's](https://python.langchain.com/docs/integrations/providers/anthropic/) `Building Effective Agents` blog post: > Workflows are systems where LLMs and tools are orchestrated through predefined code paths. > Agents, on the other hand, are systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks. @@ -9,7 +9,7 @@ Here is a simple way to visualize these differences: ![Agent Workflow](../../concepts/img/agent_workflow.png) -When building agents and workflows, LangGraph [offers a number of benefits](https://www.anthropic.com/engineering/building-effective-agents) including persistence, streaming, and support for debugging as well as deployment. +When building agents and workflows, LangGraph offers a number of benefits including persistence, streaming, and support for debugging as well as deployment. ## Set up @@ -41,7 +41,7 @@ llm = ChatAnthropic(model="claude-3-5-sonnet-latest") ## Building Blocks: The Augmented LLM -LLM have [augmentations](https://www.anthropic.com/engineering/building-effective-agents) that support building workflows and agents. These include [structured outputs](https://python.langchain.com/docs/concepts/structured_outputs/) and [tool calling](https://python.langchain.com/docs/concepts/tool_calling/), as shown in this image from the Anthropic [blog](https://www.anthropic.com/engineering/building-effective-agents): +LLM have augmentations that support building workflows and agents. These include [structured outputs](https://python.langchain.com/docs/concepts/structured_outputs/) and [tool calling](https://python.langchain.com/docs/concepts/tool_calling/), as shown in this image from the Anthropic blog on `Building Effective Agents`: ![augmented_llm.png](./img/augmented_llm.png) @@ -81,7 +81,7 @@ msg.tool_calls In prompt chaining, each LLM call processes the output of the previous one. -As noted in the [Anthropic blog](https://www.anthropic.com/engineering/building-effective-agents): +As noted in the Anthropic blog on `Building Effective Agents`: > Prompt chaining decomposes a task into a sequence of steps, where each LLM call processes the output of the previous one. You can add programmatic checks (see "gate” in the diagram below) on any intermediate steps to ensure that the process is still on track. @@ -392,7 +392,7 @@ With parallelization, LLMs work simultaneously on a task: ## Routing -Routing classifies an input and directs it to a followup task. As noted in the [Anthropic blog](https://www.anthropic.com/engineering/building-effective-agents): +Routing classifies an input and directs it to a followup task. As noted in the Anthropic blog on `Building Effective Agents`: > Routing classifies an input and directs it to a specialized followup task. This workflow allows for separation of concerns, and building more specialized prompts. Without this workflow, optimizing for one kind of input can hurt performance on other inputs. @@ -603,7 +603,7 @@ Routing classifies an input and directs it to a followup task. As noted in the [ ## Orchestrator-Worker -With orchestrator-worker, an orchestrator breaks down a task and delegates each sub-task to workers. As noted in the [Anthropic blog](https://www.anthropic.com/engineering/building-effective-agents): +With orchestrator-worker, an orchestrator breaks down a task and delegates each sub-task to workers. As noted in the Anthropic blog on `Building Effective Agents`: > In the orchestrator-workers workflow, a central LLM dynamically breaks down tasks, delegates them to worker LLMs, and synthesizes their results. @@ -1012,7 +1012,7 @@ In the evaluator-optimizer workflow, one LLM call generates a response while ano ## Agent -Agents are typically implemented as an LLM performing actions (via tool-calling) based on environmental feedback in a loop. As noted in the [Anthropic blog](https://www.anthropic.com/engineering/building-effective-agents): +Agents are typically implemented as an LLM performing actions (via tool-calling) based on environmental feedback in a loop. As noted in the Anthropic blog on `Building Effective Agents`: > Agents can handle sophisticated tasks, but their implementation is often straightforward. They are typically just LLMs using tools based on environmental feedback in a loop. It is therefore crucial to design toolsets and their documentation clearly and thoughtfully.