A multi-agent system for processing queries using DuckDuckGo and LLM agents
Project description
README.md
agentmatrix Package
A Python package that implements agentmatrix a multi-agent system for processing queries using DuckDuckGo and LLM agents.
Installation
pip install agentmatrix
Usage
from agentmatrix import MultiAgentSystem
# Initialize the system
mas = MultiAgentSystem()
# Add agents
mas.add_duckduckgo_agent()
mas.add_llm_agent(api_key="your-api-key", model="gpt-4")
# Process a query
result = mas.process_query(
search_term="Your search term",
expert_type="Expert type",
expert_description="Expert description",
user_prompt="Your prompt",
response_format="json",
listed_urls=["https://example.com"]
)
print(result)
License
This project is licensed under the MIT License.
requirements.txt
requests==2.26.0 openai==0.27.0
.gitignore
pycache/ *.py[cod] *.so .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST .env
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
agentmatrix-0.1.0.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for agentmatrix-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 598f74cf283f8cc7c3490b1c10fa41c60fc745615b0b7f4fbd01e0ea63e587d5 |
|
MD5 | 54a0240e77e9e457efa7b863518c707d |
|
BLAKE2b-256 | 207ac9cf883dad313870edd7bcf46650f263ccc45f2a39129e061a783a6e644b |