Skip to main content

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

  1. Create and activate a virtual environment:
    python3 -m venv venv
    source venv/bin/activate
    
  2. Install build and twine:
    pip install --upgrade build twine
    
  3. Build the package:
    python3 -m build
    
  4. Upload to PyPI:
    python3 -m twine upload dist/*
    

You will need a PyPI account and API token for uploading.

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

multimodel_agent-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

multimodel_agent-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for multimodel_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 932ef93ba2ac08b1c637e948bfe5460289916b899fde8ca390efe560a7712c06
MD5 bf0f38e1e74e8468f164e15cba3375c1
BLAKE2b-256 7b51d0f24003e00222cce9984aee305b4a0df58bf1b5e6068dbecb60508fc291

See more details on using hashes here.

File details

Details for the file multimodel_agent-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for multimodel_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 750e249c7b7e0c265aab94f0658963f8acc9a89832dd2fed7105586eba47fc0f
MD5 3059530989327eb29db95256d3f8f5f3
BLAKE2b-256 9f42e05d08ff2346f0f8508037706b4b7531070f24fe26830ca9236b6a65a9f0

See more details on using hashes here.

Supported by

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