Skip to main content

Composiste.ai was developed to make it as easy as possible for developers to build advanced AI agent systems while sacrificing as little customizability and versatility as possible. Using our framework, you should be able to construct AI agent teams that can complete complicated tasks and define rules for their interactions in just a few lines of code.

Project description

Composite.ai Logo

Composite.ai was developed to make it as easy as possible for developers to build advanced AI agent systems while sacrificing as little customizability and versatility as possible. Using our framework, you should be able to construct AI agent teams that can complete complicated tasks and define rules for their interactions in just a few lines of code.

License: MIT

Getting Started

To get started with Composite.ai, follow these simple steps:

Installation

pip install compositeai

Set Up Your Agent

  1. Choose the provider and model LLM that will power your agent's "driver".
  2. Describe the role and purpose of your agent.
  3. Choose built-in tools or define your own for the agent to use.
  4. Have the agent begin a task that you describe.
from compositeai.drivers import OpenAIDriver
from compositeai.tools import GoogleSerperApiTool, WebScrapeTool
from compositeai.agents import RAISEAgent


agent = RAISEAgent(
    driver=OpenAIDriver(model="gpt-4o"),
    description="You are a weatherman and can tell me the weather for any location.",
    tools=[GoogleSerperApiTool(), WebScrapeTool()],
)

task = """
What's the weather going to be today in Cambridge, MA?
"""

for chunk in agent.execute(task, stream=True):
    print(chunk)
    print("\n\n\n\n\n----------------------------------------------------------------------------------------------------------\n\n\n\n\n")

print("FINAL ANSWER:\n\n")
print(chunk.content)

Key Features

Currently Implemented

  • Role-Based Agent Design: Customize agents with specific roles, goals, and tools.
  • Developer-Defined Agent Delegation: The developer can specify exactly how teams of multiple AI agents should be interacting with each other to complete more complex tasks using a rule-based system.
  • Streamable Agent Thoughts and Actions: For transparency within multi-agent systems, developers will be able to access records of agent planning, thoughts, memory, and actions taken.

Planned

  • Works with multiple LLMs (including open source)

Examples

License

Composite.ai is released under the MIT License.

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

compositeai-0.1.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

compositeai-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file compositeai-0.1.0.tar.gz.

File metadata

  • Download URL: compositeai-0.1.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.4 Darwin/23.5.0

File hashes

Hashes for compositeai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b11012a964f8ee6f819e85e96793f5f723d497fe63355b0676c63e8a8ab11d6b
MD5 218d7de17daa2b46b5de0a438f0bd2fe
BLAKE2b-256 064a238d4798fb97921bcd76fea89c1b72c5d7f7f4e22ac77822cb4bfef590ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: compositeai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.4 Darwin/23.5.0

File hashes

Hashes for compositeai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 766fc0e6f078a1644ff17d0691dec87bca3696f08f135b8afa892605ba2d00b1
MD5 8c0899df612fa78f2b32bba2e7e3165c
BLAKE2b-256 a47182611716194ea48bd8734c36924955a6ae4fc2fdba8f28711c4ba075b35a

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