{"id":20119704,"url":"https://github.com/mirabdullahyaser/reasoning-and-action-react-framework-using-langchain","last_synced_at":"2026-04-11T09:34:40.673Z","repository":{"id":244652125,"uuid":"815840023","full_name":"mirabdullahyaser/Reasoning-and-Action-ReAct-framework-using-LangChain","owner":"mirabdullahyaser","description":"Implementation of ReAct prompting technique (Reasoning + Acting). The method is designed to enhance the reasoning capabilities of LLMs, allowing them to reason and act intelligently within simulated environments.","archived":false,"fork":false,"pushed_at":"2024-06-16T11:44:24.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T20:15:02.104Z","etag":null,"topics":["actions","agents","gpt-4","langchain","llm","llm-agents","python","react","reasoning"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mirabdullahyaser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-16T10:26:14.000Z","updated_at":"2024-06-16T11:48:16.000Z","dependencies_parsed_at":"2024-06-16T12:47:23.262Z","dependency_job_id":"0a454cee-2261-4918-ac7a-7d79db45bf01","html_url":"https://github.com/mirabdullahyaser/Reasoning-and-Action-ReAct-framework-using-LangChain","commit_stats":null,"previous_names":["mirabdullahyaser/reasoning-and-action-react-framework-using-langchain"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mirabdullahyaser/Reasoning-and-Action-ReAct-framework-using-LangChain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirabdullahyaser%2FReasoning-and-Action-ReAct-framework-using-LangChain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirabdullahyaser%2FReasoning-and-Action-ReAct-framework-using-LangChain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirabdullahyaser%2FReasoning-and-Action-ReAct-framework-using-LangChain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirabdullahyaser%2FReasoning-and-Action-ReAct-framework-using-LangChain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mirabdullahyaser","download_url":"https://codeload.github.com/mirabdullahyaser/Reasoning-and-Action-ReAct-framework-using-LangChain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirabdullahyaser%2FReasoning-and-Action-ReAct-framework-using-LangChain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31676207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","agents","gpt-4","langchain","llm","llm-agents","python","react","reasoning"],"created_at":"2024-11-13T19:16:38.493Z","updated_at":"2026-04-11T09:34:40.658Z","avatar_url":"https://github.com/mirabdullahyaser.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reasoning and Action (ReAct)\nReAct, which stands for Reasoning + Acting, is a prompting technique developed by professors from Princeton University in collaboration with Google researchers.\n\nThe method is designed to enhance the reasoning capabilities of LLMs, allowing them to reason and act intelligently within simulated environments.\n\nIt allows LLMs to interact with external tools, enhancing their decision-making processes. With React, LLMs can understand and generate text, make informed decisions and take actions based on their understanding.\n\n# ReAct Agents in LangChain\nThe ReAct agent in LangChain is a versatile agent that utilizes the ReAct framework to select the appropriate tool based on its description.\n\nThis agent is the most general-purpose action agent available in LangChain and can be highly beneficial in situations where multiple tools are available, and selecting the right tool is time-consuming. The ReAct agent allows you to specify a description for each tool and then automatically selects the appropriate tool based on the description.\n\n# How it works\n1. The system receives input from the user.\n2. Based on the input, the agent decides whether to use a tool and, if so, what the input to that tool should be.\n3. The tool is then called with the appropriate input, and the output of the tool is recorded as an observation.\n4. The history of the tool, tool input, and observation is passed back into the agent, which decides the next step.\n5. The above steps are repeated until the agent determines that no further tools are needed. At this point, it will respond directly to the user.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirabdullahyaser%2Freasoning-and-action-react-framework-using-langchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirabdullahyaser%2Freasoning-and-action-react-framework-using-langchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirabdullahyaser%2Freasoning-and-action-react-framework-using-langchain/lists"}