{
  "id": "task_libraries:llm/python",
  "path": "/exapedia/python-llm-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python LLM libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python LLM libraries wrap calls to large language models (LLMs) and organize the work around them, such as tool calls, retrieval, and multi-step workflows. These libraries are how developers build AI agents and chat features on top of a model provider's API."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python LLM libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#langchain",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F127"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F128"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#langgraph",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pydantic-ai-slim",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F159"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#google-adk",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F176"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#instructor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F193"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dspy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F210"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#llamaindex-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F225"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#crewai",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#langchain",
          "label": [
            {
              "t": "text",
              "text": "LangChain"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F128"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Agent tool-execution workflows",
            "Native human input or approval"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#langchain",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F127"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#langgraph",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pydantic-ai-slim",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F159"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#google-adk",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F176"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#instructor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F193"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dspy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F210"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#llamaindex-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F225"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#crewai",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "langchain",
          "name": [
            {
              "t": "fact",
              "fact": "F127"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/langchain-ai/langchain"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/langchain"
            },
            {
              "label": "Docs",
              "href": "https://reference.langchain.com/python/langchain/langchain/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "LangChain is a framework for building agents and other applications on large language models. "
            },
            {
              "t": "code",
              "text": "init_chat_model"
            },
            {
              "t": "text",
              "text": " opens a chat model from any supported provider by name, and "
            },
            {
              "t": "code",
              "text": "create_agent"
            },
            {
              "t": "text",
              "text": " combines a model, a list of tools, and middleware into an agent that calls tools until it reaches an answer. A declared schema returns the final answer as validated data. Each provider, vector store, and tool comes from a separate integration package, and the agent itself runs on LangGraph."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F128"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://reference.langchain.com/python/langchain/langchain/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F127"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/langchain-ai/open_deep_research",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F140"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "async def write_research_brief(state: AgentState, config: RunnableConfig) -> Command[Literal[\"research_supervisor\"]]:\n    \"\"\"Transform user messages into a structured research brief and initialize supervisor.\n\n    This function analyzes the user's messages and generates a focused research brief\n    that will guide the research supervisor. It also sets up the initial supervisor\n    context with appropriate prompts and instructions.\n\n    Args:\n        state: Current agent state containing user messages\n        config: Runtime configuration with model settings\n\n    Returns:\n        Command to proceed to research supervisor with initialized context\n    \"\"\"\n    # Step 1: Set up the research model for structured output\n    configurable = Configuration.from_runnable_config(config)\n    research_model_config = {\n        \"model\": configurable.research_model,\n        \"max_tokens\": configurable.research_model_max_tokens,\n        \"api_key\": get_api_key_for_model(configurable.research_model, config),\n        \"tags\": [\"langsmith:nostream\"]\n    }\n\n    # Configure model for structured research question generation\n    research_model = (\n        configurable_model\n        .with_structured_output(ResearchQuestion)\n        .with_retry(stop_after_attempt=configurable.max_structured_output_retries)\n        .with_config(research_model_config)\n    )\n\n    # Step 2: Generate structured research brief from user messages\n    prompt_content = transform_messages_into_research_topic_prompt.format(\n        messages=get_buffer_string(state.get(\"messages\", [])),\n        date=get_today_str()\n    )\n    response = await research_model.ainvoke([HumanMessage(content=prompt_content)])\n\n    # Step 3: Initialize supervisor with research brief and instructions\n    supervisor_system_prompt = lead_researcher_prompt.format(\n        date=get_today_str(),\n        max_concurrent_research_units=configurable.max_concurrent_research_units,\n        max_researcher_iterations=configurable.max_researcher_iterations\n    )\n\n    return Command(\n        goto=\"research_supervisor\", \n        update={\n            \"research_brief\": response.research_brief,\n            \"supervisor_messages\": {\n                \"type\": \"override\",\n                \"value\": [\n                    SystemMessage(content=supervisor_system_prompt),\n                    HumanMessage(content=response.research_brief)\n                ]\n            }\n        }\n    )",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/langchain-ai/open_deep_research/blob/1b7d2e80db9faa586165c60e09096dbbfd483a64/src/open_deep_research/deep_researcher.py#L118-L175",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F139"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20langchain%20for%20research%20dialogue%2C%20retrieval-pipeline%20initialization%20and%20streamed%20document%20querying&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F127"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from langchain.chat_models import init_chat_model\n\nmodel = init_chat_model(\"gpt-6.1-sol\")\nresponse = model.invoke(\"Why do parrots have colorful feathers?\")\nprint(response)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.langchain.com/oss/python/langchain/models",
                  "label": [
                    {
                      "t": "text",
                      "text": "agents.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F132"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "langgraph",
          "name": [
            {
              "t": "fact",
              "fact": "F142"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/langchain-ai/langgraph"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/langgraph"
            },
            {
              "label": "Docs",
              "href": "https://reference.langchain.com/python/langgraph/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "LangGraph is a low-level framework and runtime for long-running, stateful agents. A workflow is a graph: nodes are Python functions that read and update a shared state, and edges decide which node runs next, including loops and branches. The graph compiles before it runs, and compilation is where a checkpointer attaches. With a checkpointer, a run survives failures and resumes where it stopped, and an interrupt pauses the graph to wait for human input."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://reference.langchain.com/python/langgraph/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F142"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ]
            }
          ],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/assafelovic/gpt-researcher",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F157"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _create_workflow(self, agents):\n    workflow = StateGraph(ResearchState)\n\n    # Add nodes for each agent\n    workflow.add_node(\"browser\", agents[\"research\"].run_initial_research)\n    workflow.add_node(\"planner\", agents[\"editor\"].plan_research)\n    workflow.add_node(\"researcher\", agents[\"editor\"].run_parallel_research)\n    workflow.add_node(\"writer\", agents[\"writer\"].run)\n    workflow.add_node(\"fact_checker\", agents[\"fact_checker\"].run)\n    workflow.add_node(\"visualizer\", agents[\"visualizer\"].run)\n    workflow.add_node(\"publisher\", agents[\"publisher\"].run)\n    workflow.add_node(\"human\", agents[\"human\"].review_plan)\n\n    # Add edges\n    self._add_workflow_edges(workflow)\n\n    return workflow",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/assafelovic/gpt-researcher/blob/ddd4db36208d9c8e49f3b2436efda97baecb5433/multi_agents/agents/orchestrator.py#L65-L81",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F156"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=langgraph%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F142"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from typing_extensions import TypedDict\nfrom langgraph.graph import StateGraph, START, END\n\nclass State(TypedDict):\n    message: str\n\nbuilder = StateGraph(State)\nbuilder.add_node('echo', lambda state: {'message': state['message']})\nbuilder.add_edge(START, 'echo')\nbuilder.add_edge('echo', END)\nprint(builder.compile().invoke({'message': 'hello'}))\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.langchain.com/oss/python/langgraph/graph-api",
                  "label": [
                    {
                      "t": "text",
                      "text": "graph-api.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F147"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pydantic-ai-slim",
          "name": [
            {
              "t": "fact",
              "fact": "F159"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pydantic/pydantic-ai"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pydantic-ai-slim"
            },
            {
              "label": "Docs",
              "href": "https://pydantic.dev/docs/ai/overview/install/#slim-install"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Pydantic AI is an agent framework from the Pydantic team. An "
            },
            {
              "t": "code",
              "text": "Agent"
            },
            {
              "t": "text",
              "text": " has a model name, instructions, tools, and an output type, and "
            },
            {
              "t": "code",
              "text": "run"
            },
            {
              "t": "text",
              "text": " executes the agent loop and returns output validated against that type. Switching providers means changing the model string, and a fallback model can take over when a provider fails. Tools can require human approval before they run, and agents can run under durable execution engines such as Temporal. The "
            },
            {
              "t": "code",
              "text": "pydantic-ai-slim"
            },
            {
              "t": "text",
              "text": " package installs the core, with each provider added as an extra."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pydantic.dev/docs/ai/overview/install/#slim-install",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F159"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F270"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F271"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F272"
                }
              ]
            }
          ],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/UKGovernmentBEIS/inspect_ai",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F174"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@agent\ndef web_research_agent() -> Agent:\n    \"\"\"Pydantic AI Web Research Agent.\"\"\"\n\n    async def execute(state: AgentState) -> AgentState:\n        async with agent_bridge(state) as bridge:\n            agent = PydanticAgent(\n                _pydantic_bridge_model(),\n                capabilities=[WebSearch()],\n                system_prompt=\"You help users find information by searching the web.\",\n                output_type=AnswerToQueryOutput,\n                retries={\"output\": 3},\n            )\n\n            result = await agent.run(user_prompt(state.messages).text)\n\n            # capture the typed result as the completion (as the final\n            # assistant message includes on the `final_answer()` tool\n            # call that PydanticAI uses to report its answer\n            bridge.state.output.completion = result.output.model_dump_json()\n\n            return bridge.state\n\n    return execute",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/UKGovernmentBEIS/inspect_ai/blob/b1816681f4f4b7e6fb492c555befe1bb724706f0/examples/bridge/pydantic-ai/agent.py#L34-L57",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F173"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pydantic-ai-slim%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F159"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from pydantic_ai import Agent, AgentRunResultEvent, AgentStreamEvent\n\nagent = Agent('openai:gpt-6.1-sol')\n\nresult_sync = agent.run_sync('What is the capital of Italy?')\nprint(result_sync.output)\n#> The capital of Italy is Rome.\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://ai.pydantic.dev/agents/",
                  "label": [
                    {
                      "t": "text",
                      "text": "agents.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F164"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "google-adk",
          "name": [
            {
              "t": "fact",
              "fact": "F176"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/google/adk-python"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/google-adk"
            },
            {
              "label": "Docs",
              "href": "https://google.github.io/adk-docs/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Google ADK, the Agent Development Kit, is a framework for defining, evaluating, and deploying agents in Python code. An agent combines a model, instructions, and tools, which can be Python functions, OpenAPI specs, or MCP tools, and several agents can be composed into a hierarchy. A graph-based workflow runtime adds routing, loops, retries, and human input to a run. The kit is optimized for Gemini but works with other models, and agents deploy to Cloud Run or Google's managed agent runtime."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://google.github.io/adk-docs/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F176"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F273"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F274"
                }
              ]
            }
          ],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/google/adk-docs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F191"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "async def call_agent_async(query):\n    content = types.Content(role='user', parts=[types.Part(text=query)])\n    session, runner = await setup_session_and_runner()\n    events = runner.run_async(user_id=USER_ID, session_id=SESSION_ID, new_message=content)\n\n    async for event in events:\n        if event.is_final_response() and event.content and event.content.parts:\n            final_response = event.content.parts[0].text\n            print(\"Agent Response: \", final_response)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/google/adk-docs/blob/ff7a5f56469a81f3e43a8fc54668d8dc84300192/examples/python/snippets/tools/overview/customer_support_agent.py#L65-L73",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F190"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=google-adk%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F176"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import asyncio\nimport os\nfrom google.adk.agents import Agent\nfrom google.adk.runners import InMemoryRunner\n\nasync def main():\n    agent = Agent(name='assistant', model=os.environ['GEMINI_MODEL'], instruction='Answer briefly.')\n    runner = InMemoryRunner(agent=agent)\n    await runner.run_debug('Hello')\n\nasyncio.run(main())\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/google/adk-python/v2.14.1/src/google/adk/runners.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "runners.py"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F181"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "instructor",
          "name": [
            {
              "t": "fact",
              "fact": "F193"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/567-labs/instructor"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/instructor"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/instructor/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Instructor returns structured data from a language model as a validated Pydantic object. A Pydantic class declares the fields, "
            },
            {
              "t": "code",
              "text": "instructor.from_provider"
            },
            {
              "t": "text",
              "text": " opens a client for a named provider and model, and a call with "
            },
            {
              "t": "code",
              "text": "response_model"
            },
            {
              "t": "text",
              "text": " returns an instance of that class instead of raw text. When validation fails, Instructor sends the errors back to the model and retries. The library handles single extraction calls, and its README points to Pydantic AI for full agents."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/instructor/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F193"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Same code across providers"
                }
              ],
              "body": [
                {
                  "t": "code",
                  "text": "instructor.from_provider"
                },
                {
                  "t": "text",
                  "text": " takes a provider and model name, such as OpenAI, Anthropic, Google, or Ollama, and returns the same client."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Retries on failed validation"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "When a reply fails Pydantic validation, Instructor sends the request again."
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Extraction only"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "The Instructor README points agent workflows to Pydantic AI."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/cocoindex-io/cocoindex",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F208"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@coco.fn(memo=True)\nasync def extract_relationships(content: str) -> list[Triple]:\n    client = cast(\n        instructor.AsyncInstructor,\n        instructor.from_litellm(litellm.acompletion, mode=instructor.Mode.JSON),\n    )\n    result = await client.chat.completions.create(\n        model=coco.use_context(LLM_MODEL),\n        response_model=RelationshipList,\n        messages=[\n            {\"role\": \"system\", \"content\": RELATIONSHIP_PROMPT},\n            {\"role\": \"user\", \"content\": content},\n        ],\n    )\n    validated = RelationshipList.model_validate(result.model_dump())\n    return [Triple(r.subject, r.predicate, r.object) for r in validated.relationships]",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/cocoindex-io/cocoindex/blob/42770c97d6ae6e38f80d640b404dae06a6ffec11/examples/docs_to_knowledge_graph/main.py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F207"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=instructor%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F193"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import instructor\nfrom pydantic import BaseModel\n\n\n# Define what you want\nclass User(BaseModel):\n name: str\n age: int\n\n\n# Extract it from natural language\nclient = instructor.from_provider(\"openai/gpt-4o-mini\")\nuser = client.chat.completions.create(\n response_model=User,\n messages=[{\"role\": \"user\", \"content\": \"John is 25 years old\"}],\n)\n\nprint(user) # User(name='John', age=25)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/instructor/1.17.0/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F198"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "dspy",
          "name": [
            {
              "t": "fact",
              "fact": "F210"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/stanfordnlp/dspy"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/dspy"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/dspy/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "DSPy builds language model programs from Python code instead of hand-written prompts. A signature declares a task's typed inputs and outputs, such as a question in and an answer out, and modules such as "
            },
            {
              "t": "code",
              "text": "Predict"
            },
            {
              "t": "text",
              "text": " and "
            },
            {
              "t": "code",
              "text": "ChainOfThought"
            },
            {
              "t": "text",
              "text": " turn a signature into model calls. Modules compose into larger programs, including retrieval pipelines and agent loops. Optimizers such as "
            },
            {
              "t": "code",
              "text": "GEPA"
            },
            {
              "t": "text",
              "text": " then tune the prompts, and optionally the weights, using example data and a scoring function."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/dspy/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F210"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F61"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F62"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/stanford-oval/storm",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F223"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def forward(\n    self,\n    topic: str,\n    persona: str,\n    dialogue_turns: List[DialogueTurn],\n    draft_page=None,\n):\n    conv = []\n    for turn in dialogue_turns[:-4]:\n        conv.append(\n            f\"You: {turn.user_utterance}\\nExpert: Omit the answer here due to space limit.\"\n        )\n    for turn in dialogue_turns[-4:]:\n        conv.append(\n            f\"You: {turn.user_utterance}\\nExpert: {ArticleTextProcessing.remove_citations(turn.agent_utterance)}\"\n        )\n    conv = \"\\n\".join(conv)\n    conv = conv.strip() or \"N/A\"\n    conv = ArticleTextProcessing.limit_word_count_preserve_newline(conv, 2500)\n\n    with dspy.settings.context(lm=self.engine):\n        if persona is not None and len(persona.strip()) > 0:\n            question = self.ask_question_with_persona(\n                topic=topic, persona=persona, conv=conv\n            ).question\n        else:\n            question = self.ask_question(\n                topic=topic, persona=persona, conv=conv\n            ).question\n\n    return dspy.Prediction(question=question)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/stanford-oval/storm/blob/fb951af7744dab086e34962e9bc6fe878e145f83/knowledge_storm/storm_wiki/modules/knowledge_curation.py#L95-L125",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F222"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20dspy%20for%20research%20dialogue%2C%20retrieval-pipeline%20initialization%20and%20streamed%20document%20querying&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F210"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import os\nimport dspy\n\ndspy.configure(lm=dspy.LM(os.environ['DSPY_MODEL']))\nanswer = dspy.Predict('question -> answer')\nprint(answer(question='What is a hash table?').answer)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://dspy.ai/current/getting-started/first-program/",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F215"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "llamaindex-core",
          "name": [
            {
              "t": "fact",
              "fact": "F225"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/run-llama/llama_index"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/llama-index-core"
            },
            {
              "label": "Docs",
              "href": "https://docs.llamaindex.ai/en/stable/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "LlamaIndex is a framework for applications that answer from a body of documents. The "
            },
            {
              "t": "code",
              "text": "llama-index-core"
            },
            {
              "t": "text",
              "text": " package contains the core classes, and models, embeddings, and vector stores come from separate integration packages. "
            },
            {
              "t": "code",
              "text": "SimpleDirectoryReader"
            },
            {
              "t": "text",
              "text": " loads files, "
            },
            {
              "t": "code",
              "text": "VectorStoreIndex"
            },
            {
              "t": "text",
              "text": " splits them into chunks and embeds them, and "
            },
            {
              "t": "code",
              "text": "as_query_engine"
            },
            {
              "t": "text",
              "text": " answers questions from the retrieved chunks. Indexes start in memory and persist to disk on request. Agents and event-driven workflows build on the same parts."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.llamaindex.ai/en/stable/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F225"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F34"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F35"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F36"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F37"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/open-webui/pipelines",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F238"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def pipe(\n    self, user_message: str, model_id: str, messages: List[dict], body: dict\n) -> Union[str, Generator, Iterator]:\n    # This is where you can add your custom RAG pipeline.\n    # Typically, you would retrieve relevant information from your knowledge base and synthesize it to generate a response.\n\n    print(messages)\n    print(user_message)\n\n    query_engine = self.index.as_query_engine(streaming=True)\n    response = query_engine.query(user_message)\n\n    return response.response_gen",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/open-webui/pipelines/blob/c7121bd904c15954b458eb2184ba77c379936284/examples/pipelines/rag/llamaindex_ollama_pipeline.py#L62-L74",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F237"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20llama-index-core%20for%20research%20dialogue%2C%20retrieval-pipeline%20initialization%20and%20streamed%20document%20querying&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F225"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import asyncio\nfrom llama_index.core.agent.workflow import FunctionAgent\nfrom llama_index.llms.openai import OpenAI\n# Define a simple calculator tool\ndef multiply(a: float, b: float) -> float:\n \"\"\"Useful for multiplying two numbers.\"\"\"\n return a * b\n# Create an agent workflow with our calculator tool\nagent = FunctionAgent(\n tools= [multiply],\n llm= OpenAI(model=\"gpt-4o-mini\"),\n system_prompt=\"You are a helpful assistant that can multiply two numbers.\",\n)\nasync def main():\n # Run the agent\n response = await agent.run(\"What is 1234 * 4567?\")\n print(str(response))\n# Run the agent\nif __name__ == \"__main__\":\n asyncio.run(main())\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://developers.llamaindex.ai/python/framework/getting_started/starter_example/",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F230"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "crewai",
          "name": [
            {
              "t": "fact",
              "fact": "F240"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/crewAIInc/crewAI"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/crewai"
            },
            {
              "label": "Docs",
              "href": "https://docs.crewai.com"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "CrewAI is a framework for multi-agent workflows in two forms. A crew groups agents, each with a role, a goal, and tools, and assigns them a list of tasks that run in a sequential or hierarchical process. Flows are event-driven sequences of steps that combine single model calls, plain code, and crews. The "
            },
            {
              "t": "code",
              "text": "crewai"
            },
            {
              "t": "text",
              "text": " command creates a project in which agents and tasks are defined in YAML files, and "
            },
            {
              "t": "code",
              "text": "kickoff"
            },
            {
              "t": "text",
              "text": " starts a run."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.crewai.com",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F240"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F275"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F276"
                }
              ]
            }
          ],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/Arindam200/awesome-ai-apps",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F255"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def build_crew(model_id: str, contract_text: str, party_perspective: str) -> Crew:\n    llm = build_llm(model_id)\n\n    extractor = Agent(\n        role=\"Contract Clause Extractor\",\n        goal=(\n            \"Identify, label, and quote every material clause from the \"\n            \"provided contract with precise references.\"\n        ),\n        backstory=(\n            \"You are a meticulous paralegal who has read thousands of \"\n            \"commercial contracts. You never paraphrase clauses when a \"\n            \"direct quote will do, and you never invent text that is not \"\n            \"in the document.\"\n        ),\n        llm=llm,\n        verbose=True,\n        allow_delegation=False,\n    )\n\n    risk_analyst = Agent(\n        role=\"Legal Risk Analyst\",\n        goal=(\n            f\"Score each extracted clause for risk from the perspective \"\n            f\"of {party_perspective}, using Low / Medium / High with a \"\n            f\"short rationale.\"\n        ),\n        backstory=(\n            \"You are a senior contracts attorney who specializes in \"\n            \"protecting your client from one-sided terms, unbounded \"\n            \"liability, and hidden operational obligations.\"\n        ),\n        llm=llm,\n        verbose=True,\n        allow_delegation=False,\n    )\n\n    reviewer = Agent(\n        role=\"Senior Paralegal Reviewer\",\n        goal=(\n            \"Produce a final contract review memo summarizing clauses, \"\n            \"risks, and redline recommendations.\"\n        ),\n        backstory=(\n            \"You consolidate the work of the extractor and risk analyst \"\n            \"into a clean, executive-ready memo with clear next steps.\"\n        ),\n        llm=llm,\n        verbose=True,\n        allow_delegation=False,\n    )\n\n    extract_task = Task(\n        description=(\n            \"You will receive the full text of a contract below. Extract \"\n            \"every material clause and map it to one of these categories:\\n\"\n            f\"{chr(10).join('- ' + c for c in CLAUSE_TYPES)}\\n\\n\"\n            \"For EACH clause produce:\\n\"\n            \"1. Category (from the list above, or 'Other')\\n\"\n            \"2. Section / heading reference as it appears in the contract\\n\"\n            \"3. A verbatim quote (<= 400 chars; truncate with ... if longer)\\n\"\n            \"4. A one-sentence plain-English summary\\n\\n\"\n            \"Return the result as a Markdown table with columns: \"\n            \"Category | Section | Quote | Summary.\\n\\n\"\n            \"CONTRACT TEXT:\\n\"\n            f\"\\\"\\\"\\\"\\n{contract_text}\\n\\\"\\\"\\\"\"\n        ),\n        expected_output=(\n            \"A Markdown table with one row per material clause.\"\n        ),\n        agent=extractor,\n    )\n\n    risk_task = Task(\n        description=(\n            \"Using the extracted clauses from the previous task, score \"\n            f\"each one for risk from the perspective of {party_perspective}. \"\n            \"Output a Markdown table with columns: \"\n            \"Category | Risk (Low/Medium/High) | Why it matters | \"\n            \"Suggested redline.\\n\\n\"\n            \"Scoring guidance:\\n\"\n            \"- High: uncapped/broad liability, one-sided indemnity, \"\n            \"auto-renewal without notice, IP assignment giveaways, \"\n            \"unilateral termination rights against our client, \"\n            \"unfavorable governing law, broad non-competes.\\n\"\n            \"- Medium: vague SLAs, ambiguous payment terms, \"\n            \"confidentiality carve-outs, assignment without consent.\\n\"\n            \"- Low: standard boilerplate with balanced terms.\\n\"\n            \"Finish with a single 'Overall Contract Risk' line: \"\n            \"Low / Medium / High, plus a 2-sentence justification.\"\n        ),\n        expected_output=(\n            \"A Markdown risk table followed by an overall risk rating.\"\n        ),\n        agent=risk_analyst,\n        context=[extract_task],\n    )\n\n    review_task = Task(\n        description=(\n            \"Write the final Contract Review Memo in Markdown with these \"\n            \"sections:\\n\"\n            \"1. **Executive Summary** (3-5 bullets: what this contract is, \"\n            \"key commercial terms, overall risk verdict).\\n\"\n            \"2. **Key Clauses** (table from the extractor, trimmed to the \"\n            \"most material rows).\\n\"\n            \"3. **Risk Assessment** (table from the risk analyst).\\n\"\n            \"4. **Recommended Redlines** (numbered list of the top 5-8 \"\n            \"changes to request, each with a one-line rationale).\\n\"\n            \"5. **Open Questions for Counsel** (bullets: anything you \"\n            \"cannot determine from the document alone).\\n\\n\"\n            f\"Client perspective: {party_perspective}.\\n\"\n            \"Never invent clauses that were not identified by the \"\n            \"extractor. Close the memo with a disclaimer that this is \"\n            \"an AI-generated review and not legal advice.\"\n        ),\n        expected_output=\"A complete Markdown review memo.\",\n        agent=reviewer,\n        context=[extract_task, risk_task],\n    )\n\n    return Crew(\n        agents=[extractor, risk_analyst, reviewer],\n        tasks=[extract_task, risk_task, review_task],\n        process=Process.sequential,\n        verbose=True,\n    )",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/Arindam200/awesome-ai-apps/blob/147939c6022029d2ea3caf425f46539df034e372/advance_ai_agents/paralegal_crew/crew.py#L31-L157",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F254"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=crewai%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F240"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import os\nfrom crewai import Agent, Task, Crew, Process\n\nagent = Agent(role='Explainer', goal='Explain programming concepts', backstory='You teach concise technical lessons.', llm=os.environ['CREWAI_MODEL'])\ntask = Task(description='Explain a hash table.', expected_output='A short explanation.', agent=agent)\nresult = Crew(agents=[agent], tasks=[task], process=Process.sequential).kickoff()\nprint(result.raw)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.crewai.com/en/concepts/crews",
                  "label": [
                    {
                      "t": "text",
                      "text": "crews.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F245"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python LLM library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#instructor",
          "label": [
            {
              "t": "text",
              "text": "Instructor"
            }
          ]
        },
        {
          "t": "text",
          "text": " returns typed data from a single model call. "
        },
        {
          "t": "link",
          "href": "#langchain",
          "label": [
            {
              "t": "text",
              "text": "LangChain"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#pydantic-ai-slim",
          "label": [
            {
              "t": "text",
              "text": "Pydantic AI"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#google-adk",
          "label": [
            {
              "t": "text",
              "text": "Google ADK"
            }
          ]
        },
        {
          "t": "text",
          "text": ", and "
        },
        {
          "t": "link",
          "href": "#crewai",
          "label": [
            {
              "t": "text",
              "text": "CrewAI"
            }
          ]
        },
        {
          "t": "text",
          "text": " build tool-calling agents, "
        },
        {
          "t": "link",
          "href": "#langgraph",
          "label": [
            {
              "t": "text",
              "text": "LangGraph"
            }
          ]
        },
        {
          "t": "text",
          "text": " runs long, stateful workflows, "
        },
        {
          "t": "link",
          "href": "#llamaindex-core",
          "label": [
            {
              "t": "text",
              "text": "LlamaIndex"
            }
          ]
        },
        {
          "t": "text",
          "text": " queries indexed documents, and "
        },
        {
          "t": "link",
          "href": "#dspy",
          "label": [
            {
              "t": "text",
              "text": "DSPy"
            }
          ]
        },
        {
          "t": "text",
          "text": " optimizes prompts against examples."
        }
      ]
    },
    {
      "q": "LangChain vs LangGraph: which should I use?",
      "a": [
        {
          "t": "text",
          "text": "LangChain builds an agent from a model, tools, and middleware with "
        },
        {
          "t": "code",
          "text": "create_agent"
        },
        {
          "t": "text",
          "text": ". LangGraph is the lower-level runtime underneath, where a workflow is a graph of nodes over shared state, with checkpoints that let a run pause for human input and resume."
        }
      ]
    },
    {
      "q": "LangChain vs LlamaIndex: what is the difference?",
      "a": [
        {
          "t": "text",
          "text": "LangChain centers on agents and a standard interface to models, tools, and vector stores. LlamaIndex centers on loading documents into indexes and querying them through retrievers and query engines, and it also builds agents and workflows."
        }
      ]
    },
    {
      "q": "Pydantic AI vs LangChain: which should I use?",
      "a": [
        {
          "t": "text",
          "text": "Pydantic AI, from the Pydantic team, runs a typed agent loop in which tools and outputs are Pydantic models and a model change is a string swap. LangChain composes agents from a model, tools, and middleware, with a separate integration package for each provider."
        }
      ]
    },
    {
      "q": "CrewAI vs LangChain: what is the difference?",
      "a": [
        {
          "t": "text",
          "text": "CrewAI groups agents with roles and goals into a crew that works through a list of tasks, and adds event-driven Flows for fixed steps. LangChain builds a single agent from a model and tools, and leaves multi-agent orchestration to LangGraph."
        }
      ]
    },
    {
      "q": "DSPy vs LangChain: what is the difference?",
      "a": [
        {
          "t": "text",
          "text": "DSPy declares each model task as a signature of typed inputs and outputs, and its optimizers tune the prompts against examples and a scoring function. LangChain prompts and agent instructions are written by hand."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, langchain",
      "display": "LangChain",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, langchain",
      "display": "155.2M",
      "asOf": "2026-11-16"
    },
    "F3": {
      "label": "License, langchain",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, langchain",
      "display": "1.5.0, Nov 2026",
      "asOf": "2026-11-11"
    },
    "F5": {
      "label": "Package release date, langchain",
      "display": "Nov 2026",
      "asOf": "2026-11-11"
    },
    "F6": {
      "label": "Repository stars, langchain",
      "display": "149.6K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Builds retrieval pipelines, langchain",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Calls model tools, langchain",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Streams responses, langchain",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Validates structured output, langchain",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, langchain",
      "display": "pip install -qU langchain \"langchain[openai]\"",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, langchain",
      "display": "Composes model calls, tools, and middleware into configurable agents and retrieval workflows.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, langchain",
      "display": "Creates customizable tool agents",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, langchain",
      "display": "Compose a model, tools, and middleware with create_agent.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, langchain",
      "display": "Validates structured agent responses",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, langchain",
      "display": "Declare a schema and receive validated data in structured_response.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, langchain",
      "display": "Provider integrations install separately",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, langchain",
      "display": "Install the package for the chosen model provider.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, langchain",
      "display": "JSON schemas need explicit strategies",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, langchain",
      "display": "Wrap schema dictionaries in ProviderStrategy or ToolStrategy.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, langchain",
      "display": "from langchain.agents import create_agent\n\ndef get_weather(city: str) -> str:\n    \"\"\"Get weather for a given city.\"\"\"\n    return f\"It's always sunny in {city}!\"\n\nagent = create_agent(\n    model=\"openai:gpt-6.1-sol\",\n    tools=[get_weather],\n    system_prompt=\"You are a helpful assistant\",\n)\n\nresult = agent.invoke(\n    {\"messages\": [{\"role\": \"user\", \"content\": \"What's the weather in San Francisco?\"}]}\n)\nprint(result[\"messages\"][-1].content_blocks)\n\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Library name, llama-index-core",
      "display": "LlamaIndex Core",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Monthly downloads, llama-index-core",
      "display": "5.5M",
      "asOf": "2026-11-16"
    },
    "F24": {
      "label": "License, llama-index-core",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Package release, llama-index-core",
      "display": "0.14.26, Nov 2026",
      "asOf": "2026-11-13"
    },
    "F26": {
      "label": "Package release date, llama-index-core",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F27": {
      "label": "Repository stars, llama-index-core",
      "display": "52.9K",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Builds retrieval pipelines, llama-index-core",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Calls model tools, llama-index-core",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Streams responses, llama-index-core",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Validates structured output, llama-index-core",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Install, llama-index-core",
      "display": "pip install llama-index-core llama-index-llms-ollama llama-index-embeddings-huggingface llama-index-readers-file transformers",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "What it does, llama-index-core",
      "display": "Structures application data into indexes, query engines, and tools for model-powered retrieval.",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "strengths lead, llama-index-core",
      "display": "Indexes documents for model queries",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "strengths, llama-index-core",
      "display": "Build an index and retrieve relevant context through a query engine.",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "strengths lead, llama-index-core",
      "display": "Wraps functions as agent tools",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "strengths, llama-index-core",
      "display": "Convert existing functions into tools with inferred schemas.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "limitations lead, llama-index-core",
      "display": "Streaming waits for earlier calls",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "limitations, llama-index-core",
      "display": "Earlier model calls finish before the final answer starts streaming.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "limitations lead, llama-index-core",
      "display": "Indexes start in memory",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "limitations, llama-index-core",
      "display": "Persist index storage to retain it after the process exits.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "Quickstart, llama-index-core",
      "display": "from llama_index.core import Settings, VectorStoreIndex, SimpleDirectoryReader\nfrom llama_index.embeddings.huggingface import HuggingFaceEmbedding\nfrom llama_index.llms.ollama import Ollama\nfrom transformers import AutoTokenizer\n\n# set the LLM\nSettings.llm = Ollama(\n    model=\"llama-3.1:latest\",\n    request_timeout=360.0,\n)\n\n# set tokenizer to match LLM\nSettings.tokenizer = AutoTokenizer.from_pretrained(\n    \"meta-llama/Llama-3.1-8B-Instruct\"\n)\n\n# set the embed model\nSettings.embed_model = HuggingFaceEmbedding(\n    model_name=\"BAAI/bge-small-en-v1.5\"\n)\n\ndocuments = SimpleDirectoryReader(\"YOUR_DATA_DIRECTORY\").load_data()\nindex = VectorStoreIndex.from_documents(\n    documents,\n)\n\nquery_engine = index.as_query_engine()\nquery_engine.query(\"YOUR_QUESTION\")\n",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "Project function, llama-index-core",
      "display": "def pipe(\n    self, user_message: str, model_id: str, messages: List[dict], body: dict\n) -> Union[str, Generator, Iterator]:\n    # This is where you can add your custom RAG pipeline.\n    # Typically, you would retrieve relevant information from your knowledge base and synthesize it to generate a response.\n\n    print(messages)\n    print(user_message)\n\n    query_engine = self.index.as_query_engine(streaming=True)\n    response = query_engine.query(user_message)\n\n    return response.response_gen\n",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "Project function reference, llama-index-core",
      "display": "llamaindex_ollama_pipeline.py · pipe()",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Project repository, llama-index-core",
      "display": "open-webui/pipelines",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Project stars, open-webui/pipelines",
      "display": "2.4K",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project push date, open-webui/pipelines",
      "display": "Oct 2026",
      "asOf": "2026-10-29"
    },
    "F48": {
      "label": "Library name, dspy",
      "display": "DSPy",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Monthly downloads, dspy",
      "display": "5.4M",
      "asOf": "2026-11-16"
    },
    "F50": {
      "label": "License, dspy",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Package release, dspy",
      "display": "3.5.0, Nov 2026",
      "asOf": "2026-11-10"
    },
    "F52": {
      "label": "Package release date, dspy",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F53": {
      "label": "Repository stars, dspy",
      "display": "39.1K",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Builds retrieval pipelines, dspy",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Calls model tools, dspy",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Streams responses, dspy",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Validates structured output, dspy",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Install, dspy",
      "display": "pip install dspy",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "What it does, dspy",
      "display": "Defines model tasks through typed signatures and composes modules that can be optimized against examples.",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "strengths lead, dspy",
      "display": "Defines tasks with typed signatures",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "strengths, dspy",
      "display": "Declare input and output fields instead of assembling prompts manually.",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "strengths lead, dspy",
      "display": "Optimizes prompts against a metric",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "strengths, dspy",
      "display": "Use examples and a scoring function to tune the program.",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "limitations lead, dspy",
      "display": "Optimization needs examples and metrics",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "limitations, dspy",
      "display": "Provide evaluation data and a scoring function before optimizing the program.",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "limitations lead, dspy",
      "display": "Cached streams skip token chunks",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "limitations, dspy",
      "display": "Cached results yield the final prediction rather than individual streamed tokens.",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "Quickstart, dspy",
      "display": "import asyncio\n\nimport dspy\n\nlm = dspy.LM(\"openai/gpt-4o-mini\", cache=False)\ndspy.configure(lm=lm)\n\n\nclass MyModule(dspy.Module):\n    def __init__(self):\n        super().__init__()\n\n        self.predict1 = dspy.Predict(\"question->answer\")\n        self.predict2 = dspy.Predict(\"answer->simplified_answer\")\n\n    def forward(self, question: str, **kwargs):\n        answer = self.predict1(question=question)\n        simplified_answer = self.predict2(answer=answer)\n        return simplified_answer\n\n\npredict = MyModule()\nstream_listeners = [\n    dspy.streaming.StreamListener(signature_field_name=\"answer\"),\n    dspy.streaming.StreamListener(signature_field_name=\"simplified_answer\"),\n]\nstream_predict = dspy.streamify(\n    predict,\n    stream_listeners=stream_listeners,\n)\n\nasync def read_output_stream():\n    output = stream_predict(question=\"why did a chicken cross the kitchen?\")\n\n    return_value = None\n    async for chunk in output:\n        if isinstance(chunk, dspy.streaming.StreamResponse):\n            print(chunk)\n        elif isinstance(chunk, dspy.Prediction):\n            return_value = chunk\n    return return_value\n\nprogram_output = asyncio.run(read_output_stream())\nprint(\"Final output: \", program_output)\n",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "Project function, dspy",
      "display": "def forward(\n    self,\n    topic: str,\n    persona: str,\n    dialogue_turns: List[DialogueTurn],\n    draft_page=None,\n):\n    conv = []\n    for turn in dialogue_turns[:-4]:\n        conv.append(\n            f\"You: {turn.user_utterance}\\nExpert: Omit the answer here due to space limit.\"\n        )\n    for turn in dialogue_turns[-4:]:\n        conv.append(\n            f\"You: {turn.user_utterance}\\nExpert: {ArticleTextProcessing.remove_citations(turn.agent_utterance)}\"\n        )\n    conv = \"\\n\".join(conv)\n    conv = conv.strip() or \"N/A\"\n    conv = ArticleTextProcessing.limit_word_count_preserve_newline(conv, 2500)\n\n    with dspy.settings.context(lm=self.engine):\n        if persona is not None and len(persona.strip()) > 0:\n            question = self.ask_question_with_persona(\n                topic=topic, persona=persona, conv=conv\n            ).question\n        else:\n            question = self.ask_question(\n                topic=topic, persona=persona, conv=conv\n            ).question\n\n    return dspy.Prediction(question=question)\n",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Project function reference, dspy",
      "display": "knowledge_curation.py · forward()",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Project repository, dspy",
      "display": "stanford-oval/storm",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project stars, stanford-oval/storm",
      "display": "31.9K",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project push date, stanford-oval/storm",
      "display": "Sep 2025",
      "asOf": "2025-09-30"
    },
    "F74": {
      "label": "Library name, haystack-ai",
      "display": "Haystack",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Monthly downloads, haystack-ai",
      "display": "614.3K",
      "asOf": "2026-11-16"
    },
    "F76": {
      "label": "License, haystack-ai",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Package release, haystack-ai",
      "display": "3.5.0, Nov 2026",
      "asOf": "2026-11-10"
    },
    "F78": {
      "label": "Package release date, haystack-ai",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F79": {
      "label": "Repository stars, haystack-ai",
      "display": "27.0K",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Builds retrieval pipelines, haystack-ai",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Calls model tools, haystack-ai",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Streams responses, haystack-ai",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Validates structured output, haystack-ai",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Install, haystack-ai",
      "display": "pip install haystack-ai",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "What it does, haystack-ai",
      "display": "Connects reusable components into retrieval pipelines, tool agents, and model-powered search systems.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "strengths lead, haystack-ai",
      "display": "Connects branching and looping pipelines",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths, haystack-ai",
      "display": "Combine components into branches, loops, and retrieval workflows.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths lead, haystack-ai",
      "display": "Runs independent components concurrently",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths, haystack-ai",
      "display": "Use async execution to run components in parallel when dependencies allow.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "limitations lead, haystack-ai",
      "display": "Synchronous runs execute components sequentially",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations, haystack-ai",
      "display": "Use run_async when independent components should run concurrently.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations lead, haystack-ai",
      "display": "Custom modules need explicit permission",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "limitations, haystack-ai",
      "display": "Allow custom modules before loading pipelines that reference them.",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Quickstart, haystack-ai",
      "display": "from haystack import Pipeline\nfrom haystack.components.generators.chat import OpenAIResponsesChatGenerator\nfrom haystack.components.joiners import BranchJoiner\nfrom haystack.components.validators import JsonSchemaValidator\nfrom haystack import component\nfrom haystack.dataclasses import ChatMessage\n\n\n@component\nclass MessageProducer:\n\n    @component.output_types(messages=list[ChatMessage])\n    def run(self, messages: list[ChatMessage]) -> dict:\n        return {\"messages\": messages}\n\n\np = Pipeline()\np.add_component(\n    \"llm\", OpenAIResponsesChatGenerator(generation_kwargs={\"text\": {\"format\": {\"type\": \"json_object\"}}})\n)\np.add_component(\"schema_validator\", JsonSchemaValidator())\np.add_component(\"joiner_for_llm\", BranchJoiner(list[ChatMessage]))\np.add_component(\"message_producer\", MessageProducer())\n\np.connect(\"message_producer.messages\", \"joiner_for_llm\")\np.connect(\"joiner_for_llm\", \"llm\")\np.connect(\"llm.replies\", \"schema_validator.messages\")\np.connect(\"schema_validator.validation_error\", \"joiner_for_llm\")\n\nresult = p.run(data={\n    \"message_producer\": {\n        \"messages\":[ChatMessage.from_user(\"Generate JSON for person with name 'John' and age 30\")]},\n        \"schema_validator\": {\n            \"json_schema\": {\n                \"type\": \"object\",\n                \"properties\": {\"name\": {\"type\": \"string\"},\n                \"age\": {\"type\": \"integer\"}\n            }\n        }\n    }\n})\nprint(result)\n# >> {'schema_validator': {'validated': [ChatMessage(_role=<ChatRole.ASSISTANT: 'assistant'>,\n# _content=[TextContent(text=\"\\\\n{\\\\n  \"name\": \"John\",\\\\n  \"age\": 30\\\\n}\")],\n# _name=None, _meta={'index': 0, 'finish_reason': 'stop', 'usage': {'completion_tokens': 17, 'prompt_tokens': 20,\n# 'total_tokens': 37}})]}}\n",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Project function, haystack-ai",
      "display": "async def on_startup(self):\n    os.environ[\"OPENAI_API_KEY\"] = \"your_openai_api_key_here\"\n\n    from haystack.components.embedders import SentenceTransformersDocumentEmbedder\n    from haystack.components.embedders import SentenceTransformersTextEmbedder\n    from haystack.components.retrievers.in_memory import InMemoryEmbeddingRetriever\n    from haystack.components.builders import PromptBuilder\n    from haystack.components.generators import OpenAIGenerator\n\n    from haystack.document_stores.in_memory import InMemoryDocumentStore\n\n    from datasets import load_dataset\n    from haystack import Document\n    from haystack import Pipeline\n\n    document_store = InMemoryDocumentStore()\n\n    dataset = load_dataset(\"bilgeyucel/seven-wonders\", split=\"train\")\n    docs = [Document(content=doc[\"content\"], meta=doc[\"meta\"]) for doc in dataset]\n\n    doc_embedder = SentenceTransformersDocumentEmbedder(\n        model=\"sentence-transformers/all-MiniLM-L6-v2\"\n    )\n    doc_embedder.warm_up()\n\n    docs_with_embeddings = doc_embedder.run(docs)\n    document_store.write_documents(docs_with_embeddings[\"documents\"])\n\n    text_embedder = SentenceTransformersTextEmbedder(\n        model=\"sentence-transformers/all-MiniLM-L6-v2\"\n    )\n\n    retriever = InMemoryEmbeddingRetriever(document_store)\n\n    template = \"\"\"\n    Given the following information, answer the question.\n\n    Context:\n    {% for document in documents %}\n        {{ document.content }}\n    {% endfor %}\n\n    Question: {{question}}\n    Answer:\n    \"\"\"\n\n    prompt_builder = PromptBuilder(template=template)\n\n    generator = OpenAIGenerator(model=\"gpt-3.5-turbo\")\n\n    self.basic_rag_pipeline = Pipeline()\n    # Add components to your pipeline\n    self.basic_rag_pipeline.add_component(\"text_embedder\", text_embedder)\n    self.basic_rag_pipeline.add_component(\"retriever\", retriever)\n    self.basic_rag_pipeline.add_component(\"prompt_builder\", prompt_builder)\n    self.basic_rag_pipeline.add_component(\"llm\", generator)\n\n    # Now, connect the components to each other\n    self.basic_rag_pipeline.connect(\n        \"text_embedder.embedding\", \"retriever.query_embedding\"\n    )\n    self.basic_rag_pipeline.connect(\"retriever\", \"prompt_builder.documents\")\n    self.basic_rag_pipeline.connect(\"prompt_builder\", \"llm\")\n\n    pass\n",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Project function reference, haystack-ai",
      "display": "haystack_pipeline.py · on_startup()",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Project repository, haystack-ai",
      "display": "open-webui/pipelines",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Project stars, open-webui/pipelines",
      "display": "2.4K",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Project push date, open-webui/pipelines",
      "display": "Oct 2026",
      "asOf": "2026-10-29"
    },
    "F100": {
      "label": "Developer need",
      "display": "Custom tool-calling agents",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Why choose langchain",
      "display": "model, tool, and middleware composition",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need in introduction",
      "display": "custom tool-calling agents",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need",
      "display": "Document indexing and querying",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Why choose llama-index-core",
      "display": "data indexes with query-engine interfaces",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need in introduction",
      "display": "document indexing and querying",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "When to consider haystack-ai",
      "display": "explicit component branches and loops define the workflow",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need",
      "display": "Explicit branching retrieval pipelines",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Why choose haystack-ai",
      "display": "reusable components with graph wiring",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need in introduction",
      "display": "explicit branching retrieval pipelines",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need",
      "display": "Optimizing against evaluation examples",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Why choose dspy",
      "display": "prompt tuning against a scoring function",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Developer need in introduction",
      "display": "optimizing against evaluation examples",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Page introduction",
      "display": "Python LLM libraries let application developers connect language-model calls and tools to applications.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Which Python LLM framework should I choose?",
      "display": "LangChain composes custom agents from a model, tools, and middleware.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Which Python LLM framework should I choose?",
      "display": "LlamaIndex supplies data indexes and a retrieval/query interface.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Which Python LLM framework should I choose?",
      "display": "Haystack connects components into branching or looping pipelines.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Which Python LLM framework should I choose?",
      "display": "DSPy tunes programs against examples and a scoring function.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Does installing a framework include every model-provider integration?",
      "display": "LangChain providers commonly have dedicated integration packages.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Does installing a framework include every model-provider integration?",
      "display": "LlamaIndex Core is installed alongside the selected model and embedding integrations.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Is structured output the same as exporting a file?",
      "display": "LangChain validates structured responses and returns them in agent state.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Is structured output the same as exporting a file?",
      "display": "DSPy can separately save program state to a JSON file.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Why does a LlamaIndex stream start after other model calls finish?",
      "display": "When a query engine makes several model calls, only the last call is streamed.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Will a LlamaIndex index survive an application restart?",
      "display": "Default storage is in memory; persist the storage context to keep the index on disk.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Does a synchronous Haystack pipeline run independent components in parallel?",
      "display": "Synchronous run executes components sequentially; use an async method for dependency-aware concurrency.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Why can a saved Haystack pipeline reject my custom components?",
      "display": "Custom modules must be included in the deserialization allowlist before the pipeline loads.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Why does a repeated DSPy request skip streamed tokens?",
      "display": "A cached result yields the final Prediction without individual token chunks.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "Library name, langchain",
      "display": "LangChain",
      "asOf": "2026-11-19"
    },
    "F128": {
      "label": "Monthly downloads, langchain",
      "display": "156.9M",
      "asOf": "2026-11-19"
    },
    "F129": {
      "label": "License, langchain",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F130": {
      "label": "Package release, langchain",
      "display": "1.5.0",
      "asOf": "2026-11-19"
    },
    "F131": {
      "label": "Package release date, langchain",
      "display": "Nov 2026",
      "asOf": "2026-11-19"
    },
    "F132": {
      "label": "Install, langchain",
      "display": "pip install -U \"langchain[openai]\"",
      "asOf": "2026-11-19"
    },
    "F133": {
      "label": "Quickstart, langchain",
      "display": "from langchain.chat_models import init_chat_model\n\nmodel = init_chat_model(\"gpt-6.1-sol\")\nresponse = model.invoke(\"Why do parrots have colorful feathers?\")\nprint(response)\n",
      "asOf": "2026-11-19"
    },
    "F134": {
      "label": "Repository stars, langchain",
      "display": "149.6K",
      "asOf": "2026-11-19"
    },
    "F135": {
      "label": "Agent tool-execution workflows, langchain",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F136": {
      "label": "Native human input or approval, langchain",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F137": {
      "label": "Execution abstraction, langchain",
      "display": "Prebuilt model/tool agents with middleware",
      "asOf": "2026-11-19"
    },
    "F138": {
      "label": "Project function, langchain",
      "display": "async def write_research_brief(state: AgentState, config: RunnableConfig) -> Command[Literal[\"research_supervisor\"]]:\n    \"\"\"Transform user messages into a structured research brief and initialize supervisor.\n\n    This function analyzes the user's messages and generates a focused research brief\n    that will guide the research supervisor. It also sets up the initial supervisor\n    context with appropriate prompts and instructions.\n\n    Args:\n        state: Current agent state containing user messages\n        config: Runtime configuration with model settings\n\n    Returns:\n        Command to proceed to research supervisor with initialized context\n    \"\"\"\n    # Step 1: Set up the research model for structured output\n    configurable = Configuration.from_runnable_config(config)\n    research_model_config = {\n        \"model\": configurable.research_model,\n        \"max_tokens\": configurable.research_model_max_tokens,\n        \"api_key\": get_api_key_for_model(configurable.research_model, config),\n        \"tags\": [\"langsmith:nostream\"]\n    }\n\n    # Configure model for structured research question generation\n    research_model = (\n        configurable_model\n        .with_structured_output(ResearchQuestion)\n        .with_retry(stop_after_attempt=configurable.max_structured_output_retries)\n        .with_config(research_model_config)\n    )\n\n    # Step 2: Generate structured research brief from user messages\n    prompt_content = transform_messages_into_research_topic_prompt.format(\n        messages=get_buffer_string(state.get(\"messages\", [])),\n        date=get_today_str()\n    )\n    response = await research_model.ainvoke([HumanMessage(content=prompt_content)])\n\n    # Step 3: Initialize supervisor with research brief and instructions\n    supervisor_system_prompt = lead_researcher_prompt.format(\n        date=get_today_str(),\n        max_concurrent_research_units=configurable.max_concurrent_research_units,\n        max_researcher_iterations=configurable.max_researcher_iterations\n    )\n\n    return Command(\n        goto=\"research_supervisor\", \n        update={\n            \"research_brief\": response.research_brief,\n            \"supervisor_messages\": {\n                \"type\": \"override\",\n                \"value\": [\n                    SystemMessage(content=supervisor_system_prompt),\n                    HumanMessage(content=response.research_brief)\n                ]\n            }\n        }\n    )",
      "asOf": "2026-11-19"
    },
    "F139": {
      "label": "Project source file, langchain",
      "display": "src/open_deep_research/deep_researcher.py",
      "asOf": "2026-11-19"
    },
    "F140": {
      "label": "Project full_name, langchain",
      "display": "langchain-ai/open_deep_research",
      "asOf": "2026-11-19"
    },
    "F141": {
      "label": "Project stargazers_count, langchain",
      "display": "12.7K",
      "asOf": "2026-11-19"
    },
    "F142": {
      "label": "Library name, langgraph",
      "display": "LangGraph",
      "asOf": "2026-11-19"
    },
    "F143": {
      "label": "Monthly downloads, langgraph",
      "display": "60.4M",
      "asOf": "2026-11-19"
    },
    "F144": {
      "label": "License, langgraph",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F145": {
      "label": "Package release, langgraph",
      "display": "1.2.22",
      "asOf": "2026-11-19"
    },
    "F146": {
      "label": "Package release date, langgraph",
      "display": "Nov 2026",
      "asOf": "2026-11-19"
    },
    "F147": {
      "label": "Install, langgraph",
      "display": "pip install langgraph",
      "asOf": "2026-11-19"
    },
    "F148": {
      "label": "Quickstart, langgraph",
      "display": "from typing_extensions import TypedDict\nfrom langgraph.graph import StateGraph, START, END\n\nclass State(TypedDict):\n    message: str\n\nbuilder = StateGraph(State)\nbuilder.add_node('echo', lambda state: {'message': state['message']})\nbuilder.add_edge(START, 'echo')\nbuilder.add_edge('echo', END)\nprint(builder.compile().invoke({'message': 'hello'}))\n",
      "asOf": "2026-11-19"
    },
    "F149": {
      "label": "Official description, langgraph",
      "display": "Building stateful, multi-actor applications with LLMs",
      "asOf": "2026-11-19"
    },
    "F150": {
      "label": "Quickstart source file, langgraph",
      "display": "graph-api (API recipe)",
      "asOf": "2026-11-19"
    },
    "F151": {
      "label": "Repository stars, langgraph",
      "display": "45.1K",
      "asOf": "2026-11-19"
    },
    "F152": {
      "label": "Agent tool-execution workflows, langgraph",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F153": {
      "label": "Native human input or approval, langgraph",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F154": {
      "label": "Execution abstraction, langgraph",
      "display": "Explicit state graph with checkpoint/interrupt lifecycle",
      "asOf": "2026-11-19"
    },
    "F155": {
      "label": "Project function, langgraph",
      "display": "def _create_workflow(self, agents):\n    workflow = StateGraph(ResearchState)\n\n    # Add nodes for each agent\n    workflow.add_node(\"browser\", agents[\"research\"].run_initial_research)\n    workflow.add_node(\"planner\", agents[\"editor\"].plan_research)\n    workflow.add_node(\"researcher\", agents[\"editor\"].run_parallel_research)\n    workflow.add_node(\"writer\", agents[\"writer\"].run)\n    workflow.add_node(\"fact_checker\", agents[\"fact_checker\"].run)\n    workflow.add_node(\"visualizer\", agents[\"visualizer\"].run)\n    workflow.add_node(\"publisher\", agents[\"publisher\"].run)\n    workflow.add_node(\"human\", agents[\"human\"].review_plan)\n\n    # Add edges\n    self._add_workflow_edges(workflow)\n\n    return workflow",
      "asOf": "2026-11-19"
    },
    "F156": {
      "label": "Project source file, langgraph",
      "display": "multi_agents/agents/orchestrator.py",
      "asOf": "2026-11-19"
    },
    "F157": {
      "label": "Project full_name, langgraph",
      "display": "assafelovic/gpt-researcher",
      "asOf": "2026-11-19"
    },
    "F158": {
      "label": "Project stargazers_count, langgraph",
      "display": "30.7K",
      "asOf": "2026-11-19"
    },
    "F159": {
      "label": "Library name, pydantic-ai-slim",
      "display": "Pydantic AI",
      "asOf": "2026-11-19"
    },
    "F160": {
      "label": "Monthly downloads, pydantic-ai-slim",
      "display": "36.2M",
      "asOf": "2026-11-19"
    },
    "F161": {
      "label": "License, pydantic-ai-slim",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F162": {
      "label": "Package release, pydantic-ai-slim",
      "display": "2.68.0",
      "asOf": "2026-11-19"
    },
    "F163": {
      "label": "Package release date, pydantic-ai-slim",
      "display": "Nov 2026",
      "asOf": "2026-11-19"
    },
    "F164": {
      "label": "Install, pydantic-ai-slim",
      "display": "pip install \"pydantic-ai-slim[openai]\"",
      "asOf": "2026-11-19"
    },
    "F165": {
      "label": "Quickstart, pydantic-ai-slim",
      "display": "from pydantic_ai import Agent, AgentRunResultEvent, AgentStreamEvent\n\nagent = Agent('openai:gpt-6.1-sol')\n\nresult_sync = agent.run_sync('What is the capital of Italy?')\nprint(result_sync.output)\n#> The capital of Italy is Rome.\n",
      "asOf": "2026-11-19"
    },
    "F166": {
      "label": "Official description, pydantic-ai-slim",
      "display": "AI Agent Framework, the Pydantic way, slim package",
      "asOf": "2026-11-19"
    },
    "F167": {
      "label": "Quickstart source file, pydantic-ai-slim",
      "display": "agents/ (initial synchronous execution section)",
      "asOf": "2026-11-19"
    },
    "F168": {
      "label": "Repository stars, pydantic-ai-slim",
      "display": "21.3K",
      "asOf": "2026-11-19"
    },
    "F169": {
      "label": "Agent tool-execution workflows, pydantic-ai-slim",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F170": {
      "label": "Native human input or approval, pydantic-ai-slim",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F171": {
      "label": "Distribution boundary, pydantic-ai-slim",
      "display": "Slim runtime with optional provider extras",
      "asOf": "2026-11-19"
    },
    "F172": {
      "label": "Project function, pydantic-ai-slim",
      "display": "@agent\ndef web_research_agent() -> Agent:\n    \"\"\"Pydantic AI Web Research Agent.\"\"\"\n\n    async def execute(state: AgentState) -> AgentState:\n        async with agent_bridge(state) as bridge:\n            agent = PydanticAgent(\n                _pydantic_bridge_model(),\n                capabilities=[WebSearch()],\n                system_prompt=\"You help users find information by searching the web.\",\n                output_type=AnswerToQueryOutput,\n                retries={\"output\": 3},\n            )\n\n            result = await agent.run(user_prompt(state.messages).text)\n\n            # capture the typed result as the completion (as the final\n            # assistant message includes on the `final_answer()` tool\n            # call that PydanticAI uses to report its answer\n            bridge.state.output.completion = result.output.model_dump_json()\n\n            return bridge.state\n\n    return execute",
      "asOf": "2026-11-19"
    },
    "F173": {
      "label": "Project source file, pydantic-ai-slim",
      "display": "examples/bridge/pydantic-ai/agent.py",
      "asOf": "2026-11-19"
    },
    "F174": {
      "label": "Project full_name, pydantic-ai-slim",
      "display": "UKGovernmentBEIS/inspect_ai",
      "asOf": "2026-11-19"
    },
    "F175": {
      "label": "Project stargazers_count, pydantic-ai-slim",
      "display": "3.3K",
      "asOf": "2026-11-19"
    },
    "F176": {
      "label": "Library name, google-adk",
      "display": "Google ADK",
      "asOf": "2026-11-19"
    },
    "F177": {
      "label": "Monthly downloads, google-adk",
      "display": "10.9M",
      "asOf": "2026-11-19"
    },
    "F178": {
      "label": "License, google-adk",
      "display": "Apache-2.0",
      "asOf": "2026-11-19"
    },
    "F179": {
      "label": "Package release, google-adk",
      "display": "2.14.1",
      "asOf": "2026-11-19"
    },
    "F180": {
      "label": "Package release date, google-adk",
      "display": "Nov 2026",
      "asOf": "2026-11-19"
    },
    "F181": {
      "label": "Install, google-adk",
      "display": "pip install google-adk",
      "asOf": "2026-11-19"
    },
    "F182": {
      "label": "Quickstart, google-adk",
      "display": "import asyncio\nimport os\nfrom google.adk.agents import Agent\nfrom google.adk.runners import InMemoryRunner\n\nasync def main():\n    agent = Agent(name='assistant', model=os.environ['GEMINI_MODEL'], instruction='Answer briefly.')\n    runner = InMemoryRunner(agent=agent)\n    await runner.run_debug('Hello')\n\nasyncio.run(main())\n",
      "asOf": "2026-11-19"
    },
    "F183": {
      "label": "Official description, google-adk",
      "display": "Agent Development Kit",
      "asOf": "2026-11-19"
    },
    "F184": {
      "label": "Quickstart source file, google-adk",
      "display": "src/google/adk/runners.py (public run_debug example/API recipe)",
      "asOf": "2026-11-19"
    },
    "F185": {
      "label": "Repository stars, google-adk",
      "display": "22.3K",
      "asOf": "2026-11-19"
    },
    "F186": {
      "label": "Agent tool-execution workflows, google-adk",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F187": {
      "label": "Native human input or approval, google-adk",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F188": {
      "label": "Beginner versus production execution, google-adk",
      "display": "run_debug versus run_async",
      "asOf": "2026-11-19"
    },
    "F189": {
      "label": "Project function, google-adk",
      "display": "async def call_agent_async(query):\n    content = types.Content(role='user', parts=[types.Part(text=query)])\n    session, runner = await setup_session_and_runner()\n    events = runner.run_async(user_id=USER_ID, session_id=SESSION_ID, new_message=content)\n\n    async for event in events:\n        if event.is_final_response() and event.content and event.content.parts:\n            final_response = event.content.parts[0].text\n            print(\"Agent Response: \", final_response)",
      "asOf": "2026-11-19"
    },
    "F190": {
      "label": "Project source file, google-adk",
      "display": "examples/python/snippets/tools/overview/customer_support_agent.py",
      "asOf": "2026-11-19"
    },
    "F191": {
      "label": "Project full_name, google-adk",
      "display": "google/adk-docs",
      "asOf": "2026-11-19"
    },
    "F192": {
      "label": "Project stargazers_count, google-adk",
      "display": "1.5K",
      "asOf": "2026-11-19"
    },
    "F193": {
      "label": "Library name, instructor",
      "display": "Instructor",
      "asOf": "2026-11-19"
    },
    "F194": {
      "label": "Monthly downloads, instructor",
      "display": "10.1M",
      "asOf": "2026-11-19"
    },
    "F195": {
      "label": "License, instructor",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F196": {
      "label": "Package release, instructor",
      "display": "1.17.0",
      "asOf": "2026-11-19"
    },
    "F197": {
      "label": "Package release date, instructor",
      "display": "Sep 2026",
      "asOf": "2026-11-19"
    },
    "F198": {
      "label": "Install, instructor",
      "display": "pip install instructor",
      "asOf": "2026-11-19"
    },
    "F199": {
      "label": "Quickstart, instructor",
      "display": "import instructor\nfrom pydantic import BaseModel\n\n\n# Define what you want\nclass User(BaseModel):\n name: str\n age: int\n\n\n# Extract it from natural language\nclient = instructor.from_provider(\"openai/gpt-4o-mini\")\nuser = client.chat.completions.create(\n response_model=User,\n messages=[{\"role\": \"user\", \"content\": \"John is 25 years old\"}],\n)\n\nprint(user) # User(name='John', age=25)\n",
      "asOf": "2026-11-19"
    },
    "F200": {
      "label": "Official description, instructor",
      "display": "structured outputs for llm",
      "asOf": "2026-11-19"
    },
    "F201": {
      "label": "Quickstart source file, instructor",
      "display": "info.description (published package introductory snippet)",
      "asOf": "2026-11-19"
    },
    "F202": {
      "label": "Repository stars, instructor",
      "display": "14.1K",
      "asOf": "2026-11-19"
    },
    "F203": {
      "label": "Agent tool-execution workflows, instructor",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F204": {
      "label": "Native human input or approval, instructor",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F205": {
      "label": "Execution abstraction, instructor",
      "display": "Provider client plus typed Pydantic extraction/validation",
      "asOf": "2026-11-19"
    },
    "F206": {
      "label": "Project function, instructor",
      "display": "@coco.fn(memo=True)\nasync def extract_relationships(content: str) -> list[Triple]:\n    client = cast(\n        instructor.AsyncInstructor,\n        instructor.from_litellm(litellm.acompletion, mode=instructor.Mode.JSON),\n    )\n    result = await client.chat.completions.create(\n        model=coco.use_context(LLM_MODEL),\n        response_model=RelationshipList,\n        messages=[\n            {\"role\": \"system\", \"content\": RELATIONSHIP_PROMPT},\n            {\"role\": \"user\", \"content\": content},\n        ],\n    )\n    validated = RelationshipList.model_validate(result.model_dump())\n    return [Triple(r.subject, r.predicate, r.object) for r in validated.relationships]",
      "asOf": "2026-11-19"
    },
    "F207": {
      "label": "Project source file, instructor",
      "display": "examples/docs_to_knowledge_graph/main.py",
      "asOf": "2026-11-19"
    },
    "F208": {
      "label": "Project full_name, instructor",
      "display": "cocoindex-io/cocoindex",
      "asOf": "2026-11-19"
    },
    "F209": {
      "label": "Project stargazers_count, instructor",
      "display": "11.9K",
      "asOf": "2026-11-19"
    },
    "F210": {
      "label": "Library name, dspy",
      "display": "DSPy",
      "asOf": "2026-11-19"
    },
    "F211": {
      "label": "Monthly downloads, dspy",
      "display": "5.8M",
      "asOf": "2026-11-19"
    },
    "F212": {
      "label": "License, dspy",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F213": {
      "label": "Package release, dspy",
      "display": "3.5.0",
      "asOf": "2026-11-19"
    },
    "F214": {
      "label": "Package release date, dspy",
      "display": "Nov 2026",
      "asOf": "2026-11-19"
    },
    "F215": {
      "label": "Install, dspy",
      "display": "pip install dspy",
      "asOf": "2026-11-19"
    },
    "F216": {
      "label": "Quickstart, dspy",
      "display": "import os\nimport dspy\n\ndspy.configure(lm=dspy.LM(os.environ['DSPY_MODEL']))\nanswer = dspy.Predict('question -> answer')\nprint(answer(question='What is a hash table?').answer)\n",
      "asOf": "2026-11-19"
    },
    "F217": {
      "label": "Repository stars, dspy",
      "display": "39.1K",
      "asOf": "2026-11-19"
    },
    "F218": {
      "label": "Agent tool-execution workflows, dspy",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F219": {
      "label": "Native human input or approval, dspy",
      "display": "Undocumented",
      "asOf": "2026-11-19"
    },
    "F220": {
      "label": "Program optimization, dspy",
      "display": "Automatic optimization through named optimizer APIs",
      "asOf": "2026-11-19"
    },
    "F221": {
      "label": "Project function, dspy",
      "display": "def forward(\n    self,\n    topic: str,\n    persona: str,\n    dialogue_turns: List[DialogueTurn],\n    draft_page=None,\n):\n    conv = []\n    for turn in dialogue_turns[:-4]:\n        conv.append(\n            f\"You: {turn.user_utterance}\\nExpert: Omit the answer here due to space limit.\"\n        )\n    for turn in dialogue_turns[-4:]:\n        conv.append(\n            f\"You: {turn.user_utterance}\\nExpert: {ArticleTextProcessing.remove_citations(turn.agent_utterance)}\"\n        )\n    conv = \"\\n\".join(conv)\n    conv = conv.strip() or \"N/A\"\n    conv = ArticleTextProcessing.limit_word_count_preserve_newline(conv, 2500)\n\n    with dspy.settings.context(lm=self.engine):\n        if persona is not None and len(persona.strip()) > 0:\n            question = self.ask_question_with_persona(\n                topic=topic, persona=persona, conv=conv\n            ).question\n        else:\n            question = self.ask_question(\n                topic=topic, persona=persona, conv=conv\n            ).question\n\n    return dspy.Prediction(question=question)",
      "asOf": "2026-11-19"
    },
    "F222": {
      "label": "Project source file, dspy",
      "display": "knowledge_storm/storm_wiki/modules/knowledge_curation.py",
      "asOf": "2026-11-19"
    },
    "F223": {
      "label": "Project full_name, dspy",
      "display": "stanford-oval/storm",
      "asOf": "2026-11-19"
    },
    "F224": {
      "label": "Project stargazers_count, dspy",
      "display": "31.9K",
      "asOf": "2026-11-19"
    },
    "F225": {
      "label": "Library name, llama-index-core",
      "display": "LlamaIndex Core",
      "asOf": "2026-11-19"
    },
    "F226": {
      "label": "Monthly downloads, llama-index-core",
      "display": "5.7M",
      "asOf": "2026-11-19"
    },
    "F227": {
      "label": "License, llama-index-core",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F228": {
      "label": "Package release, llama-index-core",
      "display": "0.14.26",
      "asOf": "2026-11-19"
    },
    "F229": {
      "label": "Package release date, llama-index-core",
      "display": "Nov 2026",
      "asOf": "2026-11-19"
    },
    "F230": {
      "label": "Install, llama-index-core",
      "display": "pip install llama-index-core llama-index-llms-openai",
      "asOf": "2026-11-19"
    },
    "F231": {
      "label": "Quickstart, llama-index-core",
      "display": "import asyncio\nfrom llama_index.core.agent.workflow import FunctionAgent\nfrom llama_index.llms.openai import OpenAI\n# Define a simple calculator tool\ndef multiply(a: float, b: float) -> float:\n \"\"\"Useful for multiplying two numbers.\"\"\"\n return a * b\n# Create an agent workflow with our calculator tool\nagent = FunctionAgent(\n tools= [multiply],\n llm= OpenAI(model=\"gpt-4o-mini\"),\n system_prompt=\"You are a helpful assistant that can multiply two numbers.\",\n)\nasync def main():\n # Run the agent\n response = await agent.run(\"What is 1234 * 4567?\")\n print(str(response))\n# Run the agent\nif __name__ == \"__main__\":\n asyncio.run(main())\n",
      "asOf": "2026-11-19"
    },
    "F232": {
      "label": "Repository stars, llama-index-core",
      "display": "53.0K",
      "asOf": "2026-11-19"
    },
    "F233": {
      "label": "Agent tool-execution workflows, llama-index-core",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F234": {
      "label": "Native human input or approval, llama-index-core",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F235": {
      "label": "Data/index abstraction, llama-index-core",
      "display": "Document indexes, retrievers, and query engines",
      "asOf": "2026-11-19"
    },
    "F236": {
      "label": "Project function, llama-index-core",
      "display": "def pipe(\n    self, user_message: str, model_id: str, messages: List[dict], body: dict\n) -> Union[str, Generator, Iterator]:\n    # This is where you can add your custom RAG pipeline.\n    # Typically, you would retrieve relevant information from your knowledge base and synthesize it to generate a response.\n\n    print(messages)\n    print(user_message)\n\n    query_engine = self.index.as_query_engine(streaming=True)\n    response = query_engine.query(user_message)\n\n    return response.response_gen",
      "asOf": "2026-11-19"
    },
    "F237": {
      "label": "Project source file, llama-index-core",
      "display": "examples/pipelines/rag/llamaindex_ollama_pipeline.py",
      "asOf": "2026-11-19"
    },
    "F238": {
      "label": "Project full_name, llama-index-core",
      "display": "open-webui/pipelines",
      "asOf": "2026-11-19"
    },
    "F239": {
      "label": "Project stargazers_count, llama-index-core",
      "display": "2.4K",
      "asOf": "2026-11-19"
    },
    "F240": {
      "label": "Library name, crewai",
      "display": "CrewAI",
      "asOf": "2026-11-19"
    },
    "F241": {
      "label": "Monthly downloads, crewai",
      "display": "2.6M",
      "asOf": "2026-11-19"
    },
    "F242": {
      "label": "License, crewai",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F243": {
      "label": "Package release, crewai",
      "display": "1.15.41",
      "asOf": "2026-11-19"
    },
    "F244": {
      "label": "Package release date, crewai",
      "display": "Nov 2026",
      "asOf": "2026-11-19"
    },
    "F245": {
      "label": "Install, crewai",
      "display": "pip install crewai",
      "asOf": "2026-11-19"
    },
    "F246": {
      "label": "Quickstart, crewai",
      "display": "import os\nfrom crewai import Agent, Task, Crew, Process\n\nagent = Agent(role='Explainer', goal='Explain programming concepts', backstory='You teach concise technical lessons.', llm=os.environ['CREWAI_MODEL'])\ntask = Task(description='Explain a hash table.', expected_output='A short explanation.', agent=agent)\nresult = Crew(agents=[agent], tasks=[task], process=Process.sequential).kickoff()\nprint(result.raw)\n",
      "asOf": "2026-11-19"
    },
    "F247": {
      "label": "Official description, crewai",
      "display": "Cutting-edge framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.",
      "asOf": "2026-11-19"
    },
    "F248": {
      "label": "Quickstart source file, crewai",
      "display": "concepts/agents, tasks, and crews (API recipe)",
      "asOf": "2026-11-19"
    },
    "F249": {
      "label": "Repository stars, crewai",
      "display": "61.1K",
      "asOf": "2026-11-19"
    },
    "F250": {
      "label": "Agent tool-execution workflows, crewai",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F251": {
      "label": "Native human input or approval, crewai",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F252": {
      "label": "Execution abstraction, crewai",
      "display": "Role-based Agent, Task, and Crew with a process",
      "asOf": "2026-11-19"
    },
    "F253": {
      "label": "Project function, crewai",
      "display": "def build_crew(model_id: str, contract_text: str, party_perspective: str) -> Crew:\n    llm = build_llm(model_id)\n\n    extractor = Agent(\n        role=\"Contract Clause Extractor\",\n        goal=(\n            \"Identify, label, and quote every material clause from the \"\n            \"provided contract with precise references.\"\n        ),\n        backstory=(\n            \"You are a meticulous paralegal who has read thousands of \"\n            \"commercial contracts. You never paraphrase clauses when a \"\n            \"direct quote will do, and you never invent text that is not \"\n            \"in the document.\"\n        ),\n        llm=llm,\n        verbose=True,\n        allow_delegation=False,\n    )\n\n    risk_analyst = Agent(\n        role=\"Legal Risk Analyst\",\n        goal=(\n            f\"Score each extracted clause for risk from the perspective \"\n            f\"of {party_perspective}, using Low / Medium / High with a \"\n            f\"short rationale.\"\n        ),\n        backstory=(\n            \"You are a senior contracts attorney who specializes in \"\n            \"protecting your client from one-sided terms, unbounded \"\n            \"liability, and hidden operational obligations.\"\n        ),\n        llm=llm,\n        verbose=True,\n        allow_delegation=False,\n    )\n\n    reviewer = Agent(\n        role=\"Senior Paralegal Reviewer\",\n        goal=(\n            \"Produce a final contract review memo summarizing clauses, \"\n            \"risks, and redline recommendations.\"\n        ),\n        backstory=(\n            \"You consolidate the work of the extractor and risk analyst \"\n            \"into a clean, executive-ready memo with clear next steps.\"\n        ),\n        llm=llm,\n        verbose=True,\n        allow_delegation=False,\n    )\n\n    extract_task = Task(\n        description=(\n            \"You will receive the full text of a contract below. Extract \"\n            \"every material clause and map it to one of these categories:\\n\"\n            f\"{chr(10).join('- ' + c for c in CLAUSE_TYPES)}\\n\\n\"\n            \"For EACH clause produce:\\n\"\n            \"1. Category (from the list above, or 'Other')\\n\"\n            \"2. Section / heading reference as it appears in the contract\\n\"\n            \"3. A verbatim quote (<= 400 chars; truncate with ... if longer)\\n\"\n            \"4. A one-sentence plain-English summary\\n\\n\"\n            \"Return the result as a Markdown table with columns: \"\n            \"Category | Section | Quote | Summary.\\n\\n\"\n            \"CONTRACT TEXT:\\n\"\n            f\"\\\"\\\"\\\"\\n{contract_text}\\n\\\"\\\"\\\"\"\n        ),\n        expected_output=(\n            \"A Markdown table with one row per material clause.\"\n        ),\n        agent=extractor,\n    )\n\n    risk_task = Task(\n        description=(\n            \"Using the extracted clauses from the previous task, score \"\n            f\"each one for risk from the perspective of {party_perspective}. \"\n            \"Output a Markdown table with columns: \"\n            \"Category | Risk (Low/Medium/High) | Why it matters | \"\n            \"Suggested redline.\\n\\n\"\n            \"Scoring guidance:\\n\"\n            \"- High: uncapped/broad liability, one-sided indemnity, \"\n            \"auto-renewal without notice, IP assignment giveaways, \"\n            \"unilateral termination rights against our client, \"\n            \"unfavorable governing law, broad non-competes.\\n\"\n            \"- Medium: vague SLAs, ambiguous payment terms, \"\n            \"confidentiality carve-outs, assignment without consent.\\n\"\n            \"- Low: standard boilerplate with balanced terms.\\n\"\n            \"Finish with a single 'Overall Contract Risk' line: \"\n            \"Low / Medium / High, plus a 2-sentence justification.\"\n        ),\n        expected_output=(\n            \"A Markdown risk table followed by an overall risk rating.\"\n        ),\n        agent=risk_analyst,\n        context=[extract_task],\n    )\n\n    review_task = Task(\n        description=(\n            \"Write the final Contract Review Memo in Markdown with these \"\n            \"sections:\\n\"\n            \"1. **Executive Summary** (3-5 bullets: what this contract is, \"\n            \"key commercial terms, overall risk verdict).\\n\"\n            \"2. **Key Clauses** (table from the extractor, trimmed to the \"\n            \"most material rows).\\n\"\n            \"3. **Risk Assessment** (table from the risk analyst).\\n\"\n            \"4. **Recommended Redlines** (numbered list of the top 5-8 \"\n            \"changes to request, each with a one-line rationale).\\n\"\n            \"5. **Open Questions for Counsel** (bullets: anything you \"\n            \"cannot determine from the document alone).\\n\\n\"\n            f\"Client perspective: {party_perspective}.\\n\"\n            \"Never invent clauses that were not identified by the \"\n            \"extractor. Close the memo with a disclaimer that this is \"\n            \"an AI-generated review and not legal advice.\"\n        ),\n        expected_output=\"A complete Markdown review memo.\",\n        agent=reviewer,\n        context=[extract_task, risk_task],\n    )\n\n    return Crew(\n        agents=[extractor, risk_analyst, reviewer],\n        tasks=[extract_task, risk_task, review_task],\n        process=Process.sequential,\n        verbose=True,\n    )",
      "asOf": "2026-11-19"
    },
    "F254": {
      "label": "Project source file, crewai",
      "display": "advance_ai_agents/paralegal_crew/crew.py",
      "asOf": "2026-11-19"
    },
    "F255": {
      "label": "Project full_name, crewai",
      "display": "Arindam200/awesome-ai-apps",
      "asOf": "2026-11-19"
    },
    "F256": {
      "label": "Project stargazers_count, crewai",
      "display": "16.8K",
      "asOf": "2026-11-19"
    },
    "F257": {
      "label": "Developer need, langgraph",
      "display": "Long-running, stateful agents",
      "asOf": "2026-11-17"
    },
    "F258": {
      "label": "Pick reason, langgraph",
      "display": "runs workflows as graphs with saved state",
      "asOf": "2026-11-17"
    },
    "F259": {
      "label": "Developer need, pydantic ai",
      "display": "Typed agents across providers",
      "asOf": "2026-11-17"
    },
    "F260": {
      "label": "Pick reason, pydantic ai",
      "display": "runs a typed agent loop where a model change is a string swap",
      "asOf": "2026-11-17"
    },
    "F261": {
      "label": "Developer need, adk",
      "display": "Agents built around Gemini",
      "asOf": "2026-11-17"
    },
    "F262": {
      "label": "Pick reason, adk",
      "display": "optimized for Gemini while still model-agnostic",
      "asOf": "2026-11-17"
    },
    "F263": {
      "label": "Developer need, instructor",
      "display": "Typed data from one model call",
      "asOf": "2026-11-17"
    },
    "F264": {
      "label": "Pick reason, instructor",
      "display": "returns structured outputs as Pydantic objects",
      "asOf": "2026-11-17"
    },
    "F265": {
      "label": "Developer need, crewai",
      "display": "Teams of role-based agents",
      "asOf": "2026-11-17"
    },
    "F266": {
      "label": "Pick reason, crewai",
      "display": "groups agents into a crew that works through tasks",
      "asOf": "2026-11-17"
    },
    "F267": {
      "label": "Strength, langgraph",
      "display": "Pauses for human input",
      "asOf": "2026-11-17"
    },
    "F268": {
      "label": "Strength body, langgraph",
      "display": "An interrupt saves the graph state and waits for external input before the run continues.",
      "asOf": "2026-11-17"
    },
    "F269": {
      "label": "Strength, pydantic ai",
      "display": "Swaps models by name",
      "asOf": "2026-11-17"
    },
    "F270": {
      "label": "Strength body, pydantic ai",
      "display": "The same agent runs on another provider by changing the model string.",
      "asOf": "2026-11-17"
    },
    "F271": {
      "label": "Strength, pydantic ai",
      "display": "Tool approval built in",
      "asOf": "2026-11-17"
    },
    "F272": {
      "label": "Strength body, pydantic ai",
      "display": "A tool marked requires_approval waits for a person to approve the call.",
      "asOf": "2026-11-17"
    },
    "F273": {
      "label": "Strength, adk",
      "display": "Model-agnostic, Gemini-first",
      "asOf": "2026-11-17"
    },
    "F274": {
      "label": "Strength body, adk",
      "display": "Agents run on Gemini or on other models, and work with other frameworks.",
      "asOf": "2026-11-17"
    },
    "F275": {
      "label": "Strength, crewai",
      "display": "Role-based crews",
      "asOf": "2026-11-17"
    },
    "F276": {
      "label": "Strength body, crewai",
      "display": "Each crew assigns tasks to agents with their own roles and runs them in a set process.",
      "asOf": "2026-11-17"
    }
  },
  "dataCheckedAt": "2026-11-19",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python LLM libraries LangChain LlamaIndex Haystack DSPy examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
