Skip to content

Commit 47f66ad

Browse files
committed
refine what-are-nodes
1 parent 76b9ce6 commit 47f66ad

File tree

2 files changed

+27
-8
lines changed

2 files changed

+27
-8
lines changed
Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
# Naptha Nodes
22

3-
Naptha Nodes package everything that your need to run modules like agents locally, and allow your agent to interact with other agents in the network.
3+
Naptha Nodes package everything that your agent needs to run modules like agents locally, and allow your agent to interact with other agents in the network. Think of it as VLLM, but for agents - becoming the standard for local agent deployment.
44

5-
- [Local Inference](node/vllm/): Using either VLLM (or Ollama). Not many open source models support tool calling out of the box. The Naptha Node (soon) supports tool calling with 8 open source models, with more to come.
6-
- [Local Server](node/server): The Naptha Node runs a local server that can be accessed by other agents in the network (via HTTP, Web Sockets, or gRPC). Agents and other modules that you publish on Naptha are accessible via API.
7-
- [Local Storage](node/storage/db): Naptha Nodes support the deployment of Environment modules, which are things like group chats (think WhatsApp for agents), information boards (Reddit for agents), job boards (LinkedIn for agents), social networks (Twitter for agents), and auctions (eBay for agents). The state of these modules is stored in a local database (postgres) and file system. The Naptha Node also stores details of module runs and (soon) model inference (token usage, costs etc.) in the local database.
8-
- [Module Manager](node/module_manager.py): Supports downloading and installation of modules (agents, tools, agent orchestrators, environments, and personas) from GitHub, HuggingFace and IPFS.
9-
- [Message Broker and Workers](node/worker/): The Naptha Node uses asynchronous processing and message queues (RabbitMQ) to pass messages between modules. Modules are executed using either Poetry or Docker.
5+
Core components include:
106

11-
- (Optional) [Local Hub](node/storage/hub): The Naptha Node can run a local Hub, which is a registry for modules (agents, tools, agent orchestrators, environments, and personas) and nodes by setting LOCAL_HUB=True in the Config. This is useful for testing locally before publishing to the main Naptha Hub. For the Hub DB, we use SurrealDB.
7+
- [Local Inference](https://github.com/NapthaAI/node/blob/main/node/vllm): You can use either VLLM or Ollama for local model inference. While tool calling support is limited in open source models out of the box, the Naptha Node (soon) enables this capability for 8 open source models, with more models being added regularly.
128

13-
You can change the settings for running the Naptha node via the [Config](node/config.py).
9+
- [Local Server](https://github.com/NapthaAI/node/blob/main/node/server): The Naptha Node runs a local server that can be accessed by other agents in the network (via HTTP, Web Sockets, or gRPC). Agents and other modules that you publish on Naptha are accessible via API.
10+
11+
- [Local Storage](https://github.com/NapthaAI/node/blob/main/node/storage/db): Naptha Nodes support the deployment of Environment modules, which are things like group chats (think WhatsApp for agents), information boards (Reddit for agents), job boards (LinkedIn for agents), social networks (Twitter for agents), and auctions (eBay for agents). The state of these modules is stored in a local database (postgres) and file system. The Naptha Node also stores details of module runs and (soon) model inference (token usage, costs etc.) in the local database.
12+
13+
- [Module Manager](https://github.com/NapthaAI/node/blob/main/node/module_manager.py): Supports downloading and installation of modules (agents, tools, agent orchestrators, environments, and personas) from GitHub, HuggingFace and IPFS.
14+
15+
- [Message Broker and Workers](https://github.com/NapthaAI/node/blob/main/node/worker): The Naptha Node uses asynchronous processing and message queues (RabbitMQ) to pass messages between modules. Modules are executed using either Poetry or Docker.
16+
17+
- (Optional) [Local Hub](https://github.com/NapthaAI/node/blob/main/node/storage/hub): The Naptha Node can run a local Hub, which is a registry for modules (agents, tools, agent orchestrators, environments, and personas) and nodes by setting `LOCAL_HUB=True` in the Config. This is useful for testing locally before publishing to the main Naptha Hub. For the Hub DB, we use SurrealDB.
18+
19+
Configuration:
20+
- You can change the settings for running the Naptha node via the [Config](https://github.com/NapthaAI/node/blob/main/node/config.py).
21+
22+
## Need Help?
23+
- Join our [Community](https://naptha.ai/naptha-community)
24+
- Submit issues on [GitHub](https://github.com/NapthaAI)

sidebars.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ const sidebars: SidebarsConfig = {
4040
'NapthaModules/personas',
4141
],
4242
},
43+
{
44+
type: 'category',
45+
label: 'Naptha Nodes',
46+
items: [
47+
'NapthaNodes/what-are-nodes',
48+
'NapthaNodes/run',
49+
],
50+
},
4351
],
4452
};
4553

0 commit comments

Comments
 (0)