From 7ebadb712a87cd395f30de57e9be2be1be8eda9e Mon Sep 17 00:00:00 2001 From: Kye Date: Sun, 30 Jul 2023 20:50:01 -0400 Subject: [PATCH] clean up --- DOCS/PLATFORMS.md | 1 + abstraction.py | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 abstraction.py diff --git a/DOCS/PLATFORMS.md b/DOCS/PLATFORMS.md index 1c18eb5b..d0c53f8a 100644 --- a/DOCS/PLATFORMS.md +++ b/DOCS/PLATFORMS.md @@ -8,3 +8,4 @@ * PAID API +* MARKETPLACE FOR PREBUILT SWARMS WITH SPECIFIC PROMPTS, MODELS, TOOLS, AND MEMORIES, \ No newline at end of file diff --git a/abstraction.py b/abstraction.py new file mode 100644 index 00000000..34da37a9 --- /dev/null +++ b/abstraction.py @@ -0,0 +1,32 @@ +from swarms import Model, Agent, WorkerNode, vectorstore, tools, orchestrator + +#1 model +Model(openai) + +#2 agent level +Agent( + model, + vectorstore, + tools +) + +#3 worker infrastructure level +worker_node( + Agent, + human_input, + tools +) + +#4 swarm level basically handling infrastructure for multiple worker node +swarm = orchestrator( + worker_node, + 100 # nodes +) + +#5 +hivemind = Hivemind( + swarm * 100 +) + + +#a market different pre built worker or boss agent that have access to different tools and memory, proompts \ No newline at end of file