|
1 |
| -# Architecture |
| 1 | +# Overview of the Naptha Stack |
2 | 2 |
|
3 |
| -Our tech stack is made of three things: |
| 3 | +Open source AI developers and researchers create multi-agent systems face a number of key challenges: |
4 | 4 |
|
5 |
| -* Naptha SDK |
6 |
| -* Naptha Nodes |
7 |
| -* Naptha Hub |
| 5 | +* **Lack of Interoperability:** Agent and multi-agent frameworks built by different groups don’t interoperate. There are few standards for how agent interactions. |
| 6 | +* **Open Source Models use a variety of standards:** Format for tool calling and reasoning, and adherence to structured output, vary depending on the model. |
8 | 7 |
|
9 |
| -This architecture is designed with principles of modularity, scalability, and flexibility in mind. Naptha enables distributed multi-agent systems to grow and support a wide range of AI applications. |
| 8 | +The Naptha SDK, Naptha Modules and Naptha Hub make it easy to build and discover multi-agent systems with heterogeneous models, architectures and data. Naptha Nodes make it easy to deploy and run multi-agent systems at scale, and across a network of devices. |
10 | 9 |
|
11 |
| -### Naptha SDK |
| 10 | +## Naptha Modules |
12 | 11 |
|
13 |
| -Our toolkit empowers developers to build agentic solutions on the Naptha web, infrastructure for decentralized AI. |
| 12 | +Modules are the building blocks of multi-agent systems. They are designed to be framework-agnostic, allowing developers to implement modules using different agent frameworks. There are currently seven types of modules: |
14 | 13 |
|
15 |
| -The [Naptha SDK](https://github.com/NapthaAI/naptha-sdk) is used for prototyping and running Ai agents and multi-agent workflows. It also contains a CLI for interacting with Naptha Nodes and the Naptha Hub. |
| 14 | +* Agents |
| 15 | +* Tools |
| 16 | +* Knowledge Bases |
| 17 | +* Memories |
| 18 | +* Personas |
| 19 | +* Orchestrators |
| 20 | +* Environments |
16 | 21 |
|
17 |
| - |
| 22 | +You can learn more about each module type in the [Naptha Modules](/docs/NapthaModules/overview) section. |
18 | 23 |
|
19 |
| -### Naptha Nodes |
| 24 | +## Naptha Hub |
20 | 25 |
|
21 |
| -Nodes are where the code of a decentralized AI application executes, i.e., they manage task execution, user verification, and storage operations. Our network supports both HTTP and WebSocket communication protocols. Nodes can interact both directly and indirectly (routed). |
| 26 | +HuggingFace but for agents! The Naptha Hub allows you to discover modules, other builders, and nodes on the network. The URL and other metadata of modules are registered on the Naptha Hub, with the module code stored on GitHub, HuggingFace, IPFS, or DockerHub. |
22 | 27 |
|
23 |
| -There are two types of nodes in our network: |
| 28 | +You can learn more about the Hub in the [Getting Started](/docs/GettingStarted/NapthaHub) section. |
24 | 29 |
|
25 |
| -* **Orchestrators:** server, task queue, and database |
26 |
| -* **Workers:** local LLM and module manager |
| 30 | +## Naptha SDK |
27 | 31 |
|
| 32 | +The [Naptha SDK](https://github.com/NapthaAI/naptha-sdk) is made up of: |
28 | 33 |
|
29 |
| -:::info |
30 |
| -Our [node repository](https://github.com/NapthaAI/node) demonstrates how we build and scale multi-agent systems. While currently private, we plan to open source it in early 2025. |
| 34 | +* Abstractions for the composable building blocks of multi-agent apps like Agent, Orchestrator, Tool, Environment, Persona, Knowledge Base, and Memory (i.e. Naptha Modules). With Naptha, communication between these modules happens via API. |
| 35 | +* Decorators for easily onboarding modules from agent frameworks like CrewAI (see our [Integrations](/docs/Integrations/CrewAI) section). |
| 36 | +* A client for interacting with the Naptha Hub (like the huggingface_hub library but for multi-agent apps) |
| 37 | +* A CLI for interacting with the Naptha Hub and Naptha Nodes |
31 | 38 |
|
32 |
| -Want early access? [Join our Discord](https://naptha.ai/naptha-community). |
33 |
| -::: |
| 39 | +You can learn more about the SDK in the [Getting Started](/docs/GettingStarted/InstallSDK) section. |
34 | 40 |
|
35 |
| -### Naptha Hub |
| 41 | +## Naptha Nodes |
36 | 42 |
|
37 |
| -The Hub involves a registry and storage for modules, along with registries for nodes and tasks. This platform handles user authentication and data management, and it provides methods for listing and managing nodes, modules, tasks, and proposals. Also, it leverages SurrealDB for data persistence. |
| 43 | +The [Naptha Node](https://github.com/NapthaAI/naptha-node) packages everything that your need to run agents locally, that interact with other agents in the network. It handles everything from local inference, communication servers, local storage, and orchestration. |
| 44 | + |
| 45 | +You can learn more about the Node and how to run one yourself in the [Naptha Nodes](/docs/NapthaNodes/0-quickstart) section. |
0 commit comments