mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-21 08:15:23 -04:00
[GH-ISSUE #12] [Enhancement]: DuckDuckGo Search and Ollama #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @samiux on GitHub (Mar 6, 2025).
Original GitHub issue: https://github.com/vxcontrol/pentagi/issues/12
Originally assigned to: @asdek on GitHub.
Target Component
External Integrations (LLM/Search APIs)
Enhancement Description
Is there a way to replace Google API with DuckDuckGo? Meanwhile, is it possible to use Ollama API instead of online LLM API?
Technical Details
No response
Designs and Mockups
No response
Alternative Solutions
No response
Verification
@asdek commented on GitHub (Mar 26, 2025):
Hello @samiux
Thank you for your interest in enhancing PentAGI
1. Replacing Google API with DuckDuckGo:
Yes, you can replace the Google API with DuckDuckGo. We have recently prepared changes in PR#20 that add support for DuckDuckGo and Perplexity APIs as search engines within PentAGI.
Now DuckDuckGo is available without any setting out of the box.
2. Using Ollama API instead of online LLM API:
Support for Ollama was present in the early stages of the project. However, we were unable to find models that effectively solved tasks within our attack simulation framework, so support for Ollama was removed. We believe that reintroducing Ollama support in the future is feasible, especially as models continue to improve.
Currently, our main development focus is on researching the capabilities of Large Language Models (LLMs) within AI agents. It appears that only the more powerful LLMs are capable of handling the complex tasks in our simulations. As models become more advanced, integrating options like Ollama may become more practical.
Enhancements in PR#20:
In addition to adding support for DuckDuckGo and Perplexity, PR#20 introduces the
ftesterutility. This tool allows you to test various functions directly within the running PentAGI container, including agent logic. It's a powerful resource for development and debugging, enabling you to:For detailed information about the
ftesterutility and other changes, please see the PR description and the updated documentation.Exploring Provider Configurations and Test Results:
We encourage you to review the configurations for different providers and the results of our tests to gain insight into how various models perform within PentAGI. Here are some resources that might be helpful:
Provider Configuration Files:
Test Reports:
Testing Instructions:
These resources provide examples and insights into the viability of different models within PentAGI's framework. They can guide you in configuring alternative providers and understanding their performance.
If you have any further questions or need assistance with the configuration, please don't hesitate to ask.
@samiux commented on GitHub (Mar 30, 2025):
Thank you very much.