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 details)
Built Distribution
File details
Details for the file agentmatrix-0.1.0.tar.gz
.
File metadata
- Download URL: agentmatrix-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd498e7bb69e0bcf1e294ff4d1d2bd09bbad4d0bfea7d38c9012ffda5669c626 |
|
MD5 | 8b9ba87477ec49715d049765a5e76e57 |
|
BLAKE2b-256 | f86c4f07cd9e559e118b7ec0d2f12c5645839bfbc2caacb18711155e28510c70 |
File details
Details for the file agentmatrix-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: agentmatrix-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 598f74cf283f8cc7c3490b1c10fa41c60fc745615b0b7f4fbd01e0ea63e587d5 |
|
MD5 | 54a0240e77e9e457efa7b863518c707d |
|
BLAKE2b-256 | 207ac9cf883dad313870edd7bcf46650f263ccc45f2a39129e061a783a6e644b |