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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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