Multimodel Agent
A robust Python package for building multimodel AI agents that leverage multiple models for advanced inference and decision-making.
Installation
pip install multimodel_agent
Usage
from multimodel_agent import MultimodelAgent
class MyModel:
def predict(self, data):
# Replace with your model's prediction logic
return data + 1
# Initialize the agent with one or more models
agent = MultimodelAgent([MyModel()])
# Run inference using all models
results = agent.predict(42)
print(results) # Output: [43]
Publishing to PyPI
- Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate
- Install build and twine:
pip install --upgrade build twine
- Build the package:
python3 -m build
- Upload to PyPI:
python3 -m twine upload dist/*
You will need a PyPI account and API token for uploading.
Metadata
Release files for multimodel-agent 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| multimodel_agent-0.1.0.tar.gz | 2.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| multimodel_agent-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / multimodel_agent-0.1.0.tar.gz
| Download URL | multimodel_agent-0.1.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
932ef93ba2ac08b1c637e948bfe5460289916b899fde8ca390efe560a7712c06
|
|
BLAKE2b-256 checksum How to use checksums |
7b51d0f24003e00222cce9984aee305b4a0df58bf1b5e6068dbecb60508fc291
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.4
|
Release files / multimodel_agent-0.1.0-py3-none-any.whl
| Download URL | multimodel_agent-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
750e249c7b7e0c265aab94f0658963f8acc9a89832dd2fed7105586eba47fc0f
|
|
BLAKE2b-256 checksum How to use checksums |
9f42e05d08ff2346f0f8508037706b4b7531070f24fe26830ca9236b6a65a9f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.4
|
Security for multimodel-agent 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.