GenPilot streamlines the prototype for single/multi-agent systems powered by Generative AI through an intuitive, user-friendly interface.
Project description
GenPilot
GenPilot streamlines the creation and management of multi-agent systems powered by Generative AI through an intuitive, user-friendly interface. It allows both developers and end-users to efficiently transform concepts and prototypes into fully realized solutions.
Installation
Require Python 3.10 or later.
pip install genpilot
Usage
The client is initialized using litellm. Please refer to the guide for details on different providers.
import genpilot as gp
# 1. User Interface: Also supports Streamlit UI, allowing all agents to share the same chat interface.
terminal = gp.TerminalChat(model_options={"temperature": 0.2, "stream": True})
# 2. Define a Tool to search and summarize information
def search_and_summarize(query):
"""Search for information on the internet and return a summary."""
return f"Here's the summary for '{query}': [Summarized info]."
# 3. Define an Agent for summarizing search results
info_explorer = gp.Agent(
name="Information Explorer",
model="groq:llama-3.3-70b-versatile",
chat=terminal,
tools=[search_and_summarize],
system=(
"Your role is to search the internet and summarize relevant information for a given query. "
"Use the search tool to find and condense information for the user, ensuring clarity and relevance."
),
)
# 4. Run the Agent with a query
response = info_explorer.run("What's the latest news about AI advancements?")
print(response)
Why GenPilot?
-
User-Friendly Interface: GenPilot offers an intuitive interface for prototyping and quick implementation, whether through a web UI or terminal. Get started quickly and seamlessly with minimal effort.
-
Enhanced Autonomy: GenPilot can internally register and invoke tools, reducing reliance on external agents and minimizing unnecessary interactions.
-
Governed Actions
GenPilot's actions are governed by three permission levels:
auto: Permission requested only for system/environment-modifying actions.always: Permission requested for all actions.none: No permission requests.
-
Multi-Agent System: Seamlessly scale from single-agent tasks to complex multi-agent workflows, inspired by Routines and Handoffs.
-
Memory [PROCESSING]: GenPilot enhances accuracy with customizable memory:
-
ChatBufferMemoryA short-term memory solution designed to retrieve the most recent message along with the current session context. -
ChatVectorMemoryA long-term memory implementation based on LlamaIndex vector memory.
MemGPT: Towards LLMs as Operating Systems CLIN: A CONTINUALLY LEARNING LANGUAGE AGENT FOR RAPID TASK ADAPTATION AND GENERALIZATION
ChatPgMemory...
-
-
RAG Support: GenPilot integrates a retrieval agent that allows local resource or knowledge integration into the multi-agent system. The default implementation leverages LlamaIndex's ChatEngine.
-
Typed Prompt and Auto Optimizer
Samples
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 genpilot-0.0.7.tar.gz.
File metadata
- Download URL: genpilot-0.0.7.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.11.11 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
992d5684c160f13d4c3edc82d47ce6f3648ba0874855eccc25f3cc922600525b
|
|
| MD5 |
0f28fa79b166df86ca6b7b5e43471342
|
|
| BLAKE2b-256 |
448a7559bc52600e0cdbbdcc5bf1daaeb46d8d16d81d1ce18b2c5e6aa765bcba
|
File details
Details for the file genpilot-0.0.7-py3-none-any.whl.
File metadata
- Download URL: genpilot-0.0.7-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.11.11 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d195f0c8005b3cdfddf252633dc40e9bd138dff511676534bfdaf9e367c7eac2
|
|
| MD5 |
7aa13a08adf7fd969dc6a69c7f83a5d7
|
|
| BLAKE2b-256 |
d71456245ff91d6281d1b54de03cd6cff51e653371e814a909da23788f271ecd
|