Skip to main content

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


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)

Uploaded Source

Built Distribution

agentmatrix-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

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

Hashes for agentmatrix-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dd498e7bb69e0bcf1e294ff4d1d2bd09bbad4d0bfea7d38c9012ffda5669c626
MD5 8b9ba87477ec49715d049765a5e76e57
BLAKE2b-256 f86c4f07cd9e559e118b7ec0d2f12c5645839bfbc2caacb18711155e28510c70

See more details on using hashes here.

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

Hashes for agentmatrix-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 598f74cf283f8cc7c3490b1c10fa41c60fc745615b0b7f4fbd01e0ea63e587d5
MD5 54a0240e77e9e457efa7b863518c707d
BLAKE2b-256 207ac9cf883dad313870edd7bcf46650f263ccc45f2a39129e061a783a6e644b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page