Skip to content

AI Agent Architectures is the complex structures that shape how machines perceive, reason, and act in their environments in the pursuit of autonomous intelligence.

Notifications You must be signed in to change notification settings

sushant1827/Agent-Architectures-LangGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Agent-Architectures-LangGraph

AI Agent Architectures is the complex structures that shape how machines perceive, reason, and act in their environments in the pursuit of autonomous intelligence.


Basic Reflection (reflection_agent.py)

This simple example composes two LLM calls: a generator and a reflector.

The generator tries to respond directly to the user's requests.

The reflector is prompted to role play as a teacher and offer constructive criticism for the initial response.

The loop proceeds a fixed number of times, and the final generated output is returned.

image


Reflexion (reflexion_agent.py)

Reflexion is an architecture designed to learn through verbal feedback and self-reflection.

Within Reflexion, the actor agent provides explicit critiques for each response, grounding its criticism in external data.

It is required to generate citations and clearly identify both the superfluous elements and missing aspects of the generated content.

This process makes the reflections more constructive, enabling the agent to better adjust its responses based on the feedback provided.

image


About

AI Agent Architectures is the complex structures that shape how machines perceive, reason, and act in their environments in the pursuit of autonomous intelligence.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages