Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reflection Agent

Introduction

Simple Reflection Agent where make twitter post better by few iterations.

General information

  • This project uses conda as an environment manager. The user must have Anaconda or Miniconda installed.
  • This project uses git-hooks to check code quality when creating commits.

Repository

Local env setup

1. Conda

2. .env file

  • Create .env file in the project's root directory (based on .env-sample file). The content of .env is not stored in Git repository, because it contains secrets.

3. PyCharm settings

  • Edit Run/Debug configurations in PyCharm and make sure to select the correct .env file and conda environment
  • In PyCharm choose File -> Settings -> Python interpreter and select reflection_agent environment

4. Main File:

main.py - It's based on basic streamlit library so to run app you have to run command streamlit run main.py

5. Reflection Agent Algorithm

Pipeline is simple Reflection Agent where in first step we send Twitter post and then we boost this twitter in few iterations. graph.png

6. LangGraph Studio

In repo is langgraph.json which is compatible with LangGraph Studio: https://blog.langchain.dev/langgraph-studio-the-first-agent-ide/

About

Project with reflection agent

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages