A simple multimodel AI agent package.
Project description
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file multimodel_agent-0.1.0.tar.gz.
File metadata
- Download URL: multimodel_agent-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
932ef93ba2ac08b1c637e948bfe5460289916b899fde8ca390efe560a7712c06
|
|
| MD5 |
bf0f38e1e74e8468f164e15cba3375c1
|
|
| BLAKE2b-256 |
7b51d0f24003e00222cce9984aee305b4a0df58bf1b5e6068dbecb60508fc291
|
File details
Details for the file multimodel_agent-0.1.0-py3-none-any.whl.
File metadata
- Download URL: multimodel_agent-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
750e249c7b7e0c265aab94f0658963f8acc9a89832dd2fed7105586eba47fc0f
|
|
| MD5 |
3059530989327eb29db95256d3f8f5f3
|
|
| BLAKE2b-256 |
9f42e05d08ff2346f0f8508037706b4b7531070f24fe26830ca9236b6a65a9f0
|