
LANGCHAIN — Round Agents
The human spirit must prevail over technology. — Albert Einstein
Autonomous Agents & Agent Simulations
Over the past two weeks, there has been a massive increase in the use of LLMs in an agentic manner. Specifically, projects like AutoGPT, BabyAGI, CAMEL, and Generative Agents have gained popularity. The LangChain community has implemented parts of these projects in the LangChain framework. This blog post will explain the differences between these projects and how they have been incorporated into the LangChain framework.
Agents and Their Importance
Agents refer to the idea of using a language model as a reasoning engine and connecting it to two key components: tools and memory. Tools help connect the LLM to other sources of data or computation, while memory helps the agent remember previous interactions.
The LangChain Agent Framework
The stereotypical LangChain Agent is based on the Reasoning and Acting (ReAct) framework proposed by Yao et al. in November of 2022. This approach is characterized by a series of steps: user gives an agent a task, the agent “thinks” about what to do, decides what action to take, observes the output, and repeats the process until the agent deems it is done.
AutoGPT
AutoGPT is largely novel in its long-term objectives, which necessitate new types of planning techniques and a different use of memory. The LangChain community has implemented this in the LangChain framework by adding a version of it to langchain.experimental, making it compatible with LangChain LLM wrappers, vector stores, and tools.
BabyAGI
Similar to AutoGPT, BabyAGI is designed for long-running tasks and has separate planning and execution steps. It plans a sequence of actions all at once, which is different from the traditional LangChain Agent framework. This has been incorporated into LangChain in the langchain.experimental section, compatible with LangChain LLM wrappers, vector stores, and tools.
CAMEL
CAMEL focuses on having two agents interact with each other in a collaborative manner and has a specific simulation environment. A notebook reflecting the simulation environment has been added, and there are plans to make this simulation environment more available in the future.
Generative Agents
Generative Agents has a complex simulation environment consisting of 25 different agents and a novel long-term memory. The LangChain community incorporated the retriever logic and added a notebook showing how to use the reflection steps and the new retriever to replicate part of the setup described in the paper.
Conclusion
The LangChain community has started implementing parts of these projects in the LangChain ecosystem. There are distinct categories: Autonomous Agents, which have improved planning abilities, and Agent Simulations, which have novel simulation environments and complex, evolving memory. The community is excited to see how these projects are used and combined.





