polymage : a multimodal agent python library
Project description
A Polymorphic Multimodal Agents Framework
A modular, platform-agnostic Python library to orchestrate multimodal AI agents across multiple platforms and AI models (Gemma, moondream, Flux, HiDream, etc.)
Compared to other AI Agent libraries, polymage is not "LLM centric" and do not use LLMs as Orchestrators.
Can run both on Local platforms
- Ollama (https://ollama.com), available for macOS, Windows, and Linux
- LmStudio (https://lmstudio.ai), available for macOS, Windows, and Linux
- DrawThings (https://drawthings.ai), available only on macOS
And on Cloud platforms
- Groq ( https://groq.com/ )
- Cloudflare ( https://developers.cloudflare.com/workers-ai/ )
- Togetherai ( https://docs.together.ai/intro )
- Hugginface ( https://huggingface.co/docs/hub/en/api )
✨ Features
- Define agents with prompts + multimodal inputs (image, audio, video, text)
- Run same agent on multiple platforms/models for comparison
- Workflow orchestration : just python scripts or tools like Apache Airflow
🚀 Quick Start
I recommand to use UV. UV is the best tool to manage multiple python version and multiple virtual python environment on your machine
For testing polymage, clone the examples repo
git clone https://gitlab.com/polymage-org/examples.git
then go to the examples directory, create a python virtual env with UV
uv venv
And run an example, for example the image captioner demo
uv run image_captioner.py images/cat_at_the_window.jpg
Apache 2.0 License — Happy coding with polymage! 🚀
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 polymage-0.0.13.tar.gz.
File metadata
- Download URL: polymage-0.0.13.tar.gz
- Upload date:
- Size: 27.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e20be05a5d6ee94d89332c15b85344a4c0486feb1c950c42eebbc3b2298bb91
|
|
| MD5 |
616e91724728109100054236646a3f0f
|
|
| BLAKE2b-256 |
5a8565e83470d663266404ae1a281234fe18d9bd9f9e2c41e7c0950ce568c8ad
|
File details
Details for the file polymage-0.0.13-py3-none-any.whl.
File metadata
- Download URL: polymage-0.0.13-py3-none-any.whl
- Upload date:
- Size: 39.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e2d575619fa22ed83de0d11c62724793ef11b01512ce353f0b62db6bed29772
|
|
| MD5 |
374888a7aa4488f5313c383cced33af1
|
|
| BLAKE2b-256 |
dd6ea26d6a8a194a2206ea0bd29bdc6e9186cf5ca902f252718150c860acdf3f
|