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.2.0.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file agentmatrix-0.2.0.tar.gz
.
File metadata
- Download URL: agentmatrix-0.2.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 | 43143a567ab06bfb197fd40145012eb87950237bc4bf0e4ab98925d44438aed5 |
|
MD5 | e311f366d4a7cf5bb08b787628b194fe |
|
BLAKE2b-256 | 928328f2ae67fe6ec77a13f69c326032963bb07c8159f76cbcc9451bdff14af6 |
File details
Details for the file agentmatrix-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: agentmatrix-0.2.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 | 3326167ceb750eff7e66805ca856afa95e637193738f4ff8cedd2047767b914c |
|
MD5 | ee9d81c12ea6dd4333d23f197b22824c |
|
BLAKE2b-256 | 888678ee6dc652ad88bf303c237e1e7ee085b8331b0fe8194ded8b3f0fcc540a |