Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial assistance for those that need some success #41

Open
DarkNeedle opened this issue Dec 18, 2024 · 0 comments
Open

Initial assistance for those that need some success #41

DarkNeedle opened this issue Dec 18, 2024 · 0 comments

Comments

@DarkNeedle
Copy link

DarkNeedle commented Dec 18, 2024

I will concede that there are issues with some of the instructions and some missing files. For those that want to try the CodeSolutionAgency you can follow the instructions as outlined. I would recommend you create a virtual environment with venv for this.

Python 3.11 tends to work with most current package without issue

python3.11 -m venv venv
source venv/bin/activate && python --version

Do this in the clone of the repo and install the requirements

Change to CodeSolutionAgency

There is no requirements.txt, you can create this yourself or just pip install the packages needed which are
selenium
instructor
webdriver-manager
selenium_stealth

pip install selenium selenium_stealth webdriver-manager instructor

Then simply execute: python agency.py

Be sure you have the .env set in this directory with your OPENAI_API_KEY

You can then hit the local site: http://localhost:7860 for the UI

Select the PlannerAgent then just ender your instructions, as an example: "In python write the code to calculate the value of pi to 22 decimals"

There will be many iterations as each agent attempts to engage and carry out tasks.

Hope this helps for just this example

** Be aware that these agents can spin and churn even when the result seems spot on. As such, extremely chatty and can take considerable time over say straight up querying an LLM for the direct result. Agents need rule based governance over the top to help stop spinning and intreating over the problem domain endlessly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant