gensphere

🌐 GenSphere Documentation

Welcome to the official documentation for GenSphere, a declarative framework to build LLM applications and an open platform to push and pull them. Think of GenSphere as Docker for LLM applications.


Introduction

What is GenSphere?

GenSphere is a framework that allows you to build Large Language Model (LLM) applications by declaring tasks and how they connect using YAML files. It breaks down any LLM application into graphs where each node is either a function call, an LLM API call, or another graph itself. This approach provides:

Key Features

Why Use GenSphere?

GenSphere provides a transparent and flexible way to build LLM applications without the cumbersome abstractions that some modern frameworks introduce. It promotes collaboration and reuse by enabling developers to share and compose workflows easily.

How Does GenSphere Work?

  1. Define Your Workflow with YAML Files: Your project is defined by YAML files representing graphs where each node is a task to be executed.
  2. Compose Complex Workflows by Nesting Graphs: Reference other YAML files as nodes to build upon existing workflows.
  3. Define Your Functions and Schemas: Create Python files with functions and Pydantic models for structured outputs.
  4. Leverage Integration with LangChain and Composio: Utilize tools available in Composio and LangChain.
  5. Visualize Your Project: Generate interactive graphical representations of your workflows.
  6. Execute the Workflow: GenSphere resolves dependencies and executes your workflow.
  7. Push to the Platform: Share your project on the open platform with a generated ID.
  8. Pull from the Platform: Use projects from others to build more complex applications.
  9. Watch Your Projects Grow: Monitor the popularity of your projects by tracking the number of pulls.

Getting Started

Tutorials

User Guide

API reference

Contributing

We welcome contributions! Please join our Discord server.


Star History Chart