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.
Project description
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.
Getting Started
To get started with Composite.ai, follow these simple steps:
Installation
pip install compositeai
Set Up Your Agent
- Choose the provider and model LLM that will power your agent's "driver".
- Describe the role and purpose of your agent.
- Choose built-in tools or define your own for the agent to use.
- 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.content)
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
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 compositeai-0.1.1.tar.gz.
File metadata
- Download URL: compositeai-0.1.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.4 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d712b5f7a30bf06f67e9ff532abbda8678c19a27facf99aece443dcc00da2efb
|
|
| MD5 |
2f220774b4adac60a725844584fe34aa
|
|
| BLAKE2b-256 |
1c88851a94dbfac89252245fdb33d35c26830219b01ad4170653a60124e261f2
|
File details
Details for the file compositeai-0.1.1-py3-none-any.whl.
File metadata
- Download URL: compositeai-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.6 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6eaec5d39f93ce1cd2818f2c9240b4facf942222cdfe3298d1fa0f43cec7198
|
|
| MD5 |
d89d6ea0ce143fcf8ebd24be412863ae
|
|
| BLAKE2b-256 |
24b9dafcd5b1820c314e0b6f70a2236bef64071266a63068f4da17bd8eb0d1d2
|