A simple chat UI made with Streamlit to deploy your custom Agents in seconds.
Learn how to program HybridAGI using Cypher to create controlled and explainable Agents!
- A TogetherAI API key (get one at https://api.together.xyz/)
- Git and Docker
First, clone the chat repository with:
git clone https://github.com/SynaLinks/HybridAGI-chat
cd HybridAGI-chat
Then you should open the repository folder in your favorite IDE (VSCodium with the Neo4J plugin is a good start).
📦HybridAGI-chat
┣ 📂archives # This is where the AGI will save its uploaded work
┣ 📂documentation # This is where you can put your pdf and documents
┣ 📂programs # This is where you should put your Cypher programs
┣ 📂src # The source code of the UI
... the license and other files related to deployment
Note that the folders archives
, documentation
and programs
are shared with the application container, you can edit them and reload your programs/documentation without restarting the application container.
Start with a simple echo test, create a main.cypher
file inside the programs
folder:
// Nodes declaration
CREATE
(start:Control {name:"Start"}),
(end:Control {name:"End"}),
(echo_objective:Action {
name:"Reformulate the Objective",
tool:"Speak",
prompt:"Please reformulate the objective using other words"}),
// Structure declaration
(start)-[:NEXT]->(echo_objective),
(echo_objective)-[:NEXT]->(end)
Learn more about Graph-based Prompt Programming by reading our documentation.
Now it is time to deploy this app, just use the following command
docker-compose up
Open your browser at http://localhost:8001 and connect to an existing database with the hostname falkordb
and port 6379
.