Skip to main content

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

Release files for agentmatrix 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentmatrix 0.2.0
File Size Uploaded
agentmatrix-0.2.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentmatrix 0.2.0
File Interpreter ABI Platform
agentmatrix-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.5 kB

Release files / agentmatrix-0.2.0.tar.gz

Download URL agentmatrix-0.2.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
43143a567ab06bfb197fd40145012eb87950237bc4bf0e4ab98925d44438aed5
BLAKE2b-256 checksum
How to use checksums
928328f2ae67fe6ec77a13f69c326032963bb07c8159f76cbcc9451bdff14af6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release files / agentmatrix-0.2.0-py3-none-any.whl

Download URL agentmatrix-0.2.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3326167ceb750eff7e66805ca856afa95e637193738f4ff8cedd2047767b914c
BLAKE2b-256 checksum
How to use checksums
888678ee6dc652ad88bf303c237e1e7ee085b8331b0fe8194ded8b3f0fcc540a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page