Skip to content

Commit

Permalink
Add FAQ and update example
Browse files Browse the repository at this point in the history
  • Loading branch information
YoanSallami committed Apr 22, 2024
1 parent 5275ba5 commit 3257e64
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/basics/graph-prompt-programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ CREATE
(start:Control {name:"Start"}),
(end:Control {name:"End"}),
(is_anything_unclear:Decision {
name:"Find out if there is anything unclear in the Objective",
question:"Is the Objective unclear?"}),
name:"Check if the objective is unclear",
question:"Is the Objective still unclear?"}),
(ask_question:Action {
name:"Ask question to clarify the objective",
tool:"AskUser",
Expand All @@ -94,7 +94,7 @@ CREATE

Let's break down what this program does:

- `(is_anything_unclear:Decision {name:"Find out if there is anything unclear in the Objective", question:"Is the Objective unclear?"})`: Creates a Decision Node named "is_anything_unclear." This node checks whether the objective is unclear, asking the question "Is the Objective unclear?".
- `(is_anything_unclear:Decision {name:"Check if the objective is unclear", question:"Is the objective still unclear?"})`: Creates a Decision Node named "is_anything_unclear." This node checks whether the objective is unclear, asking the question "Is the Objective unclear?".

- `(ask_question:Action {name:"Ask question to clarify the objective", tool:"AskUser", prompt:"Pick one question to clarify the Objective"})`: Creates an Action Node named "ask_question." If the objective is unclear, this node prompts the system to ask a question to clarify the objective, utilizing the "AskUser" tool.

Expand Down
31 changes: 31 additions & 0 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
sidebar_position: 1
slug: "/"
---
# HybridAGI: The Programmable Neuro-Symbolic AGI for people who want AI to behave as expected

# Introduction

Expand All @@ -11,6 +12,36 @@ HybridAGI is the first *Programmable LLM-based Autonomous Agent* that lets you p

The new version of HybridAGI is now a DSPy component, learn more about [DSPy](https://dspy-docs.vercel.app/docs/intro) and how you can use it to optimize your prompt or finetune your model.

# FAQ

### What do you mean by neuro-symbolic AGI?

We believe that agent systems are the future of general artificial intelligence and robotics. Our goal is to build an agent system that solves real-world problems by using an intermediary language interpretable by both humans and machines. If we want to keep humans in the loop in the coming years, we need to design AI systems for that purpose. Coming from a robotic background, we understand how the debate in the ML community between multi-agent systems and neuro-symbolic ones will unfold.

### How is HybridAGI different from a toolbox?

Our aim is to develop an entire ecosystem around our technology. Like an autonomous car is composed of several sub-systems, robotic softwares are composed by different and complementary sub-systems coordinating themselves. With neuro-symbolic systems, you need to train your neural networks with the whole architecture to increase efficiency by taking into account the contraints and new knowledge created by this neuro-symbolic architecture. We plan to release soon small finetuned models to allow the system to accuratly navigate into the graph and with programming knowledge about our DSL to enable long-term planning agent. By lowering the costs of long-term agent workers, we enable new usecases for the entire industry.

### What is the difference between LangGraph and HybridAGI?

LangGraph, being a Python low-code framework, it is actually more complex to build a system with. Cypher, on the other hand, is designed to be easy for people to understand at a glance. More importantly, our DSL is designed to allow LLMs to read, write, and modify it on the fly without any prior training, enabling programs with self-healing or self-programming capability just to name a few. The graphs fit into a prompt and are semantically separated like code, requiring only 4 node types to describe the system of your choice. Additionally, automatic prompt optimization and fine-tuning are leveraged to their maximum capability by focusing solely on DSPy and removing LangChain from our codebase.

### What is the benefit of using HybridAGI over DSPy with Llama-index?

HybridAGI is specifically tailored for building interactive and reasoning agents quickly and effortlessly. The DSL allows for algorithmic flexibility while making it possible to describe every type of system without having to implement it from scratch. Plus, we focus our work on an open-source vector/graph database, allowing people and businesses to maintain control of their data.

### How does HybridAGI help me regarding the EU AI Act or future regulation on your country for non-EU?

Because this system can only execute actions that are in the graph, businesses can use the graph to classify the behavior of their AI system and document it. However, this is not sufficient, and you should always conduct specific safety tests in accordance with the safety practices of your domain, in particular red-teaming of the model. We plan to release tools to help regarding these aspects.

### Can HybridAGI be used for tasks other than robotics?

Yes, HybridAGI can be used for a wide range of tasks beyond robotics. The system is designed to be flexible and adaptable, making it suitable for any application that requires complex reasoning and decision-making, such as retrieval-augmented generation (RAG), chatbots, knowledge scrapers, personal assistants, and more generally, any agent-based application.

### How can I contribute to HybridAGI?

We encourage you to join our community on Discord to connect with other developers and share your ideas.

#### What you need to start?

- [Git](https://git-scm.com/downloads) and [Docker](https://www.docker.com/products/docker-desktop/), [Python](https://www.python.org/).
Expand Down

0 comments on commit 3257e64

Please sign in to comment.