Skip to main content

Multi-Modality

AutoRT

AutoRTImage Implementation of AutoRT: "AutoRT: Embodied Foundation Models for Large Scale Orchestration of Robotic Agents". This repo will implement the multi agent system that transforms a scene into a list of ranked and priortized tasks for an robotic action model to execute. This is an very effective setup that I personally believe is the future for swarming robotic foundation models!

This project will be implemented using Swarms, for the various llms and use the official RT-1 as the robotic action model.

PAPER LINK

Install

$ pip3 install autort-swarms

Usage

AutoRTAgent

A single AutoRT agent that: analyzes a scene using visual COT -> generate tasks -> filter tasks -> execute it with a robotic transformer.

# Import necessary modules
import os
from autort import AutoRTSwarm, AutoRTAgent

# Set the OpenAI API key
openai_api_key = os.getenv("OPENAI_API_KEY")

# Define a list of AutoRTAgent instances
agents = [
    AutoRTAgent(openai_api_key, max_tokens=1000),
    AutoRTAgent(openai_api_key, max_tokens=1000),
]

# Create an instance of AutoRTSwarm with the agents and datastore
autort_swarm = AutoRTSwarm(agents)

# Run the AutoRTSwarm with the given inputs
autort_swarm.run(
    "There is a bottle on the table.",
    "https://i.imgur.com/2qY9f8U.png",
)

AutoRTSwarm

A team of AutoRT agents where you can plug in and play any number of AutoRTAgents with customization. First, the task will be routed to each agent and then all of their outputs will be saved.

# Import necessary modules
import os
from autort import AutoRTSwarm, AutoRTAgent

# Set the OpenAI API key
openai_api_key = os.getenv("OPENAI_API_KEY")

# Define a list of AutoRTAgent instances
agents = [
    AutoRTAgent(openai_api_key, max_tokens=1000),
    AutoRTAgent(openai_api_key, max_tokens=1000),
]

# Create an instance of AutoRTSwarm with the agents and datastore
autort_swarm = AutoRTSwarm(agents)

# Run the AutoRTSwarm with the given inputs
autort_swarm.run(
    "There is a bottle on the table.",
    "https://i.imgur.com/2qY9f8U.png",
)

Citation

@inproceedings{
    anonymous2023autort,
    title={Auto{RT}: Embodied Foundation Models for Large Scale Orchestration of Robotic Agents},
    author={Anonymous},
    booktitle={Submitted to The Twelfth International Conference on Learning Representations},
    year={2023},
    url={https://openreview.net/forum?id=xVlcbh0poD},
    note={under review}
}

License

MIT

Todo

  • Implement a run method into AutoRTSwarm that runs all the agents with APIs.
  • Make it able to send commands to a certain agent using the swarm network.
  • Send a task to all agents in the swarm network

Metadata

Release files for autort-swarms 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autort-swarms 0.0.6
File Size Uploaded
autort_swarms-0.0.6.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autort-swarms 0.0.6
File Interpreter ABI Platform
autort_swarms-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 18.6 kB

Release files / autort_swarms-0.0.6.tar.gz

Download URL autort_swarms-0.0.6.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d35f1fbfe83d63a6bea378448e29d8488ee8fde15a72ca607cd737564767588a
BLAKE2b-256 checksum
How to use checksums
6fe6dbe95e3e424a024f94a4e68fe1d11b036075d0ea9fa182ebd207fd9f9179
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.0 Darwin/23.3.0

Release files / autort_swarms-0.0.6-py3-none-any.whl

Download URL autort_swarms-0.0.6-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73cc54b30201ab228008da1befa048b3b15d3b3f3c432374d7cf076c293e94c0
BLAKE2b-256 checksum
How to use checksums
858a904d3b6ad1789b845d4b9e5b5fc4fbff79ce9156239c7b5dc0792091edae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.0 Darwin/23.3.0

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page