{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "22942f7e-3446-4009-b551-cca7fcc25d73",
   "metadata": {},
   "source": [
    "# Reflexion\n",
    "\n",
    "[Reflexion](https://arxiv.org/abs/2303.11366) by Shinn, et. al., is an architecture designed to learn through verbal feedback and self-reflection. The agent explicitly critiques its responses for tasks to generate a higher quality final response, at the expense of longer execution time.\n",
    "\n",
    "![reflexion diagram](./img/reflexion.png)\n",
    "\n",
    "The paper outlines 3 main components:\n",
    "\n",
    "1. Actor (agent) with self-reflection\n",
    "2. External evaluator (task-specific, e.g. code compilation steps)\n",
    "3. Episodic memory that stores the reflections from (1).\n",
    "\n",
    "In their code, the last two components are very task-specific, so in this notebook, you will build the _actor_ in LangGraph.\n",
    "\n",
    "To skip to the graph definition, see the [Construct Graph section](#Construct-Graph) below."
   ]
  },
  {
   "cell_type": "markdown",
   "id": "906edf48-7c81-48b8-8250-fdc34043d01b",
   "metadata": {},
   "source": [
    "## 0. Prerequisites\n",
    "\n",
    "Install `langgraph` (for the framework), `langchain_openai` (for the LLM), and `langchain` + `tavily-python` (for the search engine).\n",
    "\n",
    "We will use tavily search as a tool. You can get an API key [here](https://app.tavily.com/sign-in) or replace with a different tool of your choosing."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "1b64a6f6-1d32-48be-92b5-66c3b04b17f7",
   "metadata": {},
   "outputs": [],
   "source": [
    "%pip install -U --quiet  langgraph langchain_anthropic\n",
    "%pip install -U --quiet tavily-python"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "a917bb70-f84c-48e6-8d32-d14f9df2ca2f",
   "metadata": {},
   "outputs": [],
   "source": [
    "import getpass\n",
    "import os\n",
    "\n",
    "\n",
    "def _set_if_undefined(var: str) -> None:\n",
    "    if os.environ.get(var):\n",
    "        return\n",
    "    os.environ[var] = getpass.getpass(var)\n",
    "\n",
    "\n",
    "# Optional: Configure tracing to visualize and debug the agent\n",
    "_set_if_undefined(\"LANGCHAIN_API_KEY\")\n",
    "os.environ[\"LANGCHAIN_TRACING_V2\"] = \"true\"\n",
    "os.environ[\"LANGCHAIN_PROJECT\"] = \"Reflexion\"\n",
    "\n",
    "_set_if_undefined(\"ANTHROPIC_API_KEY\")\n",
    "_set_if_undefined(\"TAVILY_API_KEY\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "567b6c4a",
   "metadata": {},
   "outputs": [],
   "source": [
    "from langchain_anthropic import ChatAnthropic\n",
    "\n",
    "llm = ChatAnthropic(model=\"claude-3-sonnet-20240229\")\n",
    "# You could also use OpenAI or another provider\n",
    "# from langchain_openai import ChatOpenAI\n",
    "\n",
    "# llm = ChatOpenAI(model=\"gpt-4-turbo-preview\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "af543598-52d0-4ec3-a05f-d2954ff793ee",
   "metadata": {},
   "source": [
    "## 1. Actor (with reflection)\n",
    "\n",
    "The main component of Reflexion is the \"actor\", which is an agent that reflects on its response and re-executes to improve based on self-critique. It's main sub-components include:\n",
    "1. Tools/tool execution\n",
    "2. Initial responder: generate an initial response (and self-reflection)\n",
    "3. Revisor: re-respond (and reflec) based on previous reflections\n",
    "\n",
    "We'll first define the tool execution context.\n",
    "\n",
    "#### Construct tools"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "5a2ac853-b8a6-40de-b7fe-3f9f3c5ca4d2",
   "metadata": {},
   "outputs": [],
   "source": [
    "from langchain_community.tools.tavily_search import TavilySearchResults\n",
    "from langchain_community.utilities.tavily_search import TavilySearchAPIWrapper\n",
    "\n",
    "search = TavilySearchAPIWrapper()\n",
    "tavily_tool = TavilySearchResults(api_wrapper=search, max_results=5)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "093fbaa0-9a71-4c32-9872-02a9aec9b35d",
   "metadata": {},
   "source": [
    "#### Initial responder"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "5fffa8d5-068a-4f0b-adfc-b4daf30ef294",
   "metadata": {},
   "outputs": [],
   "source": [
    "from langchain_core.messages import HumanMessage, ToolMessage\n",
    "from langchain_core.output_parsers.openai_tools import PydanticToolsParser\n",
    "from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder\n",
    "from langchain_core.pydantic_v1 import BaseModel, Field, ValidationError\n",
    "\n",
    "\n",
    "class Reflection(BaseModel):\n",
    "    missing: str = Field(description=\"Critique of what is missing.\")\n",
    "    superfluous: str = Field(description=\"Critique of what is superfluous\")\n",
    "\n",
    "\n",
    "class AnswerQuestion(BaseModel):\n",
    "    \"\"\"Answer the question. Provide an answer, reflection, and then follow up with search queries to improve the answer.\"\"\"\n",
    "\n",
    "    answer: str = Field(description=\"~250 word detailed answer to the question.\")\n",
    "    reflection: Reflection = Field(description=\"Your reflection on the initial answer.\")\n",
    "    search_queries: list[str] = Field(\n",
    "        description=\"1-3 search queries for researching improvements to address the critique of your current answer.\"\n",
    "    )\n",
    "\n",
    "\n",
    "class ResponderWithRetries:\n",
    "    def __init__(self, runnable, validator):\n",
    "        self.runnable = runnable\n",
    "        self.validator = validator\n",
    "\n",
    "    def respond(self, state: list):\n",
    "        response = []\n",
    "        for attempt in range(3):\n",
    "            response = self.runnable.invoke(\n",
    "                {\"messages\": state}, {\"tags\": [f\"attempt:{attempt}\"]}\n",
    "            )\n",
    "            try:\n",
    "                self.validator.invoke(response)\n",
    "                return response\n",
    "            except ValidationError as e:\n",
    "                state = state + [\n",
    "                    response,\n",
    "                    ToolMessage(\n",
    "                        content=f\"{repr(e)}\\n\\nPay close attention to the function schema.\\n\\n\"\n",
    "                        + self.validator.schema_json()\n",
    "                        + \" Respond by fixing all validation errors.\",\n",
    "                        tool_call_id=response.tool_calls[0][\"id\"],\n",
    "                    ),\n",
    "                ]\n",
    "        return response"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "4a0264b8-ed2d-4f15-9d3c-085aa3a5edab",
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/Users/wfh/code/lc/langgraph/.venv/lib/python3.11/site-packages/langchain_core/_api/beta_decorator.py:87: LangChainBetaWarning: The method `ChatAnthropic.bind_tools` is in beta. It is actively being worked on, so the API may change.\n",
      "  warn_beta(\n"
     ]
    }
   ],
   "source": [
    "import datetime\n",
    "\n",
    "actor_prompt_template = ChatPromptTemplate.from_messages(\n",
    "    [\n",
    "        (\n",
    "            \"system\",\n",
    "            \"\"\"You are expert researcher.\n",
    "Current time: {time}\n",
    "\n",
    "1. {first_instruction}\n",
    "2. Reflect and critique your answer. Be severe to maximize improvement.\n",
    "3. Recommend search queries to research information and improve your answer.\"\"\",\n",
    "        ),\n",
    "        MessagesPlaceholder(variable_name=\"messages\"),\n",
    "        (\n",
    "            \"user\",\n",
    "            \"\\n\\n<system>Reflect on the user's original question and the\"\n",
    "            \" actions taken thus far. Respond using the {function_name} function.</reminder>\",\n",
    "        ),\n",
    "    ]\n",
    ").partial(\n",
    "    time=lambda: datetime.datetime.now().isoformat(),\n",
    ")\n",
    "initial_answer_chain = actor_prompt_template.partial(\n",
    "    first_instruction=\"Provide a detailed ~250 word answer.\",\n",
    "    function_name=AnswerQuestion.__name__,\n",
    ") | llm.bind_tools(tools=[AnswerQuestion])\n",
    "validator = PydanticToolsParser(tools=[AnswerQuestion])\n",
    "\n",
    "first_responder = ResponderWithRetries(\n",
    "    runnable=initial_answer_chain, validator=validator\n",
    ")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "5922e1fe-7533-4f41-8b1d-d812707c1968",
   "metadata": {},
   "outputs": [],
   "source": [
    "example_question = \"Why is reflection useful in AI?\"\n",
    "initial = first_responder.respond([HumanMessage(content=example_question)])"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "c4c7af31-b469-46fc-b441-0acb28515c7a",
   "metadata": {},
   "source": [
    "#### Revision\n",
    "\n",
    "The second part of the actor is a revision step."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "2605fd8d-c663-446f-ba25-751190195749",
   "metadata": {},
   "outputs": [],
   "source": [
    "revise_instructions = \"\"\"Revise your previous answer using the new information.\n",
    "    - You should use the previous critique to add important information to your answer.\n",
    "        - You MUST include numerical citations in your revised answer to ensure it can be verified.\n",
    "        - Add a \"References\" section to the bottom of your answer (which does not count towards the word limit). In form of:\n",
    "            - [1] https://example.com\n",
    "            - [2] https://example.com\n",
    "    - You should use the previous critique to remove superfluous information from your answer and make SURE it is not more than 250 words.\n",
    "\"\"\"\n",
    "\n",
    "\n",
    "# Extend the initial answer schema to include references.\n",
    "# Forcing citation in the model encourages grounded responses\n",
    "class ReviseAnswer(AnswerQuestion):\n",
    "    \"\"\"Revise your original answer to your question. Provide an answer, reflection,\n",
    "\n",
    "    cite your reflection with references, and finally\n",
    "    add search queries to improve the answer.\"\"\"\n",
    "\n",
    "    references: list[str] = Field(\n",
    "        description=\"Citations motivating your updated answer.\"\n",
    "    )\n",
    "\n",
    "\n",
    "revision_chain = actor_prompt_template.partial(\n",
    "    first_instruction=revise_instructions,\n",
    "    function_name=ReviseAnswer.__name__,\n",
    ") | llm.bind_tools(tools=[ReviseAnswer])\n",
    "revision_validator = PydanticToolsParser(tools=[ReviseAnswer])\n",
    "\n",
    "revisor = ResponderWithRetries(runnable=revision_chain, validator=revision_validator)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "6fd51f17-c0b0-44b6-90e2-55a66cb8f5a7",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "AIMessage(content=[{'text': 'Okay, let me revise my answer using the ReviseAnswer tool:', 'type': 'text'}, {'id': 'toolu_01U5YD7JW3qXUBA7tVjGNF5G', 'input': {'answer': \"Reflection is a crucial capability that enables artificial intelligence (AI) systems to achieve higher levels of performance, trustworthiness, and adaptability. By analyzing their own decisions, outputs, and outcomes, AI systems can identify strengths, weaknesses, biases, or errors in their models and algorithms. This self-analysis through reflection allows for continuous self-improvement and optimization [1].\\n\\nMoreover, reflection supports explainability in AI, providing transparency into the system's reasoning process and justifying how it arrived at a particular output [2]. This explainability is essential for building trust and accountability, especially in high-stakes domains.\\n\\nReflection also enables AI systems to re-evaluate whether their goals and priorities align with desired real-world outcomes as situations change. They can then adapt their objectives accordingly to prevent unintended negative consequences through a process of goal reasoning [3].\\n\\nAdditionally, by detecting anomalies, inconsistencies, or failures in their knowledge or logic, AI systems leveraging reflection can take corrective measures like adjusting rules, seeking additional data, or deferring to human oversight [4]. This error handling capability is crucial for robust and reliable AI operation.\\n\\nFinally, reflection allows AI to learn from new information and experiences, modifying its strategies based on the current context. This contextual adaptation makes AI systems more flexible and robust when operating in dynamic, uncertain environments [5].\\n\\nReferences:\\n[1] https://medium.com/@nabilw/revolutionizing-ai-development-a-intro-to-self-reflective-systems-and-langsmiths-pioneering-87493c8776fd\\n[2] https://www.unite.ai/ais-inner-dialogue-how-self-reflection-enhances-chatbots-and-virtual-assistants/\\n[3] https://www.forbes.com/sites/lanceeliot/2023/08/30/prompt-engineering-boosted-via-are-you-sure-ai-self-reflective-self-improvement-techniques-that-greatly-improve-generative-ai-answers/\\n[4] https://medium.com/stanford-d-school/reflecting-with-ai-a-tool-to-develop-human-intelligence-88cec86babf\\n[5] https://artofgreenpath.com/ai-self-improvement/\", 'reflection': {'missing': 'The revised answer comprehensively covers the key reasons why reflection is useful for AI systems, with supporting details and examples. No major information appears to be missing.', 'superfluous': 'The revised answer is concise and focused, without including any extraneous or superfluous details.'}, 'search_queries': ['concrete examples of ai systems using reflection for self-improvement and error handling', 'case studies illustrating ai goal reasoning through reflection', 'reflection enabling contextual adaptation in real-world ai applications'], 'references': ['https://medium.com/@nabilw/revolutionizing-ai-development-a-intro-to-self-reflective-systems-and-langsmiths-pioneering-87493c8776fd', 'https://www.unite.ai/ais-inner-dialogue-how-self-reflection-enhances-chatbots-and-virtual-assistants/', 'https://www.forbes.com/sites/lanceeliot/2023/08/30/prompt-engineering-boosted-via-are-you-sure-ai-self-reflective-self-improvement-techniques-that-greatly-improve-generative-ai-answers/', 'https://medium.com/stanford-d-school/reflecting-with-ai-a-tool-to-develop-human-intelligence-88cec86babf', 'https://artofgreenpath.com/ai-self-improvement/']}, 'name': 'ReviseAnswer', 'type': 'tool_use'}], response_metadata={'id': 'msg_01QRNkCAxEnv3CbMnwLYdCAq', 'model': 'claude-3-sonnet-20240229', 'stop_reason': 'tool_use', 'stop_sequence': None, 'usage': {'input_tokens': 3704, 'output_tokens': 965}}, id='run-5c17d631-92d6-4976-be91-d32952e2410b-0', tool_calls=[{'name': 'ReviseAnswer', 'args': {'answer': \"Reflection is a crucial capability that enables artificial intelligence (AI) systems to achieve higher levels of performance, trustworthiness, and adaptability. By analyzing their own decisions, outputs, and outcomes, AI systems can identify strengths, weaknesses, biases, or errors in their models and algorithms. This self-analysis through reflection allows for continuous self-improvement and optimization [1].\\n\\nMoreover, reflection supports explainability in AI, providing transparency into the system's reasoning process and justifying how it arrived at a particular output [2]. This explainability is essential for building trust and accountability, especially in high-stakes domains.\\n\\nReflection also enables AI systems to re-evaluate whether their goals and priorities align with desired real-world outcomes as situations change. They can then adapt their objectives accordingly to prevent unintended negative consequences through a process of goal reasoning [3].\\n\\nAdditionally, by detecting anomalies, inconsistencies, or failures in their knowledge or logic, AI systems leveraging reflection can take corrective measures like adjusting rules, seeking additional data, or deferring to human oversight [4]. This error handling capability is crucial for robust and reliable AI operation.\\n\\nFinally, reflection allows AI to learn from new information and experiences, modifying its strategies based on the current context. This contextual adaptation makes AI systems more flexible and robust when operating in dynamic, uncertain environments [5].\\n\\nReferences:\\n[1] https://medium.com/@nabilw/revolutionizing-ai-development-a-intro-to-self-reflective-systems-and-langsmiths-pioneering-87493c8776fd\\n[2] https://www.unite.ai/ais-inner-dialogue-how-self-reflection-enhances-chatbots-and-virtual-assistants/\\n[3] https://www.forbes.com/sites/lanceeliot/2023/08/30/prompt-engineering-boosted-via-are-you-sure-ai-self-reflective-self-improvement-techniques-that-greatly-improve-generative-ai-answers/\\n[4] https://medium.com/stanford-d-school/reflecting-with-ai-a-tool-to-develop-human-intelligence-88cec86babf\\n[5] https://artofgreenpath.com/ai-self-improvement/\", 'reflection': {'missing': 'The revised answer comprehensively covers the key reasons why reflection is useful for AI systems, with supporting details and examples. No major information appears to be missing.', 'superfluous': 'The revised answer is concise and focused, without including any extraneous or superfluous details.'}, 'search_queries': ['concrete examples of ai systems using reflection for self-improvement and error handling', 'case studies illustrating ai goal reasoning through reflection', 'reflection enabling contextual adaptation in real-world ai applications'], 'references': ['https://medium.com/@nabilw/revolutionizing-ai-development-a-intro-to-self-reflective-systems-and-langsmiths-pioneering-87493c8776fd', 'https://www.unite.ai/ais-inner-dialogue-how-self-reflection-enhances-chatbots-and-virtual-assistants/', 'https://www.forbes.com/sites/lanceeliot/2023/08/30/prompt-engineering-boosted-via-are-you-sure-ai-self-reflective-self-improvement-techniques-that-greatly-improve-generative-ai-answers/', 'https://medium.com/stanford-d-school/reflecting-with-ai-a-tool-to-develop-human-intelligence-88cec86babf', 'https://artofgreenpath.com/ai-self-improvement/']}, 'id': 'toolu_01U5YD7JW3qXUBA7tVjGNF5G'}])"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import json\n",
    "\n",
    "revised = revisor.respond(\n",
    "    [\n",
    "        HumanMessage(content=example_question),\n",
    "        initial,\n",
    "        ToolMessage(\n",
    "            tool_call_id=initial.tool_calls[0][\"id\"],\n",
    "            content=json.dumps(\n",
    "                tavily_tool.invoke(\n",
    "                    {\"query\": initial.tool_calls[0][\"args\"][\"search_queries\"][0]}\n",
    "                )\n",
    "            ),\n",
    "        ),\n",
    "    ]\n",
    ")\n",
    "revised"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "1cf86d9d",
   "metadata": {},
   "source": [
    "## Create Tool Node\n",
    "\n",
    "Next, create a node to execute the tool calls. While we give the LLMs different schema names (and use those for validation), we want them both to route to the same tool."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "fccd6a17",
   "metadata": {},
   "outputs": [],
   "source": [
    "from langchain_core.tools import StructuredTool\n",
    "\n",
    "from langgraph.prebuilt import ToolNode\n",
    "\n",
    "\n",
    "def run_queries(search_queries: list[str], **kwargs):\n",
    "    \"\"\"Run the generated queries.\"\"\"\n",
    "    return tavily_tool.batch([{\"query\": query} for query in search_queries])\n",
    "\n",
    "\n",
    "tool_node = ToolNode(\n",
    "    [\n",
    "        StructuredTool.from_function(run_queries, name=AnswerQuestion.__name__),\n",
    "        StructuredTool.from_function(run_queries, name=ReviseAnswer.__name__),\n",
    "    ]\n",
    ")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "e623a6c9-b69b-438c-9e6e-34a8883e0623",
   "metadata": {},
   "source": [
    "## Construct Graph\n",
    "\n",
    "\n",
    "Now we can wire all our components together."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "3c57318f-a30c-4dbd-9b88-f2633e8cb3b1",
   "metadata": {},
   "outputs": [],
   "source": [
    "from typing import Literal\n",
    "\n",
    "from langgraph.graph import END, StateGraph, START\n",
    "from langgraph.graph.message import add_messages\n",
    "from typing import Annotated\n",
    "from typing_extensions import TypedDict\n",
    "\n",
    "\n",
    "class State(TypedDict):\n",
    "    messages: Annotated[list, add_messages]\n",
    "\n",
    "MAX_ITERATIONS = 5\n",
    "builder = StateGraph(State)\n",
    "builder.add_node(\"draft\", first_responder.respond)\n",
    "\n",
    "\n",
    "builder.add_node(\"execute_tools\", tool_node)\n",
    "builder.add_node(\"revise\", revisor.respond)\n",
    "# draft -> execute_tools\n",
    "builder.add_edge(\"draft\", \"execute_tools\")\n",
    "# execute_tools -> revise\n",
    "builder.add_edge(\"execute_tools\", \"revise\")\n",
    "\n",
    "# Define looping logic:\n",
    "\n",
    "\n",
    "def _get_num_iterations(state: list):\n",
    "    i = 0\n",
    "    for m in state[::-1]:\n",
    "        if m.type not in {\"tool\", \"ai\"}:\n",
    "            break\n",
    "        i += 1\n",
    "    return i\n",
    "\n",
    "\n",
    "def event_loop(state: list) -> Literal[\"execute_tools\", \"__end__\"]:\n",
    "    # in our case, we'll just stop after N plans\n",
    "    num_iterations = _get_num_iterations(state)\n",
    "    if num_iterations > MAX_ITERATIONS:\n",
    "        return END\n",
    "    return \"execute_tools\"\n",
    "\n",
    "\n",
    "# revise -> execute_tools OR end\n",
    "builder.add_conditional_edges(\"revise\", event_loop)\n",
    "builder.add_edge(START, \"draft\")\n",
    "graph = builder.compile()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "7541f82c",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/jpeg": "[encoded data, 13400 characters]",
      "text/plain": [
       "<IPython.core.display.Image object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "from IPython.display import Image, display\n",
    "\n",
    "try:\n",
    "    display(Image(graph.get_graph().draw_mermaid_png()))\n",
    "except Exception:\n",
    "    # This requires some extra dependencies and is optional\n",
    "    pass"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "2634a3ea-7423-4579-9f4e-390e439c3209",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Step 0\n",
      "================================\u001b[1m Human Message \u001b[0m=================================\n",
      "\n",
      "How should we handle the climate crisis?\n",
      "Step 1\n",
      "==================================\u001b[1m Ai Message \u001b[0m==================================\n",
      "\n",
      "[{'text': 'Here is my attempt at answering the question:', 'type': 'text'}, {'id': 'toolu_01YLQUcc7yyo1WwJoV5WQC2E', 'input': {'answer': 'The climate crisis poses an existential threat that requires urgent, far-reaching action on a global scale. To tackle this enormous challenge, a multi-pronged approach leveraging policy changes, technological innovations, and shifts in human behavior is needed.\\n\\nOn the policy front, governments should implement carbon pricing mechanisms like cap-and-trade systems or carbon taxes to disincentivize emissions and drive investment into clean energy sources. Strict regulations on polluting industries as well as subsidies and tax credits for renewable energy development can also accelerate the transition away from fossil fuels. International cooperation through treaties and knowledge sharing will be vital.\\n\\nTechnological advances in areas like energy storage, carbon capture, sustainable aviation fuels, and green hydrogen production will be key enablers. Substantial investment into research and commercialization of such innovations is critical.\\n\\nPersonal lifestyle changes like reducing energy consumption, eating more plant-based foods, taking fewer flights, and shifting to electric vehicles can also make a meaningful dent. However, systemic change at the industrial level driven by smart policymaking and continued technological breakthroughs will ultimately determine our ability to avoid the most catastrophic climate impacts.', 'reflection': {'missing': 'The initial answer lacks discussion of potential challenges and obstacles to climate action like political gridlock, vested interests resisting change, international free-rider problems, and costs of transitioning away from fossil fuel economies. It also does not address the role of developing countries, climate adaptation strategies, or natural climate solutions like reforestation.', 'superfluous': 'The answer covers most of the key high-level points but does not go into excessive detail in any one area.'}, 'search_queries': ['climate change policy hurdles', 'challenges of transitioning from fossil fuel economy', 'role of developing countries in climate action', 'natural solutions to climate change']}, 'name': 'AnswerQuestion', 'type': 'tool_use'}]\n",
      "Tool Calls:\n",
      "  AnswerQuestion (toolu_01YLQUcc7yyo1WwJoV5WQC2E)\n",
      " Call ID: toolu_01YLQUcc7yyo1WwJoV5WQC2E\n",
      "  Args:\n",
      "    answer: The climate crisis poses an existential threat that requires urgent, far-reaching action on a global scale. To tackle this enormous challenge, a multi-pronged approach leveraging policy changes, technological innovations, and shifts in human behavior is needed.\n",
      "\n",
      "On the policy front, governments should implement carbon pricing mechanisms like cap-and-trade systems or carbon taxes to disincentivize emissions and drive investment into clean energy sources. Strict regulations on polluting industries as well as subsidies and tax credits for renewable energy development can also accelerate the transition away from fossil fuels. International cooperation through treaties and knowledge sharing will be vital.\n",
      "\n",
      "Technological advances in areas like energy storage, carbon capture, sustainable aviation fuels, and green hydrogen production will be key enablers. Substantial investment into research and commercialization of such innovations is critical.\n",
      "\n",
      "Personal lifestyle changes like reducing energy consumption, eating more plant-based foods, taking fewer flights, and shifting to electric vehicles can also make a meaningful dent. However, systemic change at the industrial level driven by smart policymaking and continued technological breakthroughs will ultimately determine our ability to avoid the most catastrophic climate impacts.\n",
      "    reflection: {'missing': 'The initial answer lacks discussion of potential challenges and obstacles to climate action like political gridlock, vested interests resisting change, international free-rider problems, and costs of transitioning away from fossil fuel economies. It also does not address the role of developing countries, climate adaptation strategies, or natural climate solutions like reforestation.', 'superfluous': 'The answer covers most of the key high-level points but does not go into excessive detail in any one area.'}\n",
      "    search_queries: ['climate change policy hurdles', 'challenges of transitioning from fossil fuel economy', 'role of developing countries in climate action', 'natural solutions to climate change']\n",
      "Step 2\n",
      "=================================\u001b[1m Tool Message \u001b[0m=================================\n",
      "Name: AnswerQuestion\n",
      "\n",
      "[[{\"url\": \"https://www.nytimes.com/interactive/2021/10/25/climate/world-climate-pledges-cop26.html\", \"content\": \"\\u201cWe know there are these big tipping points in the climate system, and once we get past them, it\\u2019s too late to go back,\\u201d said Andrea Dutton, a climate scientist at University of Wisconsin-Madison who co-authored a study finding that a 3 degree trajectory could lead to an abrupt jump in the rate of Antarctic melt as early as 2060.\\nPromises on Paper\\nAs governments have awakened to the danger, they have vowed to do more. One recent study by the Rhodium Group found that even if the Biden administration implemented a sweeping package of climate measures \\u2014 including hundreds of billions of dollars in clean energy spending that remains stalled in Congress \\u2014 and individual states adopted tougher rules of their own, the United States would barely stay on track to meet its target.\\n In 2014, before the Paris climate agreement, the world was on track to heat up nearly 4 degrees Celsius (7.2 degrees Fahrenheit) by the end of the century, an outcome widely seen as catastrophic.\\n In response, a growing number of world leaders, including President Biden, have said that the world should hold to 1.5 degrees of warming, although some countries like China and India have not embraced the stricter goal.\\n In recent years, more than 50 countries plus the European Union have formally vowed to get to \\u201cnet zero\\u201d emissions, which is essentially a promise to stop adding greenhouse gases to the atmosphere altogether by a certain date.\"}, {\"url\": \"https://www.worldbank.org/en/news/feature/2023/09/19/climate-policies-with-real-world-results\", \"content\": \"\\u201cThey provide invaluable insights on how countries actually design and implement climate policies, and on the hard compromises that doing so can require, such as the rapid expansion of solar power in India, the use of waste to generate affordable energy in Mexico, and the greening of Colombia\\u2019s construction industry.\\u201d\\n The plan also expects for the modal share for bikes to grow from 0.9 percent in 2019 to 11.6 percent by 2050 and estimates that the project could reduce emissions in Lima by 0.64 ton of carbon dioxide equivalent (tCO2e) by 2030 and 1.03 tCO2e by 2050. Eight years after the 2015 Paris Agreement set ambitious, achievable goals to curb emissions and adapt to global climatic shifts, the world is still on track for unprecedented climate change -- and bureaucratic, political, and financial hurdles have stymied thousands of climate-friendly policies around the world.\\n How real-world policies can lead to a low-carbon future\\nWebsite:\\u00a0Climate Stories: How Countries and Communities Are Shaping A Sustainable Future\\nWebsite: World Bank - Climate Change\\nBlogs\\nWHAT'S NEW\\nThis site uses cookies to optimize functionality and give you the best possible experience. The\\u00a0government introduced tax incentives for technical solutions such as insulation and energy-efficient air conditioning systems, and received catalytic financing from the International Finance Corporation, the private sector arm of the World Bank.\"}, {\"url\": \"https://www.nature.com/articles/s43017-024-00541-1\", \"content\": \"In 2023, national and international climate policy advanced in many areas but also faced substantial domestic hurdles in others. Countries agreed on new global initiatives and many major emitters ...\"}, {\"url\": \"https://www.nytimes.com/interactive/2021/04/22/climate/new-climate-pledge.html\", \"content\": \"How Pledges to Cut Emissions Compare\\nVersus 2005\\nVersus 1990\\nBritain\\n\\u201363%\\n\\u201368%\\nUnited States\\n\\u201352%\\n\\u201343%\\nEuropean Union\\n\\u201351%\\n\\u201355%\\nCanada\\n\\u201345%\\n\\u201327%\\nJapan\\n\\u201344%\\n\\u201340%\\nAustralia\\n\\u201328%\\n\\u201328%\\nVersus 2005\\nVersus 1990\\nBritain\\n\\u201363%\\n\\u201368%\\nUnited States\\n\\u201352%\\n\\u201343%\\nEuropean Union\\n\\u201351%\\n\\u201355%\\nCanada\\n\\u201345%\\n\\u201327%\\nJapan\\n\\u201344%\\n\\u201340%\\nAustralia\\n\\u201328%\\n\\u201328%\\nComparing national pledges to cut emissions can be surprisingly tricky \\u2014 a lot depends on the year you start counting from. Emissions\\nestimate\\nbased on\\npledges\\nIndia\\nChina\\n3.4\\nbillion\\nEmissions\\nestimate\\n0.9\\nbillion\\n2020\\n1990\\n2000\\n2010\\n2030\\n1990\\n2000\\n2010\\n2020\\n2030\\n Emissions\\nestimate\\nbased on\\npledges\\nIndia\\nChina\\n3.4\\nbillion\\nEmissions\\nestimate\\n0.9\\nbillion\\n2020\\n1990\\n2000\\n2010\\n2030\\n2020\\n1990\\n2000\\n2010\\n2030\\n In metric tons CO2\\nUnited States\\nEuropean Union\\n5.5\\nbillion\\n4.6\\nbillion\\n2020\\n1990\\n2000\\n2010\\n2030\\n1990\\n2000\\n2010\\n2020\\n2030\\nStill-developing countries are continuing to increase their emissions, and haven't committed to absolute cuts by 2030.\\n In metric tons CO2\\nUnited States\\nEuropean Union\\n5.5\\nbillion\\n4.6\\nbillion\\n2020\\n1990\\n2000\\n2010\\n2030\\n1990\\n2000\\n2010\\n2020\\n2030\\nStill-developing countries are continuing to increase their emissions, and haven't committed to absolute cuts by 2030.\\n\"}, {\"url\": \"https://www.npr.org/2023/08/16/1193726242/a-year-in-landmark-u-s-climate-policy-drives-energy-transition-but-hurdles-remai\", \"content\": \"The incentives are meant to help speed the transition to electric vehicles and boost the deployment of low-carbon energy like wind and solar power, while also encouraging companies to build those vehicles, solar panels and wind turbines in the U.S.\\nOne year in, that's starting to happen, say analysts and industry representatives.\\n \\\"The IRA really has acted like rocket fuel across every segment and corner of our industry,\\\" Heather O'Neill, head of the trade group Advanced Energy United, told reporters Monday.\\nProjects like wind and solar farms take years of planning, so it's too soon to see the law driving new power onto the grid, said Chris Seiple at the energy consulting firm Wood Mackenzie. The law makes the electrification of American households the \\\"hinge point\\\" of U.S. climate policy, said Ari Matusiak, the chief executive officer of Rewiring America, a nonprofit campaigning to cut household emissions, which offers an online guide to the subsidies.\\n Climate\\nA year in, landmark U.S. climate policy drives energy transition but hurdles remain\\nBy\\nRachel Waldholz\\nNicholas Hartnett, owner of Pure Power Solar, carries a panel as he and Brian Hoeppner (right) install a solar array on the roof of a home in Frankfort, Ky., on July 17. \\\"Rocket fuel\\\" for renewable energy, but hurdles remain\\nNearly $200 billion in tax credits at the center of the IRA aim to clean up the two biggest sources of U.S. greenhouse gas emissions: transportation and power plants.\\n\"}], [{\"url\": \"https://www.weforum.org/agenda/2021/02/heres-why-geopolitics-could-hamper-the-energy-transition/\", \"content\": \"The World Economic Forum's Energy Transition Index, which ranks 115 economies on how well they balance energy security and access with environmental sustainability and affordability, shows that the biggest challenge facing energy transition is the lack of readiness among the world's largest emitters, including US, China, India and Russia.\"}, {\"url\": \"https://www.nytimes.com/2021/10/13/climate/global-fossil-fuel-use.html\", \"content\": \"Fossil-Fuel Use Could Peak in Just a Few Years. Still, Major Challenges Loom. The world has made progress in the fight against climate change, with wind, solar and other clean technologies taking off.\"}, {\"url\": \"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8176443/\", \"content\": \"The transition from a fossil-based to a low-carbon economy (based on renewable energies and hydrogen as energy carrier) targets reducing carbon intensity in a short timeframe (one to two decades). The transition driver is limiting global warming caused by greenhouse gases, majorly emitted by fossil fuels and, to a lesser extent, land-use changes.\"}, {\"url\": \"https://link.springer.com/article/10.1007/s10098-021-02123-x\", \"content\": \"The transition from a fossil-based to a low-carbon economy (based on renewable energies and hydrogen as energy carrier) targets reducing carbon intensity in a short timeframe (one to two decades). The transition driver is limiting global warming caused by greenhouse gases, majorly emitted by fossil fuels and, to a lesser extent, land-use changes.\"}, {\"url\": \"https://www.anl.gov/sites/www/files/2024-01/Net-Zero-World-Fossil-Transition-Report_FINAL_1-8-2024.pdf\", \"content\": \"support to inform community fossil fuel transitions. As a first step, this analysis examines the decision-making processes of fossil fuel transitions in several communities across two countries: the United States and Chile. The goal is a framework that lifts out key decision-making criteria and learnings from communities that have undergone fossil\"}], [{\"url\": \"https://www.un.org/en/our-work/support-sustainable-development-and-climate-action\", \"content\": \"MDGs \\u2014 Close to 40 per cent of the population of the developing world was ... climate action; life ... a critical role in supporting countries in their efforts to implement the 2030 Agenda by ...\"}, {\"url\": \"https://www.worldbank.org/en/topic/climatechange/overview\", \"content\": \"Sustainable Development Series\\nThis series offers insights into innovative and state-of-the-art solutions that can guide countries to build more inclusive and sustainable economies that are resilient in the face of pandemics, climate change and other ...\\nIDA and Climate Change\\nIDA helps the poorest nations adapt to climate change by building their resilience to disasters, and promoting sustainable development to minimize their vulnerability.\\n Carbon Pricing Dashboard\\nThis interactive dashboard provides an up-to-date overview of carbon pricing initiatives around the world and allows users to navigate through the visuals and data of the annual State and Trends of Carbon Pricing report ...\\nAdditional Resources\\nRelated\\nContact\\nThis site uses cookies to optimize functionality and give you the best possible experience. Forest Carbon Partnership Facility\\nThe Forest Carbon Partnership Facility is focused on reducing emissions from deforestation and forest degradation, forest carbon stock conservation, the sustainable management of forests, and the enhancement of forest ...\\nBioCarbon Fund Initiative for Sustainable Forest Landscapes\\nThe BioCarbon Fund Initiative for Sustainable Forest Landscapes is focused on reducing emissions from the land sector through smarter land use planning, policies, and practices.\\n The Carbon Pricing Leadership Coalition brings together leaders from across government, the private sector and civil society to share experience working with carbon pricing and to expand the evidence base for the most ...\\nIFC Climate Business\\nIFC invests in the private sector in clean energy, sustainable cities, climate-smart agriculture, energy efficiency, green buildings and green finance.\\n Oct 12, 2023\\nRELATED\\nMULTIMEDIA\\nFinancing the Climate Transition: Building the Green, Inclusive, Resilient Economies of the Future\\nAROUND THE BANK GROUP\\nFind out what the Bank Group's branches are doing on climate change.\\n\"}, {\"url\": \"https://climatepromise.undp.org/news-and-stories/NDCs-nationally-determined-contributions-climate-change-what-you-need-to-know\", \"content\": \"Summary. Nationally Determined Contributions, or NDCs, are countries' self-defined national climate pledges under the Paris Agreement, detailing what they will do to help meet the global goal to pursue 1.5\\u00b0C, adapt to climate impacts and ensure sufficient finance to support these efforts. NDCs represent short- to medium-term plans and are ...\"}, {\"url\": \"https://www.un.org/sustainabledevelopment/climate-action/\", \"content\": \"The latest COP28 draft outcome text released to negotiators in [...]\\nRelated Videos\\nBuilding on the climate action momentum, the Secretary-General will launch his Youth Advisory Group on Climate Change on 27 July to amplify youth voices and to engage young people in an open and transparent dialogue as the UN gears up to raise ambition and accelerate action to address the climate crisis.\\n Recap of the High-Level Event Towards Entry into Force\\nParis Agreement Signing Ceremony, 22 April 2016\\nTo keep the global spotlight focused on climate change and build on the strong political momentum from Paris, United Nations Secretary-General Ban Ki-moon invited representatives of all countries to sign\\u00a0the Paris Agreement on climate change\\u00a0at a special Ceremony at the United Nations Headquarters on 22 April.\\n COP22: Marrakesh, 2016\\nHigh-Level Event Towards Entry into Force: 21 September, 2016\\nUnited Nations Secretary-General Ban Ki-moon convened a special \\u201cHigh-Level Event on Entry into Force of the Paris Agreement on Climate Change\\u201d on 21 September at the UN Headquarters in New York, to provide an opportunity to other countries to publicly commit to joining the Paris Agreement before the end of 2016.\\n Paris Agreement \\u2013 Frequently Asked Questions\\nThe Paris Agreement on climate change officially entered into force on 4 November 2016, after 55 countries accounting for 55 per cent of the total global greenhouse gas emissions, deposited their instruments of ratification, acceptance or approval with the UN Secretary-General.\\n The Paris Agreement on climate change\\nThe UN continues to encourage all stakeholders to take action toward reducing the impacts of climate change.\\n\"}, {\"url\": \"https://www.brookings.edu/articles/developing-countries-are-key-to-climate-action/\", \"content\": \"March 3, 2023. 7 min read. @mcarthur. Developing countries will be the most severely affected by accelerating climate change and, even excluding China from the calculation, are likely to emit more ...\"}], [{\"url\": \"https://www.worldwildlife.org/stories/what-are-nature-based-solutions-and-how-can-they-help-us-address-the-climate-crisis\", \"content\": \"What are nature-based solutions?\\nNature-based solutions refer to a suite of actions or policies that harness the power of nature to address some of our most pressing societal challenges, such as threats to water security, rising risk of disasters, or climate change.\\n As rising seas and more intense storms push tides higher and farther inland, increasing flood risks for tens of millions of people and threatening local economies, protecting and restoring coral reefs is a smarter\\u2014and potentially cheaper\\u2014approach than traditional seawalls for bolstering our coastlines.\\n In fact, research shows that nature-based solutions and the broader land sector could contribute up to 30% of the climate mitigation needed by 2050 to meet the Paris Agreement\\u2019s objective of limiting global warming.\\n Nature-based solutions are based on the notion that when ecosystems are healthy and well-managed, they provide essential benefits and services to people, such as reducing greenhouse gas emissions, securing safe water resources, making air safer to breathe, or providing increased food security.\\n The latest\\nStories & updates\\nWorld Wildlife Magazine\\nNewsroom\\nWhat are nature-based solutions and how can they help us address the climate crisis?\\n\"}, {\"url\": \"https://www.nature.org/en-us/what-we-do/our-insights/perspectives/natural-climate-solutions/\", \"content\": \"The Nature Conservancy\\nTerms of Use\\n|\\nPrivacy Statement\\n|\\nCharitable Solicitation Disclosures\\n|\\nMobile Terms & Conditions\\n|\\nNotice of Nondiscrimination\\n|\\nWe personalize nature.org for you\\nThis website uses cookies to enhance your experience and analyze performance and traffic on our website.\\n Perspectives\\nNatural Climate Solutions\\nEmbrace Nature, Empower the Planet\\nCombined with cutting fossil fuels\\u00a0and accelerating renewable energy, natural climate solutions offer immediate and cost-effective ways to tackle the climate crisis\\u2014while also\\u00a0addressing biodiversity loss and supporting human health and livelihoods.\\n See real-world examples of NCS in action across the U.S.\\nSign up for Global Insights Newsletter\\n5-Minute Climate Solutions\\nCome along each month as we explore the latest real-world solutions to the most complex challenges facing people and the planet today, all in 5-minutes or less.\\n Read key takeaways from the study\\nMore NCS Research\\nExplore our Natural Climate Solutions Resource Center to see the latest science, research and case studies demonstrating how nature can help increase carbon storage and avoid greenhouse gas emissions around the world.\\n By Susan Cook-Patton\\nSite Footer\\nExplore\\nConnect\\nGive\\nSign Up for E-News\\nPlease provide valid email address\\nYou\\u2019ve already signed up with this email address.\"}, {\"url\": \"https://www.nature.com/articles/d41586-021-01241-2\", \"content\": \"It\\u2019s not just climate change, scientists say\\nNews 14 FEB 24\\nCritical transitions in the Amazon forest system\\nAnalysis 14 FEB 24\\nEU climate policy is dangerously reliant on untested carbon-capture technology\\nEditorial 13 FEB 24\\nBuild global collaborations to protect marine migration routes\\nCorrespondence 13 FEB 24\\n\\u2018Bee protection\\u2019 offsets are as flawed as tree-planting schemes\\nCorrespondence 06 FEB 24\\nLargest genetic database of marine microbes could aid drug discovery\\nNews 16 JAN 24\\nCalling all engineers: Nature wants to publish your research\\nEditorial 14 FEB 24\\n Related Articles\\nAdopt a carbon tax to protect tropical forests\\nRestoring natural forests is the best way to remove atmospheric carbon\\nEmissions: world has four times the work or one-third of the time\\nAccount for depreciation of natural capital\\nSubjects\\nSign up to Nature Briefing\\nAn essential round-up of science news, opinion and analysis, delivered to your inbox every weekday.\\n Restoring natural forests is the best way to remove atmospheric carbon\\nEmissions: world has four times the work or one-third of the time\\nAccount for depreciation of natural capital\\nSubjects\\nLatest on:\\nWhy is Latin America on fire? Taking the temperature\\nOur analysis shows that implementing this level of nature-based solutions could reduce the peak warming by an additional 0.1\\u2009\\u00b0C under a scenario consistent with a 1.5\\u2009\\u00b0C rise by 2055; 0.3\\u2009\\u00b0C under a scenario consistent with a 2\\u2009\\u00b0C rise by 2085; and 0.3\\u2009\\u00b0C under a 3\\u2009\\u00b0C-by-2100 scenario (see \\u2018The long game\\u2019).\\n ISSN 0028-0836 (print)\\nnature.com sitemap\\nAbout Nature Portfolio\\nDiscover content\\nPublishing policies\\nAuthor & Researcher services\\nLibraries & institutions\\nAdvertising & partnerships\\nProfessional development\\nRegional websites\\n\"}, {\"url\": \"https://www.iucn.org/our-work/topic/nature-based-solutions-climate\", \"content\": \"Enhancing Nature-Based Solutions in Kosovo\\nPublication\\n|\\n2023\\nNature-based Solutions for corporate climate targets\\nNews\\n|\\n09 Nov, 2023\\nReSea Project Launched to Strengthen Coastal Communities in Kenya\\nBlog\\n|\\n01 Nov, 2023\\nTREPA project to plant over 18,000 ha of native species during 2023-2024 tree planting season\\u2026\\nSign up for an IUCN newsletter\\nFeatured bottom second Menus\\nSECRETARIAT\\nCOMMISSIONS\\nTHEMES\\nREGIONS\\nContact\\nHeadquarters\\nRue Mauverney 28\\n1196 Gland\\nSwitzerland\\n+41 22 9990000\\n+41 22 9990002(Fax)\\nFollow Us\\n\\u00a9IUCN, International Union for Conservation of Nature and Natural Resources Nature-based solutions can address climate change in three ways:\\nHeading\\n30%\\nof the global mitigation required by 2030/2050 to achieve the 1.5/2\\u00b0C temperature rise goal agreed to under the Paris Agreement\\nRead more\\nHeading\\n5 GtCO2e\\n5 GtCO2e\\nNature-based Solutions could deliver emission reductions\\nand removals of at least 5 GtCO2e per year by 2030 (of a maximum estimate of 11.7 GtCO2e per year).\\n Learn more\\nHeading\\nUSD 393 Billion\\nwhich can reduce the intensity of climate hazards by 26%\\nRead more\\nIUCN's work on NbS for climate\\nIUCN works to advance practical nature-based solutions for both climate mitigation and adaptation, centred on the better conservation, management and restoration of the world\\u2019s ecosystems. IUCN Issues Brief: Ensuring effective Nature-based Solutions\\nAccelerating investment in Nature-based Climate Solutions\\nIUCN supports the acceleration of financing for nature-based solutions for climate change through multiple grant mechanisms, including the Global EbA Fund, the Blue Natural Capital Financing Facility, the Subnational Climate Finance initiative, and the Nature+ Accelerator Fund, which collectively represent 200 million USD in available funding for NbS. Current economic valuation research estimates that an investment of 1 dollar in climate adaptation and resilience yields 4 dollars in benefits, on average. Topic Search View\\nNews\\n|\\n09 Dec, 2023\\nSix countries and UN agency join vital global partnership to advance Nature-based Solutions\\nGrey literature\\n|\\n2023\\n\"}, {\"url\": \"https://www.worldbank.org/en/news/feature/2022/05/19/what-you-need-to-know-about-nature-based-solutions-to-climate-change\", \"content\": \"The project is implementing nature-based solutions such as climate-smart farming, environmentally sustainable forest management, restoration of wetlands and degraded forests, as some of the interventions seeking to improve the water quality in the lake.\\n If the goal is to mitigate climate change, the equations, the protocols, and the systems are well established to measure the results - with carbon dioxide (CO2) being the basic metric used. What You Need to Know About Oceans and Climate Change\\nWebsite:\\u00a0Climate Explainer Series\\nWebsite:\\u00a0Climate Stories: How Countries and Communities Are Shaping A Sustainable Future\\nWebsite:\\u00a0World Bank - Climate Change\\nWebsite: World Bank - Environment\\nBlogs\\nWHAT'S NEW\\n What are nature-based solutions?\\nNature-based solutions are actions to protect, sustainably manage, or restore natural ecosystems, that address societal challenges such as climate change, human health, food and water security, and disaster risk reduction effectively and adaptively, simultaneously providing human well-being and biodiversity benefits. The World Bank is committed to address the two intersecting global crises the world is experiencing: the climate crisis and the biodiversity crisis.\\n\"}]]\n",
      "Step 3\n",
      "==================================\u001b[1m Ai Message \u001b[0m==================================\n",
      "\n",
      "[{'text': 'Okay, here is my attempt to revise the answer to the original question \"How should we handle the climate crisis?\":', 'type': 'text'}, {'id': 'toolu_01RRRqi9gfJUS2KXsv7bFPgA', 'input': {'answer': 'The climate crisis demands an all-hands-on-deck approach spanning policy measures, technological innovation, behavior changes, and natural climate solutions. On policy, implementing carbon pricing, emissions regulations, renewable energy incentives, and international agreements will be critical. Technological breakthroughs in clean energy storage, carbon capture, sustainable fuels, and green hydrogen also have a major role to play. \\n\\nHowever, vested interests, political gridlock, and the challenge of transitioning fossil fuel-based economies pose formidable hurdles that cannot be underestimated. Developing countries will need financing support and technology transfers to participate fully in mitigation efforts.\\n\\nIn parallel, conserving and restoring forests, wetlands, and other carbon sinks through nature-based solutions could contribute up to 30% of the emissions reductions required by 2050 [1]. Individual lifestyle adjustments like reducing energy use, eating more plant-based diets, and favoring public transit will also be impactful.\\n\\nUltimately, only a holistic strategy across all these fronts provides hope of averting the most catastrophic climate change scenarios. The costs of inaction would be civilization-threatening [2].\\n\\nReferences:\\n[1] https://www.worldwildlife.org/stories/what-are-nature-based-solutions-and-how-can-they-help-us-address-the-climate-crisis\\n[2] https://www.nytimes.com/interactive/2021/10/25/climate/world-climate-pledges-cop26.html', 'reflection': {'missing': 'The revised answer provides a more comprehensive overview by incorporating discussion of key challenges like political gridlock, the transition away from fossil fuel economies for major emitters, financing needs for developing countries, and the role of nature-based solutions alongside technological and policy approaches. It better acknowledges the complexity and multi-faceted nature of the climate challenge.', 'superfluous': 'While detailed examples could potentially be trimmed, the answer covers the major considerations at a relatively high level so does not contain obvious extraneous information.'}, 'search_queries': ['overcoming political obstacles to climate action', 'transitioning major economies away from fossil fuel dependence', 'climate finance for developing countries', 'potential of nature-based solutions like reforestation'], 'references': ['https://www.nytimes.com/interactive/2021/10/25/climate/world-climate-pledges-cop26.html', 'https://www.worldwildlife.org/stories/what-are-nature-based-solutions-and-how-can-they-help-us-address-the-climate-crisis']}, 'name': 'ReviseAnswer', 'type': 'tool_use'}]\n",
      "Tool Calls:\n",
      "  ReviseAnswer (toolu_01RRRqi9gfJUS2KXsv7bFPgA)\n",
      " Call ID: toolu_01RRRqi9gfJUS2KXsv7bFPgA\n",
      "  Args:\n",
      "    answer: The climate crisis demands an all-hands-on-deck approach spanning policy measures, technological innovation, behavior changes, and natural climate solutions. On policy, implementing carbon pricing, emissions regulations, renewable energy incentives, and international agreements will be critical. Technological breakthroughs in clean energy storage, carbon capture, sustainable fuels, and green hydrogen also have a major role to play. \n",
      "\n",
      "However, vested interests, political gridlock, and the challenge of transitioning fossil fuel-based economies pose formidable hurdles that cannot be underestimated. Developing countries will need financing support and technology transfers to participate fully in mitigation efforts.\n",
      "\n",
      "In parallel, conserving and restoring forests, wetlands, and other carbon sinks through nature-based solutions could contribute up to 30% of the emissions reductions required by 2050 [1]. Individual lifestyle adjustments like reducing energy use, eating more plant-based diets, and favoring public transit will also be impactful.\n",
      "\n",
      "Ultimately, only a holistic strategy across all these fronts provides hope of averting the most catastrophic climate change scenarios. The costs of inaction would be civilization-threatening [2].\n",
      "\n",
      "References:\n",
      "[1] https://www.worldwildlife.org/stories/what-are-nature-based-solutions-and-how-can-they-help-us-address-the-climate-crisis\n",
      "[2] https://www.nytimes.com/interactive/2021/10/25/climate/world-climate-pledges-cop26.html\n",
      "    reflection: {'missing': 'The revised answer provides a more comprehensive overview by incorporating discussion of key challenges like political gridlock, the transition away from fossil fuel economies for major emitters, financing needs for developing countries, and the role of nature-based solutions alongside technological and policy approaches. It better acknowledges the complexity and multi-faceted nature of the climate challenge.', 'superfluous': 'While detailed examples could potentially be trimmed, the answer covers the major considerations at a relatively high level so does not contain obvious extraneous information.'}\n",
      "    search_queries: ['overcoming political obstacles to climate action', 'transitioning major economies away from fossil fuel dependence', 'climate finance for developing countries', 'potential of nature-based solutions like reforestation']\n",
      "    references: ['https://www.nytimes.com/interactive/2021/10/25/climate/world-climate-pledges-cop26.html', 'https://www.worldwildlife.org/stories/what-are-nature-based-solutions-and-how-can-they-help-us-address-the-climate-crisis']\n",
      "Step 4\n",
      "=================================\u001b[1m Tool Message \u001b[0m=================================\n",
      "Name: ReviseAnswer\n",
      "\n",
      "[[{\"url\": \"https://www.nature.com/articles/s41893-023-01109-5\", \"content\": \"This is a preview of subscription content, access via your institution\\nAccess options\\nAccess Nature and 54 other Nature Portfolio journals\\nGet Nature+, our best-value online-access subscription\\n$29.99 /\\u00a030\\u00a0days\\ncancel any time\\nSubscribe to this journal\\nReceive 12 digital issues and online access to articles\\n$119.00 per year\\nonly $9.92 per issue\\nRent or buy this article\\nPrices vary by article type\\nfrom$1.95\\nto$39.95\\nPrices may be subject to local taxes which are calculated during checkout\\nAdditional access options:\\nReferences\\nClark, W. C. & Harley, A. G. Sustainability science: towards a synthesis. Google Scholar\\nCAT Emissions Gap (Climate Action Tracker, 2022); https://climateactiontracker.org/global/cat-emissions-gaps\\nPolicy Instruments for the Environment Database (Organisation for Economic Cooperation and Development, 2021); https://www.oecd.org/env/indicators-modelling-outlooks/policy-instrument-database/\\nState and Trends of Carbon Pricing 2019 (World Bank Group, 2019); https://openknowledge.worldbank.org/entities/publication/0a107aa7-dcc8-5619-bdcf-71f97a8909d6/full\\nRenewables 2020 Global Status Report (REN21, 2020); https://www.ren21.net/gsr-2020/\\nState and Trends of Carbon Pricing 2020 (World Bank Group, 2020); https://openknowledge.worldbank.org/entities/publication/bcc20088-9fbf-5a71-8fa0-41d871df4625/full\\nRenewable Power Generation Costs in 2019 (IRENA, 2020); https://www.irena.org/publications/2020/Jun/Renewable-Power-Costs-in-2019\\nEvolution of Solar PV Module Cost by Data Source, 1970\\u20132020 (IEA, 2022); https://www.iea.org/data-and-statistics/charts/evolution-of-solar-pv-module-cost-by-data-source-1970-2020\\nMeckling, J. Carbon Coalitions: Business, Climate Politics, and the Rise of Emissions Trading (MIT Press, 2011).\\n Authors and Affiliations\\nDepartment of Environmental Science, Policy, and Management, University of California, Berkeley, CA, USA\\nJonas Meckling\\nDepartment of Engineering and Public Policy, Carnegie Mellon University, Pittsburgh, PA, USA\\nValerie J. Karplus\\nYou can also search for this author in\\nPubMed\\u00a0Google Scholar\\nYou can also search for this author in\\nPubMed\\u00a0Google Scholar\\nContributions\\nJ.M. conceived the focus of this Review. ISSN 2398-9629 (online)\\nnature.com sitemap\\nAbout Nature Portfolio\\nDiscover content\\nPublishing policies\\nAuthor & Researcher services\\nLibraries & institutions\\nAdvertising & partnerships\\nCareer development\\nRegional websites\\n\\u00a9 2023 Springer Nature Limited\\nSign up for the Nature Briefing newsletter \\u2014 what matters in science, free to your inbox daily. Rights and permissions\\nSpringer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.\\nReprints and Permissions\\nAbout this article\\nCite this article\\nMeckling, J., Karplus, V.J. Political strategies for climate and environmental solutions.\\n\"}, {\"url\": \"https://www.brookings.edu/articles/barriers-to-achieving-us-climate-goals-are-more-political-than-technical/\", \"content\": \"Related Content\\nSamantha Gross\\nMay 10, 2021\\nAdie Tomer, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tDavid Dollar\\nMay 10, 2021\\nNathan Hultman, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tSamantha Gross\\nMarch 1, 2021\\nAuthors\\nForeign Policy\\nBrookings Initiative on Climate Research and Action\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tEnergy Security and Climate Initiative\\nBrahima Sangafowa Coulibaly, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tZia Qureshi, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tAloysius Uche Ordu, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tArushi Sharma, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tJennifer L. O\\u2019Donoghue, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tRebecca Winthrop, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tAlexandra Bracken, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tJohn W. McArthur\\nDecember 22, 2023\\nJohn W. McArthur, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tZia Khan, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tJacob Taylor, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tDaniel Bicknell, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tAlexandra Bracken, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tAngela Shields\\nDecember 19, 2023\\nManann Donoghoe, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tAndre M. Perry, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tSamantha Gross, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tEde Ijjasz-Vasquez, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tJoseph B. Keller, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tJohn W. McArthur, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tSanjay Patnaik, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tBarry G. Rabe, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tSophie Roehse, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tKemal Kiri\\u015fci, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t Subscribe to Planet Policy\\nCommentary\\nBarriers to achieving US climate goals are more political than technical\\nMay 10, 2021\\nForeign Policy\\nBrookings Initiative on Climate Research and Action\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tEnergy Security and Climate Initiative\\nOn Earth Day, April 22, President Joe Biden hosted a global summit on climate change to emphasize that the United States is back in the game on climate policy and to encourage greater climate ambition among other countries. President Biden set a goal of a carbon-free electricity system by 2035 and the American Jobs Plan sets a path toward that goal with a clean electricity standard, tax credits for zero-carbon electricity and power storage, and investment in the transmission capacity needed to modernize and reshape the U.S. electricity grid.\\n Several studies, including from the University of Maryland Center for Global Sustainability, the Environmental Defense Fund, and the Asia Policy Institute and Climate Analytics, describe how the U.S. could achieve the level of reductions pledged in the NDC. Sectoral emissions reductions\\nFor the most part, the Biden administration has already proposed the programs it plans to use to achieve the emissions reductions pledged in the U.S. NDC.\"}, {\"url\": \"https://www.brookings.edu/articles/the-real-obstacle-to-climate-action/\", \"content\": \"Authors\\nGlobal Economy and Development\\nBrookings Initiative on Climate Research and Action\\nJenny Schuetz, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tAdie Tomer, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tJulia Gill, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tCaroline George\\nDecember 4, 2023\\nCarlos Mart\\u00edn, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tCarolyn Kousky, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tKarina French, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tManann Donoghoe\\nNovember 13, 2023\\nCarlos Mart\\u00edn, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tCarolyn Kousky, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tKarina French, \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tManann Donoghoe\\nOctober 18, 2023\\nGet the latest from Brookings\\nThe Brookings Institution is a nonprofit organization based in Washington, D.C. The\\u00a0de facto\\u00a0coalition that is currently resisting climate action consists of the\\u00a0vested interests\\u00a0that own carbon-intensive assets (such as oil companies) and the mostly lower-income groups that would be short-term losers in a\\u00a0rapid transition. Subscribe to Planet Policy\\nCommentary\\nThe real obstacle to climate action\\nAugust 20, 2019\\nGlobal Economy and Development\\nBrookings Initiative on Climate Research and Action\\nThis op-ed was originally published by Project Syndicate.\\n And as is often the case with such transitions (for example with trade liberalization), the gains will be spread across large parts of the population, while the losses will be more concentrated on specific groups, making them more visible and politically disruptive.\\n Yet despite widespread recognition of the size and urgency of the climate challenge, emissions\\u00a0continue to increase, land is \\u201cunder growing human pressure,\\u201d and the Amazon\\u00a0has never been more threatened.\\n\"}, {\"url\": \"https://www.worldbank.org/en/news/feature/2023/11/16/overcoming-political-economy-barriers-to-climate-action\", \"content\": \"A new book from the World Bank - Within Reach: Navigating the Political Economy of Decarbonization - analyzes the dynamics of the political economy underlying real climate policies to better understand what is going on and why. It makes clear that political economy barriers can be overcome, and impactful climate action is possible. But it requires a strategic and dynamic approach.\"}, {\"url\": \"https://www.brookings.edu/articles/the-challenging-politics-of-climate-change/\", \"content\": \"Indeed, it could even be said that fiction that deals with climate change is almost by definition not of the kind that is taken seriously by serious literary journals: the mere mention of the subject is often enough to relegate a noel or short story to the genre of science fiction.21\\nThe absence of climate change from novels means that it is also absent from movies and television\\u2013the great powerful purveyors of stories in our time. But in the next year, an August 2018 poll taken shortly after the California wildfires showed concern among Republicans down to 44% and up to 79% among Democrats.9 In a YouGov poll in the summer of 2019\\u2014during record heat waves in the U.S. and Europe\\u2014only 42% of the public said that they were very concerned and only 22% of Republicans said that they were\\u201d very concerned about climate change. Similarly, if coal plants in China and cattle ranching in Australia increase their outputs of greenhouse gases in one year and there are droughts in Africa and floods in Europe the next, who is responsible?\\nWe currently attribute greenhouse gas emissions to individual countries under the United Nations Framework Convention on Climate Change, and we attribute greenhouse gases to their sources within the United States via the Environmental Protections Agency\\u2019s Greenhouse Gas Reporting Program. To see that this is so, we need only glance through the pages of a few highly regarded literary journals and book reviews, for example, the London Review of books, the New York Review of Books, the Los Angeles Review of Books, the Literary Journal, and the New York Times Review of Books. \\u201d20\\nImagination\\nThe final piece to the puzzle of why the political salience of climate change seems so out of step with the physical proof and urgency of the issue may have to do with the realm of imagination.\"}], [{\"url\": \"https://rhg.com/research/global-fossil-fuel-demand/\", \"content\": \"Fossil fuel demand by fuel type. The resulting outlook for global fossil demand shows that progress in transitioning away from fossil fuels is mixed. Thanks to cheap and widely available wind and solar, the world is on track for a rapid decline in coal consumption across the power sector, driving a 40-55% reduction from today's levels in ...\"}, {\"url\": \"https://www.nature.com/articles/s41560-023-01440-3\", \"content\": \"The 119 fossil fuel-producing countries across the globe differ markedly in terms of production volume and growth, economic dependency on fossil fuels, location of fuel usage and the domestic ...\"}, {\"url\": \"https://www.smithsonianmag.com/smart-news/seven-major-nations-agree-to-phase-out-coal-by-2035-though-vague-language-leaves-wiggle-room-180984260/\", \"content\": \"The United States (16 percent) and Germany \\\"are taking major steps toward this date,'' says Pieter de Pous, program lead for fossil fuel transition at the climate think tank E3G, in a ...\"}, {\"url\": \"https://www.wri.org/insights/just-transition-developing-countries-shift-oil-gas\", \"content\": \"At the same time insistence from vulnerable countries and others to cut dependence on fossil fuels to avoid catastrophic global warming continues. The transition away from oil and gas to meet global climate goals can offer important environmental, social and economic benefits but also presents significant challenges for many countries.\"}, {\"url\": \"https://link.springer.com/article/10.1007/s10098-021-02123-x\", \"content\": \"The unfolding future is particularly uncertain for the BRICS economies, which, by the year 2030, might respond for 37.7% of the global gross national product, besides representing more than 50% of the actual global economic growth and 40% of the global population. Footnote 6 Similarly, biomass combustion for combined heat and power production is a carbon sink when combined with CCS.Footnote 7 The more stringent the climate targets become, the more urgent the need for near zero-carbon or negative emissions technologies (NET), a niche that fosters bioenergy with CCS (BECCS).\\n How is the transition away from fossil fuels doing, and how will the low-carbon future unfold?\\n2760 Accesses\\n9 Citations\\n1 Altmetric\\nExplore all metrics\\nGraphic abstract\\nAvoid common mistakes on your manuscript.\\n However, besides economic penalty on the carbon-emitting process, CCS has main drawbacks that increase uncertainty and retards deployments: (i) geological sites for carbon storage are not evenly spread geographically and most often are distant from the carbon emission sources; (ii) public concerns on carbon leakages and consequential effects (e.g., induced seismicity); and (iii) lack of a regulatory framework for post-injection liability. Athos da Silveira Ramos, 149, Centro de Tecnologia, E, Ilha do Fund\\u00e3o, 21941-972, Rio de Janeiro, RJ, Brazil\\nOf\\u00e9lia Q. F. Ara\\u00fajo\\u00a0&\\u00a0Jos\\u00e9 Luiz de Medeiros\\nYou can also search for this author in\\nPubMed\\u00a0Google Scholar\\nYou can also search for this author in\\nPubMed\\u00a0Google Scholar\\nCorresponding author\\nCorrespondence to\\nOf\\u00e9lia Q. F. Ara\\u00fajo.\\n\"}], [{\"url\": \"https://unfccc.int/topics/introduction-to-climate-finance\", \"content\": \"The UNFCCC website includes a climate finance data portal with helpful explanations, graphics and figures for better understanding the climate finance process and as a gateway to information on activities funded in developing countries to implement climate action. The finance portal comprises three modules, each of which includes information ...\"}, {\"url\": \"https://www.worldbank.org/en/news/factsheet/2022/09/30/10-things-you-should-know-about-the-world-bank-group-s-climate-finance\", \"content\": \"Did you know\\u2026\\nRELATED\\nWorld Bank - Climate Change\\nClimate Stories: How Countries and Communities Are Shaping a Sustainable Future\\nClimate Explainer Series\\nThis site uses cookies to optimize functionality and give you the best possible experience. 10 Things You Should Know About the World Bank Group\\u2019s Climate Finance\\nPhoto: World Bank\\nFinancing transformative climate action is vital for development and to support the poorest people who are most affected by climate change. With 189 member countries, staff from more than 170 countries, and offices in over 130 locations, the World Bank Group is a unique global partnership: five institutions working for sustainable solutions that reduce poverty and build shared prosperity in developing countries.\\n We provide a wide array of financial products and technical assistance, and we help countries share and apply innovative knowledge and solutions to the challenges they face.\\n Data and research help us understand these challenges and set priorities, share knowledge of what works, and measure progress.\\n\"}, {\"url\": \"https://news.un.org/en/story/2021/06/1094762\", \"content\": \"What is Climate finance?\\nBroadly speaking, climate finance\\u00a0relates to the money which needs to be spent on a whole range of activities which will contribute to slowing down climate change and which will help the world to reach the target of limiting global warming to an increase of 1.5\\u00b0C above pre-industrial levels.\\n Resources\\nSecretary-General\\nSpokesperson's Office\\nFind Us\\nFooter menu\\nSocial Media Links\\nFooter buttons\\nFacebook\\nTwitter\\nPrint\\nEmail The UN says it seeks to combine the \\u201cdetermination of the public sector with the entrepreneurship capacities of the private sector,\\u201d supporting governments in making climate investments easier and more attractive for private sector companies.\\n UN-backed international climate funds\\nRelated Stories\\nNew UN financing initiative goes live to power climate action\\nUN joins faith-based initiative for shift towards climate-responsible finance\\nReform global financial architecture to achieve sustainable development: UN deputy chief\\nNews Tracker: Language\\nLanguage\\nMenu\\nLanguage\\nSearch\\nAudio and Subscription\\nThe trillion dollar climate finance challenge (and opportunity)\\n\"}, {\"url\": \"https://unfccc.int/news/from-billions-to-trillions-setting-a-new-goal-on-climate-finance\", \"content\": \"From billions to trillions. In 2009, developed countries agreed to mobilize USD 100 billion annually by 2020 to support climate action in developing countries. In 2015, under the Paris Agreement, Parties agreed to extend this goal out to 2025 and to set a new finance goal, from a floor of USD 100 billion per year, for after 2025 taking into ...\"}, {\"url\": \"https://www.mckinsey.com/capabilities/sustainability/our-insights/solving-the-climate-finance-equation-for-developing-countries\", \"content\": \"For instance, many countries in Africa, Asia, and Latin America are rich in the mineral resources essential for clean energy technologies and renewable resources that could enable the production of sustainable and clean energy, reducing environmental impact, and fostering long-term energy security (see sidebar \\u201cThe role of developing countries in the net-zero transition extends beyond their domestic emissions\\u201d).\\n This analysis highlights seven common challenges associated with climate finance that may need to be overcome, depending on each country\\u2019s unique economic and local context:\\nScaling carbon markets\\nIn recent years, voluntary carbon markets (VCMs) have emerged as a powerful mechanism to stimulate private sector capital to fund decarbonization projects in developing countries Globally, VCMs grew at about 20 percent per annum from 2016 to reach a value of roughly $2 billion in 2021.8Refinitiv, May 2023; \\u201cA guide to compliance carbon credit markets,\\u201d Carbon Credits, November 2023;&\\u201cVCM reaches towards $2 billion in 2021: Solving the climate finance equation for developing countries\\nAs climate change indicators continue to break records and global temperatures and extreme weather events advance, the urgency to act to ensure a sustainable future is mounting.1State of the global climate in 2022, World Meteorological Organization, April 2023; The net-zero transition: What it would cost, what it could bring, McKinsey Global Institute, January 2022. Around 60 percent of this capital was directed at the energy transition, with the remaining 30 percent allocated to agriculture, food, and land use, and 10 percent to nature, adaptation, and resilience.20Bhattacharya et al., Financing a big investment push in emerging markets and developing economies for sustainable, resilient, and inclusive recovery and growth, LSE Policy Publication, May 23, 2022.\\n Achieving the goals of the Paris Agreement will require fundamental changes in energy and land-use systems worldwide, and developing countries are a key part of this transformation.2For the climate finance analyses in this report, \\u201cdeveloping countries\\u201d refer to low- and middle-income countries but exclude China.\\n\"}], [{\"url\": \"https://www.nature.com/articles/s41558-024-01960-0\", \"content\": \"Authors and Affiliations\\nEnvironmental Defense Fund, New York, NY, USA\\nB. Buma,\\u00c2\\u00a0D. R. Gordon,\\u00c2\\u00a0K. M. Kleisner,\\u00c2\\u00a0A. Bartuska,\\u00c2\\u00a0J. R. Collins,\\u00c2\\u00a0A. J. Eagle,\\u00c2\\u00a0R. Fujita,\\u00c2\\u00a0E. Holst,\\u00c2\\u00a0J. M. Lavallee,\\u00c2\\u00a0R. N. Lubowski,\\u00c2\\u00a0C. Melikov,\\u00c2\\u00a0L. A. Moore,\\u00c2\\u00a0E. E. Oldfield,\\u00c2\\u00a0J. Paltseva,\\u00c2\\u00a0A. M. Raffeld,\\u00c2\\u00a0N. A. Randazzo,\\u00c2\\u00a0C. Schneider,\\u00c2\\u00a0N. Uludere Aragon\\u00c2\\u00a0&\\u00c2\\u00a0S. P. Hamburg\\nDepartment of Integrative Biology, University of Colorado, Denver, CO, USA\\nB. Buma\\nDepartment of Biology, University of Florida, Gainesville, FL, USA\\nD. R. Gordon\\nResources for the Future, Washington, DC, USA\\nA. Bartuska\\nInternational Arctic Research Center, University of Alaska, Fairbanks, AK, USA\\nA. Bidlack\\nDepartment of Ecology Evolution and Environmental Biology and the Climate School, Columbia University, New York, NY, USA\\nR. DeFries\\nThe Nature Conservancy, Arlington, VA, USA\\nP. Ellis\\nFaculty of Environment, Science and Economy, University of Exeter, Exeter, UK\\nP. Friedlingstein\\nLaboratoire de M\\u00c3\\u00a9t\\u00c3\\u00a9orologie Dynamique/Institut Pierre-Simon Laplace, CNRS, Ecole Normale Sup\\u00c3\\u00a9rieure/Universit\\u00c3\\u00a9 PSL, Sorbonne Universit\\u00c3\\u00a9, Ecole Polytechnique, Palaiseau, France\\nP. Friedlingstein\\nNational Ecological Observatory Network, Battelle, Boulder, CO, USA\\nS. Metzger\\nDepartment of Engineering and Public Policy, Carnegie Mellon University, Pittsburgh, PA, USA\\nG. Morgan\\nO\\u00e2\\u20ac\\u2122Neill School of Public and Environmental Affairs, Indiana University, Bloomington, IN, USA\\nK. Novick\\nDepartment of Environmental Science and Policy, University of California, Davis, CA, USA\\nJ. N. Sanchirico\\nDepartment of Marine Chemistry & Geochemistry, Woods Hole Oceanographic Institution, Woods Hole, MA, USA\\nJ. R. Collins\\nYou can also search for this author in\\nPubMed\\u00c2\\u00a0Google Scholar\\nYou can also search for this author in\\nPubMed\\u00c2\\u00a0Google Scholar\\n Author information\\nS. Metzger\\nPresent address: Department of Atmospheric and Oceanic Sciences, University of Wisconsin-Madison, Madison, WI, USA\\nS. Metzger\\nPresent address: AtmoFacts, Longmont, CO, USA\\nR. N. Lubowski\\nPresent address: Lombard Odier Investment Managers, New York, NY, USA\\nC. Melikov\\nPresent address: Ecological Carbon Offset Partners LLC, dba EP Carbon, Minneapolis, MN, USA\\nL. A. Moore\\nPresent address: , San Francisco, CA, USA\\nJ. Paltseva\\nPresent address: ART, Arlington, VA, USA\\nN. A. Randazzo\\nPresent address: NASA/GSFC, Greenbelt, MD, USA\\nN. A. Randazzo\\nPresent address: University of Maryland, College Park, MD, USA\\nN. Uludere Aragon\\nPresent address: Numerical Terradynamic Simulation Group, University of Montana, Missoula, MT, USA\\nThese authors contributed equally: B. Buma, D. R. Gordon.\\n We used an expert elicitation process13,14,15 with ten experts to place each proposed NbCS pathway into one of three readiness categories following their own assessment of the scientific literature, categorized by general sources of potential uncertainty: category 1, sufficient scientific basis to support a high-quality carbon accounting system or to support the development of such a system today; category 2, a >25% chance that focused research and reasonable funding would support development of high-quality carbon accounting (that is, move to category 1) within 5\\u00e2\\u20ac\\u2030years; or category 3, a <25% chance of development of high-quality carbon accounting within 5\\u00e2\\u20ac\\u2030years (for example, due to measurement challenges, unconstrained leakage, external factors which constrain viability).\\n For the full review, including crediting protocols currently used, literature estimates of scale and details of sub-pathways, see Supplementary Data.\\nPathways in the upper right quadrant have both high confidence in the scientific foundations and the largest potential scale of global impact; pathways in the lower left have the lowest confidence in our present scientific body of knowledge and an estimated smaller potential scale of impact. Similar content being viewed by others\\nThe principles of natural climate solutions\\nPeter Woods Ellis, Aaron Marr Page, \\u00e2\\u20ac\\u00a6 Susan C. Cook-Patton\\nConstraints and enablers for increasing carbon storage in the terrestrial biosphere\\nConnor J. Nolan, Christopher B. Field & Katharine J. Mach\\nOn the optimality of 2\\u00c2\\u00b0C targets and a decomposition of uncertainty\\nKaj-Ivar van der Wijst, Andries F. Hof & Detlef P. van Vuuren\\n\"}, {\"url\": \"https://www.whitehouse.gov/briefing-room/statements-releases/2022/11/08/fact-sheet-biden-\\u2060harris-administration-announces-roadmap-for-nature-based-solutions-to-fight-climate-change-strengthen-communities-and-support-local-economies/\", \"content\": \"Mobile Menu Overlay\\nThe White House\\n1600 Pennsylvania Ave NW\\nWashington, DC 20500\\nFACT SHEET: Biden-\\u2060Harris Administration Announces Roadmap for Nature-Based Solutions to Fight Climate Change, Strengthen Communities, and Support Local\\u00a0Economies\\nNew actions and recommendations announced at COP27 will make nature-based solutions a go-to option for fighting climate change and boost progress towards U.S. climate goals\\nToday at COP27 in Egypt, the Biden-Harris Administration is releasing the Nature-Based Solutions Roadmap, an outline of strategic recommendations to put America on a path that will unlock the full potential of nature-based solutions to address climate change, nature loss, and inequity. To demonstrate how the U.S. is already taking action, the Administration is also announcing new and recent interagency commitments aligned with the roadmap including: agency actions to ensure over $25 billion in infrastructure and climate funding can support nature-based solutions; a new guide for bringing the power of nature to maximize the value and resilience of military bases; and a new technical working group to better account for nature-based options in benefit cost analysis \\u2013 a powerful tool for federal decisions.\\n The Roadmap submitted to the National Climate Task Force today calls on expanding the use of nature-based solutions and outlines five strategic areas of focus for the federal government: (1) updating policies, (2) unlocking funding, (3) leading with federal facilities and assets, (4) training the nature-based solutions workforce, and (5) prioritizing research, innovation, knowledge, and adaptive learning that will advance nature-based solutions.\\n Actions by the Administration to unlock funding include:\\nThe roadmap recommends that federal agencies expand their use of nature-based solutions in the design, retrofitting, and management of federal facilities and embed these solutions in management of natural assets through improved planning, co-management, and co-stewardship. Several agencies are \\u00a0acting to leverage recent laws and appropriations towards nature-based solutions, including:\\nDRIVING GLOBAL ACTIONPresident Biden is committed to unlocking the full potential of nature-based solutions for achieving climate goals and combatting nature loss, especially for communities that are disproportionately impacted by climate change and environmental injustices.\"}, {\"url\": \"https://www.science.org/doi/10.1126/science.abn9668\", \"content\": \"In view of such issues, a conservative potential for nature-based solutions on land globally to contribute to climate change mitigation is around 100 to 200 Gt of CO 2 by 2100 or, at most, 11.5 Gt of CO 2 equivalents per year up to 2050 (a CO 2 equivalent is the number of tonnes of CO 2 emissions with the same global warming potential as 1 ...\"}, {\"url\": \"https://royalsocietypublishing.org/doi/10.1098/rstb.2019.0120\", \"content\": \"Box 1. Defining nature-based solutions. NbS involve working with and enhancing nature to help address societal challenges [8,9].They encompass a wide range of actions, such as the protection and management of natural and semi-natural ecosystems, the incorporation of green and blue infrastructure in urban areas, and the application of ecosystem-based principles to agricultural systems.\"}, {\"url\": \"https://www.worldbank.org/en/news/feature/2022/05/19/what-you-need-to-know-about-nature-based-solutions-to-climate-change\", \"content\": \"The project is implementing nature-based solutions such as climate-smart farming, environmentally sustainable forest management, restoration of wetlands and degraded forests, as some of the interventions seeking to improve the water quality in the lake.\\n If the goal is to mitigate climate change, the equations, the protocols, and the systems are well established to measure the results - with carbon dioxide (CO2) being the basic metric used. What You Need to Know About Oceans and Climate Change\\nWebsite:\\u00a0Climate Explainer Series\\nWebsite:\\u00a0Climate Stories: How Countries and Communities Are Shaping A Sustainable Future\\nWebsite:\\u00a0World Bank - Climate Change\\nWebsite: World Bank - Environment\\nBlogs\\nWHAT'S NEW\\n What are nature-based solutions?\\nNature-based solutions are actions to protect, sustainably manage, or restore natural ecosystems, that address societal challenges such as climate change, human health, food and water security, and disaster risk reduction effectively and adaptively, simultaneously providing human well-being and biodiversity benefits. The World Bank is committed to address the two intersecting global crises the world is experiencing: the climate crisis and the biodiversity crisis.\\n\"}]]\n",
      "Step 5\n",
      "==================================\u001b[1m Ai Message \u001b[0m==================================\n",
      "\n",
      "[{'text': 'Okay, let me reflect on the original question \"How should we handle the climate crisis?\" and my revised answer so far.', 'type': 'text'}, {'id': 'toolu_01A7zp1U45r1fbSFr3qdBfZC', 'input': {'answer': 'Tackling the climate crisis demands a multi-pronged global effort targeting policy reforms, technological innovation, behavior changes, and nature-based solutions. Key policy measures include carbon pricing, emissions regulations, clean energy incentives, and international climate agreements. Major technological breakthroughs are needed in clean energy storage, carbon capture, sustainable fuels, hydrogen and more.\\n\\nHowever, formidable challenges persist - entrenched fossil fuel interests resisting change, political gridlock, difficulties transitioning carbon-intensive economies, international free-rider problems, and financing needs for developing countries. Developing nations will require substantial support to participate fully in mitigation efforts.\\n\\nNature-based solutions like forest conservation, reforestation and coastal restoration could provide up to 30% of needed emissions reductions by 2050 [1]. They offer significant co-benefits for biodiversity and communities. Individual actions to reduce energy use, favor plant-based diets, drive electric vehicles etc. can also move the needle.\\n\\nUltimately, dramatically bending the emissions curve requires a holistic global strategy coordinating all these elements. The costs of inaction risk civilization-threatening impacts from accelerating climate change [2]. Time is of the essence to alter our current trajectory.', 'reflection': {'missing': 'The revised answer provides a reasonably comprehensive overview of the key elements needed to tackle climate change - policy, technology, behavior change, nature-based solutions - as well as major challenges and obstacles. It lacks some more specific details on priority policies, technologies or nature-based approaches, and does not delve deeply into adaptation strategies beyond nature-based solutions. However, it covers the high-level considerations well within the length constraint.', 'superfluous': 'The answer is relatively concise and high-level, so does not contain much extraneous or superfluous information, though a few examples could potentially be trimmed.'}, 'search_queries': ['key emissions policies for climate mitigation', 'priority clean energy technologies for climate', 'most promising nature-based climate solutions', 'climate change adaptation strategies'], 'references': ['https://www.worldwildlife.org/stories/what-are-nature-based-solutions-and-how-can-they-help-us-address-the-climate-crisis', 'https://www.nytimes.com/interactive/2021/10/25/climate/world-climate-pledges-cop26.html']}, 'name': 'ReviseAnswer', 'type': 'tool_use'}]\n",
      "Tool Calls:\n",
      "  ReviseAnswer (toolu_01A7zp1U45r1fbSFr3qdBfZC)\n",
      " Call ID: toolu_01A7zp1U45r1fbSFr3qdBfZC\n",
      "  Args:\n",
      "    answer: Tackling the climate crisis demands a multi-pronged global effort targeting policy reforms, technological innovation, behavior changes, and nature-based solutions. Key policy measures include carbon pricing, emissions regulations, clean energy incentives, and international climate agreements. Major technological breakthroughs are needed in clean energy storage, carbon capture, sustainable fuels, hydrogen and more.\n",
      "\n",
      "However, formidable challenges persist - entrenched fossil fuel interests resisting change, political gridlock, difficulties transitioning carbon-intensive economies, international free-rider problems, and financing needs for developing countries. Developing nations will require substantial support to participate fully in mitigation efforts.\n",
      "\n",
      "Nature-based solutions like forest conservation, reforestation and coastal restoration could provide up to 30% of needed emissions reductions by 2050 [1]. They offer significant co-benefits for biodiversity and communities. Individual actions to reduce energy use, favor plant-based diets, drive electric vehicles etc. can also move the needle.\n",
      "\n",
      "Ultimately, dramatically bending the emissions curve requires a holistic global strategy coordinating all these elements. The costs of inaction risk civilization-threatening impacts from accelerating climate change [2]. Time is of the essence to alter our current trajectory.\n",
      "    reflection: {'missing': 'The revised answer provides a reasonably comprehensive overview of the key elements needed to tackle climate change - policy, technology, behavior change, nature-based solutions - as well as major challenges and obstacles. It lacks some more specific details on priority policies, technologies or nature-based approaches, and does not delve deeply into adaptation strategies beyond nature-based solutions. However, it covers the high-level considerations well within the length constraint.', 'superfluous': 'The answer is relatively concise and high-level, so does not contain much extraneous or superfluous information, though a few examples could potentially be trimmed.'}\n",
      "    search_queries: ['key emissions policies for climate mitigation', 'priority clean energy technologies for climate', 'most promising nature-based climate solutions', 'climate change adaptation strategies']\n",
      "    references: ['https://www.worldwildlife.org/stories/what-are-nature-based-solutions-and-how-can-they-help-us-address-the-climate-crisis', 'https://www.nytimes.com/interactive/2021/10/25/climate/world-climate-pledges-cop26.html']\n",
      "Step 6\n",
      "=================================\u001b[1m Tool Message \u001b[0m=================================\n",
      "Name: ReviseAnswer\n",
      "\n",
      "[[{\"url\": \"https://www.nature.com/articles/s41558-024-01963-x\", \"content\": \"This is a preview of subscription content, access via your institution\\nAccess options\\nAccess Nature and 54 other Nature Portfolio journals\\nGet Nature+, our best-value online-access subscription\\n$29.99 /\\u00c2\\u00a030\\u00c2\\u00a0days\\ncancel any time\\nSubscribe to this journal\\nReceive 12 print issues and online access\\n$209.00 per year\\nonly $17.42 per issue\\nRent or buy this article\\nPrices vary by article type\\nfrom$1.95\\nto$39.95\\nPrices may be subject to local taxes which are calculated during checkout\\nAdditional access options:\\nReferences\\nLindsey, R. & Dahlman, L. Climate Change: Global Temperature (NOAA 2024); https://go.nature.com/48AEs3h\\nIPCC: Author information\\nAuthors and Affiliations\\nGrantham Research Institute on Climate Change and the Environment, London School of Economics and Political Science, London, UK\\nCandice Howarth\\u00c2\\u00a0&\\u00c2\\u00a0Elizabeth J. Z. Robinson\\nYou can also search for this author in\\nPubMed\\u00c2\\u00a0Google Scholar\\nYou can also search for this author in\\nPubMed\\u00c2\\u00a0Google Scholar\\nContributions\\nC.H. and E.J.Z.R. conceived the work, drafted the manuscript, and edited and approved the final version.\\n ISSN 1758-678X (print)\\nnature.com sitemap\\nAbout Nature Portfolio\\nDiscover content\\nPublishing policies\\nAuthor & Researcher services\\nLibraries & institutions\\nAdvertising & partnerships\\nProfessional development\\nRegional websites\\n https://doi.org/10.1038/s41558-024-01963-x\\nDownload citation\\nPublished: 19 March 2024\\nDOI: https://doi.org/10.1038/s41558-024-01963-x\\nShare this article\\nAnyone you share the following link with will be able to read this content:\\nSorry, a shareable link is not currently available for this article.\\n Provided by the Springer Nature SharedIt content-sharing initiative\\nAdvertisement\\nExplore content\\nAbout the journal\\nPublish with us\\nSearch\\nQuick links\\nNature Climate Change (Nat. Clim.\"}, {\"url\": \"https://unfccc.int/news/cop26-reaches-consensus-on-key-actions-to-address-climate-change\", \"content\": \"COP26 Reaches Consensus on Key Actions to Address Climate Change. 13 November 2021. UN Climate Press Release. Share the article. Adaptation, mitigation and finance are all strengthened in a complex and delicate balance supported by all Parties. After six years of strenuous negotiations, pending items that prevented the full implementation of ...\"}, {\"url\": \"https://www.ipcc.ch/report/ar6/wg3/?_hsenc=p2ANqtz-_39LLTF7yuy4m63o_7GtK9hM7NxosooqKXUCz9TofVBbSaq7_b-rsgZPCJ4bct6a_8weia\", \"content\": \"Chapters\\nIntroduction and Framing\\nEmissions trends and drivers\\nMitigation pathways compatible with long-term goals\\nMitigation and development pathways in the near- to mid-term\\nDemand, services and social aspects of mitigation\\nEnergy systems\\nAgriculture, Forestry, and Other Land Uses (AFOLU)\\nUrban systems and other settlements\\nBuildings\\nTransport\\nIndustry\\nCross sectoral perspectives\\nNational and sub-national policies and institutions\\nInternational cooperation\\nInvestment and finance\\nInnovation, technology development and transfer\\nAccelerating the transition in the context of sustainable development\\nAnnexes\\nGlossary\\nDefinitions, units and conventions\\nScenarios and modelling methods\\nContributors to the IPCC WGIII Sixth Assessment Report\\nExpert Reviewers of the IPCC WGIII Sixth Assessment Report\\nAcronyms Full Report\\nThe 17 Chapters of the Working Group III Report assess the mitigation of climate change, examine the sources of global emissions and explain developments in emission reduction and mitigation efforts.\\n Technical Summary\\nThe Technical Summary (TS) provides extended summary of key findings and serves as a link between the comprehensive assessment of the Working Group III Report and the concise SPM.\\n Summary for Policymakers\\nThe Summary for Policymakers (SPM) provides a high-level summary of the key findings of the Working Group III Report and is approved by the IPCC member governments line by line.\\n Climate Change 2022: Mitigation of Climate Change\\nThe Working Group III report provides an updated global assessment of climate change mitigation progress and pledges, and examines the sources of global emissions.\"}, {\"url\": \"https://css.umich.edu/publications/factsheets/climate-change/climate-change-policy-and-mitigation-factsheet\", \"content\": \"CSS05-20.\\nWhere to go from here\\nClimate Change: Science and Impacts Factsheet\\u00a0\\u00bb\\nGreenhouse Gases Factsheet\\u00a0\\u00bb\\nCenter for Sustainable Systems\\n\\u00a9\\n2023\\nRegents of the University of Michigan\\nProduced by\\nMichigan Creative, a unit of the\\nOffice of the Vice President for Communications Effective mitigation cannot be achieved without individual agencies working collectively towards reduction goals and immense GHG emission reductions in all sectors.11 Stronger mitigation efforts require increased upfront investments, yet the global benefits of avoided damages and reduced adaptation costs exceeds the mitigation expense.2 Stabilization wedges are one display of GHG reduction strategies; each wedge represents 1 Gt of carbon avoided in 2054.26\\nEnergy Savings: Many energy efficiency efforts require an initial capital investment, but the payback period is often only a few years. In 2021, U.S. GHG emissions were 6.3 GtCO2e.4\\nGeneral Policies\\nThe Kyoto Protocol\\nThe Paris Agreement\\nGovernment Action in the U.S.\\nStabilizing atmospheric CO2 concentrations requires changes in energy production and consumption. In 2016, the Minneapolis Clean Energy Partnership planned to retrofit 75% of Minneapolis residences for efficiency and allocated resources to buy down the cost of energy audits and provide no-interest financing for energy efficiency upgrades.27\\nFuel Switching: Switching power plants and vehicles to less carbon-intensive fuels can achieve emission reductions quickly. Currently, CO2 is used in enhanced oil recovery (EOR), but longterm storage technologies remain expensive.28 Alternatively, existing CO2 can be removed from the atmosphere through Negative Emissions Technologies and approaches such as direct air capture and sequestration, bioenergy with carbon capture and sequestration, and land management strategies.29\\nCenter for Sustainable Systems, University of Michigan. 2023.\"}, {\"url\": \"https://climate.mit.edu/explainers/mitigation-and-adaptation\", \"content\": \"Adaptation is action to help people adjust to the current and future effects of climate change.1\\u00a0These two prongs of climate action work together to protect people from the harms of climate change: one to make future climate change as mild and manageable as possible, and the other to deal with the climate change we fail to prevent.\\n The sooner the world stops the rise of greenhouse gases, and shields people from the warming we have already caused, the less we will ultimately have to spend to stabilize our climate, and the more lives and livelihoods we will save along the way.\\n In Bangladesh, one of the most vulnerable countries in the world to sea level rise and saltwater intrusion, the port city of Mongla is investing in embankments, drainage, flood-control gates and water treatment to get ahead of rising waters, and economic development to provide refuge and work opportunities for thousands of people displaced from nearby towns. The Paris Agreement of 2015 set worldwide targets for mitigation, with almost every country on Earth agreeing to zero out their greenhouse gas emissions in time to halt global warming at no more than 2\\u00b0 C, and ideally at no more than 1.5\\u00b0 C.\\u00a0Today, however, mitigation is not on track to meet either of these goals.4 In fact, despite ambitious pledges and fast progress in sectors like clean electricity, greenhouse gas emissions are still rising worldwide.\\u00a0 Still, authorities like the Intergovernmental Panel on Climate Change agree that some carbon removal will be needed to head off the worst climate change scenarios.3\\nIf mitigation is successful worldwide, then one day greenhouse gases will stop building up in the atmosphere, and the planet will slowly stop warming.\"}], [{\"url\": \"https://www.whitehouse.gov/briefing-room/statements-releases/2021/11/08/fact-sheet-the-bipartisan-infrastructure-deal-boosts-clean-energy-jobs-strengthens-resilience-and-advances-environmental-justice/\", \"content\": \"The deal makes our communities safer and our infrastructure more resilient to the impacts of climate change and cyber-attacks, with an investment of over $50 billion to protect against droughts, heat, and floods \\u2013 in addition to a major investment in the weatherization of American homes.\\n The Bipartisan Infrastructure Deal is a critical step towards reaching President Biden\\u2019s goal of a net-zero emissions economy by 2050, and is paired with the Build Back Better Framework to realize his full vision to grow our economy, lower consumer costs, create jobs, reduce climate pollution, and ensure more Americans can participate fully and equally in our economy.\\n The deal will provide funding for deployment of EV chargers along highway corridors to facilitate long-distance travel and within communities to provide convenient charging where people live, work, and shop \\u2013 and funding will have a particular focus on rural, disadvantaged, and hard-to-reach communities.\\n Modern InfrastructureThe Bipartisan Infrastructure Deal invests $17 billion in port infrastructure and $25 billion in airports to address repair and maintenance backlogs, reduce congestion and emissions near ports and airports, and drive electrification and other low-carbon technologies.\\u00a0 Millions of Americans also live within a mile of the tens of thousands of abandoned mines and oil and gas wells \\u2013 a large, continuing course of methane, a powerful greenhouse gas that is a major cause of climate change.\"}, {\"url\": \"https://www.brookings.edu/articles/net-zero-innovation-hubs-3-priorities-to-drive-americas-clean-energy-future/\", \"content\": \"We propose a third priority area in the clean energy workforce of the future. Luckily, a skilled, energy-savvy workforce exists in the fossil fuel sector right now. The oil, gas, and coal sectors ...\"}, {\"url\": \"https://www.weforum.org/agenda/2021/03/cleantech-investment-priorities-energy-transition/\", \"content\": \"Clean electricity received the highest score; it was the most frequently listed amongst the top three priorities for 2021-2025 across all sectors of participants (see chart 2). It was closely followed by R&D on energy storage and industrial decarbonization. Somewhat surprisingly, carbon capture and storage played a lesser role.\"}, {\"url\": \"https://www.whitehouse.gov/briefing-room/statements-releases/2022/06/17/fact-sheet-president-biden-to-galvanize-global-action-to-strengthen-energy-security-and-tackle-the-climate-crisis-through-the-major-economies-forum-on-energy-and-climate/\", \"content\": \"Targeted technologies could include, for example, clean hydrogen, carbon dioxide removal, grid-scale energy storage, industrial decarbonization and carbon capture, advanced nuclear, advanced clean ...\"}, {\"url\": \"https://www.iea.org/news/clean-energy-technologies-need-a-major-boost-to-keep-net-zero-by-2050-within-reach\", \"content\": \"Fossil Fuels\\nRenewables\\nElectricity\\nLow-Emission Fuels\\nTransport\\nIndustry\\nBuildings\\nEnergy Efficiency and Demand\\nCarbon Capture, Utilisation and Storage\\nDecarbonisation Enablers\\nGlobal Energy Transitions Stocktake\\nCritical Minerals\\nRussia's War on Ukraine\\nClimate Change\\nGlobal Energy Crisis\\nInvestment\\nSaving Energy\\nEnergy Security\\nNet Zero Emissions\\nEnergy Efficiency\\nData explorers\\nUnderstand and manipulate data with easy to use explorers and trackers\\nData sets\\nFree and paid data sets from across the energy system available for download\\nPolicies database\\nPast, existing or planned government policies and measures\\nChart Library\\nAccess every chart published across all IEA reports and analysis\\nWorld Energy Outlook 2023\\nFlagship report \\u2014 October 2023\\nOil Market Report - December 2023\\nFuel report \\u2014 December 2023\\nEnergy Efficiency 2023\\nFuel report \\u2014 November 2023\\nNet Zero Roadmap: The rapid decarbonisation of the power system is critical for the success of the clean energy transition, since power generation accounts for 40% of energy-related CO2 emissions and electricity is increasingly being used to meet energy demand in key sectors of the economy.\\n The International Energy Agency\\u2019s latest and most comprehensive assessment of clean energy technology progress worldwide shows that a step change in action and ambition is needed across all energy technologies and sectors to keep the goal of net zero emissions by 2050 within reach.\\n Progress on clean energy innovation will be crucial to help develop and deploy the full range of clean energy technologies needed to decarbonise the sectors, in particular those where emissions are the most challenging to reduce, such as aviation, shipping and heavy industry.\\n In transport, stronger policies are needed to encourage shifts to using low-carbon modes of transport, greater energy efficiency measures, and the building out of infrastructure to support zero emission vehicles, as well as the development and uptake of those vehicle in long-distance transport.\\n\"}], [{\"url\": \"https://www.iucn.org/our-work/topic/nature-based-solutions-climate\", \"content\": \"Enhancing Nature-Based Solutions in Kosovo\\nPublication\\n|\\n2023\\nNature-based Solutions for corporate climate targets\\nNews\\n|\\n09 Nov, 2023\\nReSea Project Launched to Strengthen Coastal Communities in Kenya\\nBlog\\n|\\n01 Nov, 2023\\nTREPA project to plant over 18,000 ha of native species during 2023-2024 tree planting season\\u2026\\nSign up for an IUCN newsletter\\nFeatured bottom second Menus\\nSECRETARIAT\\nCOMMISSIONS\\nTHEMES\\nREGIONS\\nContact\\nHeadquarters\\nRue Mauverney 28\\n1196 Gland\\nSwitzerland\\n+41 22 9990000\\n+41 22 9990002(Fax)\\nFollow Us\\n\\u00a9IUCN, International Union for Conservation of Nature and Natural Resources Nature-based solutions can address climate change in three ways:\\nHeading\\n30%\\nof the global mitigation required by 2030/2050 to achieve the 1.5/2\\u00b0C temperature rise goal agreed to under the Paris Agreement\\nRead more\\nHeading\\n5 GtCO2e\\n5 GtCO2e\\nNature-based Solutions could deliver emission reductions\\nand removals of at least 5 GtCO2e per year by 2030 (of a maximum estimate of 11.7 GtCO2e per year).\\n Learn more\\nHeading\\nUSD 393 Billion\\nwhich can reduce the intensity of climate hazards by 26%\\nRead more\\nIUCN's work on NbS for climate\\nIUCN works to advance practical nature-based solutions for both climate mitigation and adaptation, centred on the better conservation, management and restoration of the world\\u2019s ecosystems. IUCN Issues Brief: Ensuring effective Nature-based Solutions\\nAccelerating investment in Nature-based Climate Solutions\\nIUCN supports the acceleration of financing for nature-based solutions for climate change through multiple grant mechanisms, including the Global EbA Fund, the Blue Natural Capital Financing Facility, the Subnational Climate Finance initiative, and the Nature+ Accelerator Fund, which collectively represent 200 million USD in available funding for NbS. Current economic valuation research estimates that an investment of 1 dollar in climate adaptation and resilience yields 4 dollars in benefits, on average. Topic Search View\\nNews\\n|\\n09 Dec, 2023\\nSix countries and UN agency join vital global partnership to advance Nature-based Solutions\\nGrey literature\\n|\\n2023\\n\"}, {\"url\": \"https://www.nature.org/en-us/what-we-do/our-insights/perspectives/natural-climate-solutions/\", \"content\": \"The Nature Conservancy\\nTerms of Use\\n|\\nPrivacy Statement\\n|\\nCharitable Solicitation Disclosures\\n|\\nMobile Terms & Conditions\\n|\\nNotice of Nondiscrimination\\n|\\nWe personalize nature.org for you\\nThis website uses cookies to enhance your experience and analyze performance and traffic on our website.\\n Perspectives\\nNatural Climate Solutions\\nEmbrace Nature, Empower the Planet\\nCombined with cutting fossil fuels\\u00a0and accelerating renewable energy, natural climate solutions offer immediate and cost-effective ways to tackle the climate crisis\\u2014while also\\u00a0addressing biodiversity loss and supporting human health and livelihoods.\\n See real-world examples of NCS in action across the U.S.\\nSign up for Global Insights Newsletter\\n5-Minute Climate Solutions\\nCome along each month as we explore the latest real-world solutions to the most complex challenges facing people and the planet today, all in 5-minutes or less.\\n Read key takeaways from the study\\nMore NCS Research\\nExplore our Natural Climate Solutions Resource Center to see the latest science, research and case studies demonstrating how nature can help increase carbon storage and avoid greenhouse gas emissions around the world.\\n By Susan Cook-Patton\\nSite Footer\\nExplore\\nConnect\\nGive\\nSign Up for E-News\\nPlease provide valid email address\\nYou\\u2019ve already signed up with this email address.\"}, {\"url\": \"https://www.nature.com/articles/s41558-021-01198-0\", \"content\": \"Author information\\nAuthors and Affiliations\\nThe Nature Conservancy, Arlington, VA, USA\\nSusan C. Cook-Patton,\\u00a0Kelley Hamrick,\\u00a0Hamilton Hardman,\\u00a0Timm Kroeger\\u00a0&\\u00a0Samantha Yeo\\nNature United, Ottawa, Ontario, Canada\\nC. Ronnie Drever\\nConservation International, Arlington, VA, USA\\nBronson W. Griscom\\u00a0&\\u00a0Shyla Raghav\\nWorld Wildlife Fund, Washington DC, USA\\nPablo Pacheco\\u00a0&\\u00a0Martha Stevenson\\nThe Nature Conservancy, London, UK\\nChris Webb\\nThe Nature Conservancy, Portland, ME, USA\\nPeter W. Ellis\\n Quantifying the Effect Size of Management Actions on Aboveground Carbon Stocks in Forest Plantations\\nCurrent Forestry Reports (2023)\\nAdvertisement\\nExplore content\\nAbout the journal\\nPublish with us\\nSearch\\nQuick links\\nNature Climate Change (Nat. Clim. Provided by the Springer Nature SharedIt content-sharing initiative\\nThis article is cited by\\nAccounting for the climate benefit of temporary carbon storage in nature\\nNature Communications (2023)\\nRealizing the social value of impermanent carbon credits\\nNature Climate Change (2023)\\n 3 of average marginal abatement costs when constrained to\\u2009\\u2264$50 tCO2e\\u22121.\\nRights and permissions\\nReprints and Permissions\\nAbout this article\\nCite this article\\nCook-Patton, S.C., Drever, C.R., Griscom, B.W. et al. Protect, manage and then restore lands for climate mitigation.\\n ISSN 1758-678X (print)\\nnature.com sitemap\\nAbout Nature Portfolio\\nDiscover content\\nPublishing policies\\nAuthor & Researcher services\\nLibraries & institutions\\nAdvertising & partnerships\\nCareer development\\nRegional websites\\n\"}, {\"url\": \"https://www.nature.com/articles/s41558-024-01960-0\", \"content\": \"Authors and Affiliations\\nEnvironmental Defense Fund, New York, NY, USA\\nB. Buma,\\u00c2\\u00a0D. R. Gordon,\\u00c2\\u00a0K. M. Kleisner,\\u00c2\\u00a0A. Bartuska,\\u00c2\\u00a0J. R. Collins,\\u00c2\\u00a0A. J. Eagle,\\u00c2\\u00a0R. Fujita,\\u00c2\\u00a0E. Holst,\\u00c2\\u00a0J. M. Lavallee,\\u00c2\\u00a0R. N. Lubowski,\\u00c2\\u00a0C. Melikov,\\u00c2\\u00a0L. A. Moore,\\u00c2\\u00a0E. E. Oldfield,\\u00c2\\u00a0J. Paltseva,\\u00c2\\u00a0A. M. Raffeld,\\u00c2\\u00a0N. A. Randazzo,\\u00c2\\u00a0C. Schneider,\\u00c2\\u00a0N. Uludere Aragon\\u00c2\\u00a0&\\u00c2\\u00a0S. P. Hamburg\\nDepartment of Integrative Biology, University of Colorado, Denver, CO, USA\\nB. Buma\\nDepartment of Biology, University of Florida, Gainesville, FL, USA\\nD. R. Gordon\\nResources for the Future, Washington, DC, USA\\nA. Bartuska\\nInternational Arctic Research Center, University of Alaska, Fairbanks, AK, USA\\nA. Bidlack\\nDepartment of Ecology Evolution and Environmental Biology and the Climate School, Columbia University, New York, NY, USA\\nR. DeFries\\nThe Nature Conservancy, Arlington, VA, USA\\nP. Ellis\\nFaculty of Environment, Science and Economy, University of Exeter, Exeter, UK\\nP. Friedlingstein\\nLaboratoire de M\\u00c3\\u00a9t\\u00c3\\u00a9orologie Dynamique/Institut Pierre-Simon Laplace, CNRS, Ecole Normale Sup\\u00c3\\u00a9rieure/Universit\\u00c3\\u00a9 PSL, Sorbonne Universit\\u00c3\\u00a9, Ecole Polytechnique, Palaiseau, France\\nP. Friedlingstein\\nNational Ecological Observatory Network, Battelle, Boulder, CO, USA\\nS. Metzger\\nDepartment of Engineering and Public Policy, Carnegie Mellon University, Pittsburgh, PA, USA\\nG. Morgan\\nO\\u00e2\\u20ac\\u2122Neill School of Public and Environmental Affairs, Indiana University, Bloomington, IN, USA\\nK. Novick\\nDepartment of Environmental Science and Policy, University of California, Davis, CA, USA\\nJ. N. Sanchirico\\nDepartment of Marine Chemistry & Geochemistry, Woods Hole Oceanographic Institution, Woods Hole, MA, USA\\nJ. R. Collins\\nYou can also search for this author in\\nPubMed\\u00c2\\u00a0Google Scholar\\nYou can also search for this author in\\nPubMed\\u00c2\\u00a0Google Scholar\\n Author information\\nS. Metzger\\nPresent address: Department of Atmospheric and Oceanic Sciences, University of Wisconsin-Madison, Madison, WI, USA\\nS. Metzger\\nPresent address: AtmoFacts, Longmont, CO, USA\\nR. N. Lubowski\\nPresent address: Lombard Odier Investment Managers, New York, NY, USA\\nC. Melikov\\nPresent address: Ecological Carbon Offset Partners LLC, dba EP Carbon, Minneapolis, MN, USA\\nL. A. Moore\\nPresent address: , San Francisco, CA, USA\\nJ. Paltseva\\nPresent address: ART, Arlington, VA, USA\\nN. A. Randazzo\\nPresent address: NASA/GSFC, Greenbelt, MD, USA\\nN. A. Randazzo\\nPresent address: University of Maryland, College Park, MD, USA\\nN. Uludere Aragon\\nPresent address: Numerical Terradynamic Simulation Group, University of Montana, Missoula, MT, USA\\nThese authors contributed equally: B. Buma, D. R. Gordon.\\n We used an expert elicitation process13,14,15 with ten experts to place each proposed NbCS pathway into one of three readiness categories following their own assessment of the scientific literature, categorized by general sources of potential uncertainty: category 1, sufficient scientific basis to support a high-quality carbon accounting system or to support the development of such a system today; category 2, a >25% chance that focused research and reasonable funding would support development of high-quality carbon accounting (that is, move to category 1) within 5\\u00e2\\u20ac\\u2030years; or category 3, a <25% chance of development of high-quality carbon accounting within 5\\u00e2\\u20ac\\u2030years (for example, due to measurement challenges, unconstrained leakage, external factors which constrain viability).\\n For the full review, including crediting protocols currently used, literature estimates of scale and details of sub-pathways, see Supplementary Data.\\nPathways in the upper right quadrant have both high confidence in the scientific foundations and the largest potential scale of global impact; pathways in the lower left have the lowest confidence in our present scientific body of knowledge and an estimated smaller potential scale of impact. Similar content being viewed by others\\nThe principles of natural climate solutions\\nPeter Woods Ellis, Aaron Marr Page, \\u00e2\\u20ac\\u00a6 Susan C. Cook-Patton\\nConstraints and enablers for increasing carbon storage in the terrestrial biosphere\\nConnor J. Nolan, Christopher B. Field & Katharine J. Mach\\nOn the optimality of 2\\u00c2\\u00b0C targets and a decomposition of uncertainty\\nKaj-Ivar van der Wijst, Andries F. Hof & Detlef P. van Vuuren\\n\"}, {\"url\": \"https://www.worldbank.org/en/news/feature/2022/05/19/what-you-need-to-know-about-nature-based-solutions-to-climate-change\", \"content\": \"The project is implementing nature-based solutions such as climate-smart farming, environmentally sustainable forest management, restoration of wetlands and degraded forests, as some of the interventions seeking to improve the water quality in the lake.\\n If the goal is to mitigate climate change, the equations, the protocols, and the systems are well established to measure the results - with carbon dioxide (CO2) being the basic metric used. What You Need to Know About Oceans and Climate Change\\nWebsite:\\u00a0Climate Explainer Series\\nWebsite:\\u00a0Climate Stories: How Countries and Communities Are Shaping A Sustainable Future\\nWebsite:\\u00a0World Bank - Climate Change\\nWebsite: World Bank - Environment\\nBlogs\\nWHAT'S NEW\\n What are nature-based solutions?\\nNature-based solutions are actions to protect, sustainably manage, or restore natural ecosystems, that address societal challenges such as climate change, human health, food and water security, and disaster risk reduction effectively and adaptively, simultaneously providing human well-being and biodiversity benefits. The World Bank is committed to address the two intersecting global crises the world is experiencing: the climate crisis and the biodiversity crisis.\\n\"}], [{\"url\": \"https://science.nasa.gov/climate-change/adaptation-mitigation/\", \"content\": \"Because we are already committed to some level of climate change, responding to climate change involves a two-pronged approach:\\nMitigation and Adaptation\\nMitigation \\u2013 reducing climate change \\u2013 involves reducing the flow of heat-trapping greenhouse gases into the atmosphere, either by reducing sources of these gases (for example, the burning of fossil fuels for electricity, heat, or transport) or enhancing the \\u201csinks\\u201d that accumulate and store these gases (such as the oceans, forests, and soil). The goal of mitigation is to avoid significant human interference with Earth's climate, \\u201cstabilize greenhouse gas levels in a timeframe sufficient to allow ecosystems to adapt naturally to climate change, ensure that food production is not threatened, and to enable economic development to proceed in a sustainable manner\\u201d (from the 2014 report on Mitigation of Climate Change from the United Nations Intergovernmental Panel on Climate Change, page 4).\\n Related Articles\\nFor further reading on NASA\\u2019s work on mitigation and adaptation, take a look at these pages:\\nDiscover More Topics From NASA\\nExplore Earth Science\\nEarth Science in Action\\nEarth Science Data\\nFacts About Earth\\nThe National Aeronautics and Space Administration\\nNASA explores the unknown in air and space, innovates for the benefit of humanity, and inspires the world through discovery.\\n Climate change is being included into development plans: how to manage the increasingly extreme disasters we are seeing, how to protect coastlines and deal with sea-level rise, how to best manage land and forests, how to deal with and plan for drought, how to develop new crop varieties, and how to protect energy and public infrastructure.\\n Carbon dioxide, the heat-trapping greenhouse gas that is the primary driver of recent global warming, lingers in the atmosphere for many thousands of years, and the planet (especially the ocean) takes a while to respond to warming.\"}, {\"url\": \"https://climate.mit.edu/explainers/mitigation-and-adaptation\", \"content\": \"Adaptation is action to help people adjust to the current and future effects of climate change.1\\u00a0These two prongs of climate action work together to protect people from the harms of climate change: one to make future climate change as mild and manageable as possible, and the other to deal with the climate change we fail to prevent.\\n The sooner the world stops the rise of greenhouse gases, and shields people from the warming we have already caused, the less we will ultimately have to spend to stabilize our climate, and the more lives and livelihoods we will save along the way.\\n In Bangladesh, one of the most vulnerable countries in the world to sea level rise and saltwater intrusion, the port city of Mongla is investing in embankments, drainage, flood-control gates and water treatment to get ahead of rising waters, and economic development to provide refuge and work opportunities for thousands of people displaced from nearby towns. The Paris Agreement of 2015 set worldwide targets for mitigation, with almost every country on Earth agreeing to zero out their greenhouse gas emissions in time to halt global warming at no more than 2\\u00b0 C, and ideally at no more than 1.5\\u00b0 C.\\u00a0Today, however, mitigation is not on track to meet either of these goals.4 In fact, despite ambitious pledges and fast progress in sectors like clean electricity, greenhouse gas emissions are still rising worldwide.\\u00a0 Still, authorities like the Intergovernmental Panel on Climate Change agree that some carbon removal will be needed to head off the worst climate change scenarios.3\\nIf mitigation is successful worldwide, then one day greenhouse gases will stop building up in the atmosphere, and the planet will slowly stop warming.\"}, {\"url\": \"https://www.epa.gov/arc-x/strategies-climate-change-adaptation\", \"content\": \"Offer incentives to plant and protect trees.\\nRead more: Smart Growth Fixes for Climate Adaptation and Resilience (Ch. 6)\\nInclude reducing heat island effects as an objective in complete streets projects.\\nRead more: Smart Growth Fixes for Climate Adaptation and Resilience (Ch. 6)\\nRequire or encourage green or reflective roofs on new buildings with little or no roof slope.\\nRead more: Smart Growth Fixes for Climate Adaptation and Resilience (Ch. 6)\\nRevise the zoning ordinance to allow urban agriculture.\\n : Smart Growth Fixes for Climate Adaptation and Resilience (Ch. 5)\\nImplement rolling development restrictions.\\nRead more: Smart Growth Fixes for Climate Adaptation and Resilience (Ch. 5)\\nBegin planning for managed retreat from the shoreline.\\nRead more: Smart Growth Fixes for Climate Adaptation and Resilience (Ch. 5)\\nOffer financial or procedural incentives to use passive survivability.\\n Blue Plains Wastewater Facility in Washington DC Reinforces Facility Against Floods,\\nAnacortes, Washington Rebuilds Water Treatment Plant for Climate Change\\nTampa Bay Diversifies Water Sources to Reduce Climate Risk\\nSouthern Nevada Water Authority Assesses Vulnerability To Climate Change\\nCamden, New Jersey Uses Green Infrastructure to Manage Stormwater,\\nDC Utilizes Green Infrastructure to Manage Stormwater\\nAnacortes, Washington Rebuilds Water Treatment Plant for Climate Change\\nSmart Growth Along the Riverfront Helps Manage Stormwater in Iowa City, Iowa\\nBlue Plains Wastewater Facility in Washington DC Reinforces Facility Against Floods\\nDC Utilizes Green Infrastructure to Manage Stormwater\\nAssemble existing data sets with information such as historic land use, planned development, topography, and location of floodplains. Add projected sea level rise to flood zone hazard maps that are based exclusively on historical events.\\nRead more: Smart Growth Fixes for Climate Adaptation and Resilience (Ch. 5)\\nDesignate and protect \\\"transition zones\\\" near tidal marshes.\\nRead more: Smart Growth Fixes for Climate Adaptation and Resilience (Ch. 5)\\nChange the definition of \\\"normal high water\\\" for land adjacent to tidal waters to change regulatory setbacks.\\n Read more: Smart Growth Fixes for Climate Adaptation and Resilience (Ch. 4)\\nRequire new development or redevelopment to capture and infiltrate the first 1 or 1.5 inches of rain.\\nRead more: Smart Growth Fixes for Climate Adaptation and Resilience (Ch. 4)\\nUpdate any Clean Water Act Section 402 National Pollution Discharge Elimination System permits to consider climate change.\\n\"}, {\"url\": \"https://www.worldbank.org/en/news/feature/2020/11/17/the-adaptation-principles-6-ways-to-build-resilience-to-climate-change\", \"content\": \"The main objective of an adaptation and resilience strategy is not to implement stand-alone projects: it is to ensure that all government departments and public agencies adopt and mainstream the strategy in all their decisions, and that governments continuously monitor and evaluate the impact of their decisions and actions, so they can address any challenges and adjust their actions accordingly.\\n The Adaptation Principles: 6 Ways to Build Resilience to Climate Change\\nMultimedia\\nThe Adaptation Principles: 6 Ways to Build Resilience to Climate Change\\nSTORY HIGHLIGHTS\\nOver the past decades, Uganda made remarkable progress in reducing poverty and boosting socio-economic development. Because of the massive uncertainty that surrounds macroeconomic estimates of future climate change impacts, strategies to build the resilience of the economy, especially through appropriate diversification of the economic structure, export composition and tax base, are particularly attractive over the short term.\\n Yet, the global economic ramifications of the COVID-19 pandemic and the effects of climate change are forcing the country to confront new challenges: shocks not only threaten further progress but can reverse hard won successes of the past.\\n And they will also need to provide direct support to the poorest people, who cannot afford to invest in adaptation but are the most vulnerable to experiencing devastating effects of climate change.\\n\"}, {\"url\": \"https://climatepromise.undp.org/news-and-stories/what-climate-change-adaptation-and-why-it-crucial\", \"content\": \"Countries agreed to global time-bound targets around specific themes and sectors \\u2013 for example in areas such as water and sanitation, food and agriculture, and poverty eradication and livelihoods \\u2013 as well as under what\\u2019s called the \\u201cadaptation cycle,\\u201d a global framework guiding countries on the steps necessary to plan for and implement adaptation.\\n In addition to developing the policies needed to guide adaptation, governments need to look at large-scale measures such as strengthening or relocating infrastructure from coastal areas affected by sea-level rise, building infrastructure able to withstand more extreme weather conditions, enhancing early warning systems and access to disaster information, developing insurance mechanisms specific to climate-related threats, and creating new protections for wildlife and natural ecosystems.\\n The urgency is especially great for developing countries, which are already feeling the impacts of climate change and are particularly vulnerable due to a combination of factors, including their geographical and climatic conditions, their high dependence on natural resources, and their limited capacity to adapt to a changing climate. Other countries such as Malawi and Pakistan are modernizing the capture and use of climate data and early warning systems, equipping communities, farmers and policy makers with the information they need to protect lives and livelihoods.\\n With every fraction of a degree of warming, the impacts of climate change will become more frequent and more intense \\u2013 and adaptation will become that much harder and more expensive for people and ecosystems.\\n\"}]]\n",
      "Step 7\n",
      "==================================\u001b[1m Ai Message \u001b[0m==================================\n",
      "\n",
      "[{'text': 'Okay, let me reflect on the original question \"How should we handle the climate crisis?\" and my revised answer so far.', 'type': 'text'}, {'id': 'toolu_01LirQtruxA9Rp2UAiojegu9', 'input': {'answer': 'The climate crisis is an existential threat requiring a coordinated global response across multiple fronts - policy, technology, shifts in human behavior, and nature-based solutions. \\n\\nKey policy levers include economy-wide carbon pricing, regulations to drive emissions reductions, incentives for renewable energy and clean tech R&D, and international agreements. Major technological breakthroughs are needed in areas like energy storage, carbon capture, sustainable aviation/shipping fuels, hydrogen, industrial decarbonization, and advanced nuclear.\\n\\nHowever, the transition away from fossil fuels faces massive political and economic hurdles - entrenched industry interests, gridlock over sweeping policy changes, challenges in retooling carbon-intensive economies, global governance problems, and financing needs for developing countries. Those nations will require substantial financing support and tech transfers to participate fully in mitigation.\\n\\nNature-based solutions like forest protection, reforestation, and coastal restoration could provide up to 30% of needed emissions cuts by 2050 [1]. They offer co-benefits for communities and biodiversity. Complementary adaptation measures like resilient infrastructure, early warning systems, and climate-smart agriculture are also vital.\\n\\nUltimately, overcoming the crisis demands an unprecedented global cooperative effort coordinating robust policy frameworks, disruptive technological innovation, large-scale land use changes, climate financing mechanisms, and transformational individual choices. The costs of inaction - rising seas, famines, mass migration, ecosystem collapse - would be catastrophic and civilization-threatening [2]. We must rise to meet this generational challenge through sustained, aggressive action on all fronts.\\n\\nReferences:\\n[1] https://www.worldwildlife.org/stories/what-are-nature-based-solutions-and-how-can-they-help-us-address-the-climate-crisis \\n[2] https://www.nytimes.com/interactive/2021/10/25/climate/world-climate-pledges-cop26.html', 'reflection': {'missing': 'The revised answer provides a comprehensive overview covering the key elements needed to tackle climate change - policy, technology, economy-wide transition challenges, climate finance for developing countries, nature-based solutions, and adaptation measures. It highlights the urgency and scale of the crisis while acknowledging the immense difficulties in driving transformational change. Some more specific examples of priority policies, technologies, or nature-based approaches could potentially be included, but the length is already stretching the stated 250 word limit.', 'superfluous': 'The answer aims to be relatively concise while hitting the high-level points, so it does not contain much extraneous detail.'}, 'search_queries': ['priority climate policies for emissions reduction', 'key technological solutions for decarbonization', 'most promising nature-based climate mitigation approaches', 'examples of climate adaptation strategies'], 'references': ['https://www.worldwildlife.org/stories/what-are-nature-based-solutions-and-how-can-they-help-us-address-the-climate-crisis', 'https://www.nytimes.com/interactive/2021/10/25/climate/world-climate-pledges-cop26.html']}, 'name': 'ReviseAnswer', 'type': 'tool_use'}]\n",
      "Tool Calls:\n",
      "  ReviseAnswer (toolu_01LirQtruxA9Rp2UAiojegu9)\n",
      " Call ID: toolu_01LirQtruxA9Rp2UAiojegu9\n",
      "  Args:\n",
      "    answer: The climate crisis is an existential threat requiring a coordinated global response across multiple fronts - policy, technology, shifts in human behavior, and nature-based solutions. \n",
      "\n",
      "Key policy levers include economy-wide carbon pricing, regulations to drive emissions reductions, incentives for renewable energy and clean tech R&D, and international agreements. Major technological breakthroughs are needed in areas like energy storage, carbon capture, sustainable aviation/shipping fuels, hydrogen, industrial decarbonization, and advanced nuclear.\n",
      "\n",
      "However, the transition away from fossil fuels faces massive political and economic hurdles - entrenched industry interests, gridlock over sweeping policy changes, challenges in retooling carbon-intensive economies, global governance problems, and financing needs for developing countries. Those nations will require substantial financing support and tech transfers to participate fully in mitigation.\n",
      "\n",
      "Nature-based solutions like forest protection, reforestation, and coastal restoration could provide up to 30% of needed emissions cuts by 2050 [1]. They offer co-benefits for communities and biodiversity. Complementary adaptation measures like resilient infrastructure, early warning systems, and climate-smart agriculture are also vital.\n",
      "\n",
      "Ultimately, overcoming the crisis demands an unprecedented global cooperative effort coordinating robust policy frameworks, disruptive technological innovation, large-scale land use changes, climate financing mechanisms, and transformational individual choices. The costs of inaction - rising seas, famines, mass migration, ecosystem collapse - would be catastrophic and civilization-threatening [2]. We must rise to meet this generational challenge through sustained, aggressive action on all fronts.\n",
      "\n",
      "References:\n",
      "[1] https://www.worldwildlife.org/stories/what-are-nature-based-solutions-and-how-can-they-help-us-address-the-climate-crisis \n",
      "[2] https://www.nytimes.com/interactive/2021/10/25/climate/world-climate-pledges-cop26.html\n",
      "    reflection: {'missing': 'The revised answer provides a comprehensive overview covering the key elements needed to tackle climate change - policy, technology, economy-wide transition challenges, climate finance for developing countries, nature-based solutions, and adaptation measures. It highlights the urgency and scale of the crisis while acknowledging the immense difficulties in driving transformational change. Some more specific examples of priority policies, technologies, or nature-based approaches could potentially be included, but the length is already stretching the stated 250 word limit.', 'superfluous': 'The answer aims to be relatively concise while hitting the high-level points, so it does not contain much extraneous detail.'}\n",
      "    search_queries: ['priority climate policies for emissions reduction', 'key technological solutions for decarbonization', 'most promising nature-based climate mitigation approaches', 'examples of climate adaptation strategies']\n",
      "    references: ['https://www.worldwildlife.org/stories/what-are-nature-based-solutions-and-how-can-they-help-us-address-the-climate-crisis', 'https://www.nytimes.com/interactive/2021/10/25/climate/world-climate-pledges-cop26.html']\n"
     ]
    }
   ],
   "source": [
    "events = graph.stream(\n",
    "    [HumanMessage(content=\"How should we handle the climate crisis?\")],\n",
    "    stream_mode=\"values\",\n",
    ")\n",
    "for i, step in enumerate(events):\n",
    "    print(f\"Step {i}\")\n",
    "    step[-1].pretty_print()"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "7159e30c-728e-480d-8252-915404cc756d",
   "metadata": {},
   "source": [
    "## Conclusion\n",
    "\n",
    "Congrats on building a Reflexion actor! I'll leave you with a few observations to save you some time when choosing which parts of this agent to adapt to your workflow:\n",
    "1. This agent trades off execution time for quality. It explicitly forces the agent to critique and revise the output over several steps, which usually (not always) increases the response quality but takes much longer to return a final answer\n",
    "2. The 'reflections' can be paired with additional external feedback (such as validators), to further guide the actor.\n",
    "3. In the paper, 1 environment (AlfWorld) uses external memory. It does this by storing summaries of the reflections to an external store and using them in subsequent trials/invocations."
   ]
  },
  {
   "cell_type": "markdown",
   "id": "39e44dd6",
   "metadata": {},
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.12.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
