Skip to main content


GenPilot

GenPilot streamlines the creation, development, and management of single and multi-agent systems powered by Generative AI. Adhering to the Model Context Protocol (MCP), it ensures seamless integration with a variety of MCP servers, enabling both developers and end-users to efficiently transform concepts and prototypes into fully realized solutions. All of this is facilitated through an intuitive, user-friendly terminal and web interface.

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
import asyncio

# 1. User Interface: Also supports Streamlit UI, allowing all agents to share the same chat interface.
terminal = gp.TerminalChat()

# 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_config={
        "name": "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 = asyncio.run(info_explorer("What's the latest news about AI advancements?"))
print(response)

Why GenPilot?

  • MCP Agent: Leverage the MCP servers provided by the ecosystem to empower agents, allowing them to connect and interact within a richer, more expansive environment.

  • Multi-Agent System: Seamlessly scale from single-agent tasks to complex multi-agent workflows, inspired by Routines and Handoffs.

  • User-Friendly Interface: Offers an intuitive interface for prototyping and quick implementation, whether through a web UI (Streamlit, Chainlit) or terminal. Get started quickly and effortlessly with minimal effort.

  • Enhanced Autonomy: GenPilot can internally register and invoke tools, reducing reliance on external agents and minimizing unnecessary interactions.

  • Governed Actions

    governed action

    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
  • Memory [PROCESSING]: GenPilot enhances accuracy with customizable memory:

    1. ChatBufferMemory A short-term memory solution designed to retrieve the most recent message along with the current session context.

    2. ChatVectorMemory A 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

    1. 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

This demo provides advice on what to wear when traveling to a city

Watch the demo

This demo uses multi-agent troubleshooting for issues in RedHat ACM

Cluster Unknown

Watch the demo

Addons Aren't Created

Watch the demo

Metadata

Release files for genpilot 0.1.5

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

Source distribution (sdist)

Source distribution for genpilot 0.1.5
File Size Uploaded Provenance
genpilot-0.1.5.tar.gz 24.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for genpilot 0.1.5
File Interpreter ABI Platform
genpilot-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 58.5 kB

Release files / genpilot-0.1.5.tar.gz

Download URL genpilot-0.1.5.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
eba911ab7faef81dde016f4a54001c9d903a67a5df6208158bb409bbe375db33
BLAKE2b-256 checksum
How to use checksums
12a23ca65d60053947b50e5b9d050f3986996201f2bbd4371927981eaf7b6be6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.11.11 Darwin/24.3.0

Release files / genpilot-0.1.5-py3-none-any.whl

Download URL genpilot-0.1.5-py3-none-any.whl
Size 33.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdfc6034827eeafa7d93ad0e07730cde1ae80b68aca249da18cb83cfd413cde9
BLAKE2b-256 checksum
How to use checksums
797f4fb7dd9fc9902591f7aec31ebb23fd4bdae102bc29124e0d8c0a0b2cbca2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.11.11 Darwin/24.3.0

Security for genpilot 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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