.. _examples.extensions.langchain.langchain_sql_agent: LangChain SQL Agent =================== In this example, we first create an SQL database with a ‘countries’ table, and subsequently, we will use LangChain Agent to make queries against it. .. literalinclude:: ../../../examples/extensions/langchain/langchain_sql_agent.py :language: python :caption: See `langchain_sql_agent.py `_ on GitHub. :lines: 7-