Skip to main content

Engaging with Multiple AI Agents with Jam.

Project description

Jam.AI

Jam is an experimental collaboration tool to use multiple AI personnel together equipped with instructed function calls.

Create Jam session with AI

View Changelog

Demo

Quick Start

from jam import Jam
from jam.personnel import BasicPersonnel, AutoPersonnel
from jam.instrument import PromptPainter

jam_room = Jam(
    members=[
        BasicPersonnel.from_json(filepath='example/personnel/claude-monet.json'),  # Using custom JSON
        BasicPersonnel.from_preset(name='pablo-picasso'),  # Using example presets from Git
        AutoPersonnel.from_prompt(uid='wkandinsky', prompt='Wassily Kandinsky')  # Using GPT to build prompt
    ],
    instruments=[PromptPainter()]
)

prompt = jam_room.compose(
    message='who are you!',
    multi=True
)

print(prompt) # List of Prompts from Characters

Don't forget to use your credentials. Primarily for OpenAI, the core engine of this project. https://platform.openai.com/account/api-keys

export OPENAI_KEY=YOUR_KEY

Installation

pip install jam-ai --upgrade

You need to use Pip to install jam. Conda package is currently unavailable.

Requirements

  • Python >= 3.8
  • OpenAI
  • Requests
  • Pillow

Extra Requirements for Function Calls

  • Psycopg2
  • PyMySQL
  • Stability SDK

Extension

Optional dependencies to fit any requirement needed.

pip install jam-ai[database] # Using Postgres, MySQL, Redis ...
pip install jam-ai[function] # Using Extended Function Calls requiring SDKs / Packages

For the use of other libraries, please consider to always feed in your API Keys respectively. See below for example.

export STABILITY_KEY=YOUR_STABILITY_AI_KEY # If you are using Stability SDK
export WRITESONIC_KEY=YOUR_WRITE_SONIC_KEY # If you are using WriteSonic API
export CUSTOM_KEY=YOUR_CUSTOM_KEY          # If there are any other added functionalities

Author

  • Abhishta Gatya (Email) - Software and Machine Learning Engineer

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

jam_ai-0.1.14.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

jam_ai-0.1.14-py3-none-any.whl (42.5 kB view details)

Uploaded Python 3

File details

Details for the file jam_ai-0.1.14.tar.gz.

File metadata

  • Download URL: jam_ai-0.1.14.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for jam_ai-0.1.14.tar.gz
Algorithm Hash digest
SHA256 9f4f3d23650970169d72dc5eb375ab993b9a9ced0191ec5a69f36b823787a063
MD5 ed47d406652484899e8114e5981e2a7f
BLAKE2b-256 8d52f57bf13683e47605188976cf2edad6ddfc5110030c85a5bbcccbabad3381

See more details on using hashes here.

File details

Details for the file jam_ai-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: jam_ai-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 42.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for jam_ai-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 9384a9a2bc8add14e6dd7ebc20cfd96482fd73f28d1dc746b43410c95efda5cc
MD5 111d9ab203419ad6b7da1a494b151f10
BLAKE2b-256 32023e15ece45f0824acee86041e5f0d3b6265db83d6d843ec691e893b3c66f5

See more details on using hashes here.

Supported by

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