@nex-ai/nex 0.1.27 → 0.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -8
- package/dist/agent/message-router.d.ts +26 -0
- package/dist/agent/message-router.js +114 -0
- package/dist/agent/message-router.js.map +1 -0
- package/dist/agent/orchestrate.d.ts +26 -0
- package/dist/agent/orchestrate.js +87 -0
- package/dist/agent/orchestrate.js.map +1 -0
- package/dist/agent/providers/types.d.ts +5 -0
- package/dist/agent/providers/types.js +2 -0
- package/dist/agent/providers/types.js.map +1 -0
- package/dist/agent/templates.js +7 -0
- package/dist/agent/templates.js.map +1 -1
- package/dist/agent/tick-manager.d.ts +20 -0
- package/dist/agent/tick-manager.js +50 -0
- package/dist/agent/tick-manager.js.map +1 -0
- package/dist/commands/dispatch.d.ts +5 -0
- package/dist/commands/dispatch.js +108 -0
- package/dist/commands/dispatch.js.map +1 -1
- package/dist/index.js +90 -22
- package/dist/index.js.map +1 -1
- package/dist/lib/claude-code-installer.d.ts +8 -0
- package/dist/lib/claude-code-installer.js +76 -0
- package/dist/lib/claude-code-installer.js.map +1 -0
- package/dist/plugin/context-format.d.ts +4 -0
- package/dist/plugin/context-format.js +4 -0
- package/dist/plugin/context-format.js.map +1 -1
- package/dist/plugin/recall-filter.d.ts +14 -5
- package/dist/plugin/recall-filter.js +29 -41
- package/dist/plugin/recall-filter.js.map +1 -1
- package/dist/tui/app.js +9 -104
- package/dist/tui/app.js.map +1 -1
- package/dist/tui/register-views.js +7 -1
- package/dist/tui/register-views.js.map +1 -1
- package/dist/tui/views/stream.d.ts +16 -0
- package/dist/tui/views/stream.js +210 -0
- package/dist/tui/views/stream.js.map +1 -0
- package/package.json +7 -5
- package/platform-rules/aider-conventions.md +20 -12
- package/platform-rules/cline-rules.md +20 -8
- package/platform-rules/continue-rules.md +20 -8
- package/platform-rules/cursor-rules.md +20 -8
- package/platform-rules/kilocode-rules.md +20 -8
- package/platform-rules/opencode-agents.md +20 -12
- package/platform-rules/vscode-instructions.md +20 -12
- package/platform-rules/windsurf-rules.md +20 -8
- package/platform-rules/zed-rules.md +20 -12
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
# --- Nex Context & Memory ---
|
|
2
|
-
|
|
3
1
|
# Nex — Organizational Context & Memory
|
|
4
2
|
|
|
5
|
-
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, and
|
|
3
|
+
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, insights, patterns, and playbooks — via MCP tools. Context is proactively injected into your conversation, so relevant knowledge surfaces automatically even when you don't ask for it.
|
|
6
4
|
|
|
7
5
|
## MCP Tools Available
|
|
8
6
|
|
|
@@ -24,15 +22,25 @@ Shows which integrations (Gmail, Slack, Calendar, CRM) are connected and active.
|
|
|
24
22
|
### `nex_connect_integration` — Connect a data source
|
|
25
23
|
Initiate OAuth connection for Gmail, Google Calendar, Outlook, Slack, Salesforce, HubSpot, or Attio.
|
|
26
24
|
|
|
27
|
-
##
|
|
25
|
+
## Proactive Context
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
- **People or companies** — contacts, relationships, org charts
|
|
31
|
-
- **Deals or opportunities** — status, history, next steps
|
|
32
|
-
- **Meetings or calls** — past conversations, upcoming schedules
|
|
33
|
-
- **Emails or messages** — communication history
|
|
34
|
-
- **Organizational context** — company knowledge, team notes, decisions
|
|
27
|
+
Nex automatically surfaces relevant context from the user's knowledge graph on every prompt — not just questions. When you see a `<nex-context>` block, use it naturally to inform your response:
|
|
35
28
|
|
|
36
|
-
|
|
29
|
+
- **Entity insights** — facts about people, companies, and deals mentioned or relevant to the task
|
|
30
|
+
- **Knowledge insights** — patterns, lessons learned, and domain knowledge from past work
|
|
31
|
+
- **Playbook rules** — proven approaches and best practices from the user's experience
|
|
32
|
+
|
|
33
|
+
Leverage this context to provide more informed, personalized responses. If the context mentions a relevant pattern or past decision, incorporate it naturally without explicitly referencing the context block.
|
|
34
|
+
|
|
35
|
+
## When to Use Nex Tools Directly
|
|
37
36
|
|
|
38
|
-
|
|
37
|
+
Use `nex_ask` proactively when:
|
|
38
|
+
- The user mentions a person, company, or project — look up their context
|
|
39
|
+
- The task involves a domain the knowledge graph may have insights on
|
|
40
|
+
- You need organizational context to make a better recommendation
|
|
41
|
+
|
|
42
|
+
Use `nex_remember` when:
|
|
43
|
+
- The user shares a decision, preference, or important fact worth persisting
|
|
44
|
+
- A conversation reveals new knowledge that future sessions should have access to
|
|
45
|
+
|
|
46
|
+
Always try `nex_ask` first for general queries. Use `nex_search` when you need to find a specific record by name.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Nex — Organizational Context & Memory
|
|
2
2
|
|
|
3
|
-
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, and
|
|
3
|
+
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, insights, patterns, and playbooks — via MCP tools. Context is proactively injected into your conversation, so relevant knowledge surfaces automatically even when you don't ask for it.
|
|
4
4
|
|
|
5
5
|
## MCP Tools Available
|
|
6
6
|
|
|
@@ -22,13 +22,25 @@ Shows which integrations (Gmail, Slack, Calendar, CRM) are connected and active.
|
|
|
22
22
|
### `nex_connect_integration` — Connect a data source
|
|
23
23
|
Initiate OAuth connection for Gmail, Google Calendar, Outlook, Slack, Salesforce, HubSpot, or Attio.
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Proactive Context
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- **
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
32
|
-
|
|
27
|
+
Nex automatically surfaces relevant context from the user's knowledge graph on every prompt — not just questions. When you see a `<nex-context>` block, use it naturally to inform your response:
|
|
28
|
+
|
|
29
|
+
- **Entity insights** — facts about people, companies, and deals mentioned or relevant to the task
|
|
30
|
+
- **Knowledge insights** — patterns, lessons learned, and domain knowledge from past work
|
|
31
|
+
- **Playbook rules** — proven approaches and best practices from the user's experience
|
|
32
|
+
|
|
33
|
+
Leverage this context to provide more informed, personalized responses. If the context mentions a relevant pattern or past decision, incorporate it naturally without explicitly referencing the context block.
|
|
34
|
+
|
|
35
|
+
## When to Use Nex Tools Directly
|
|
36
|
+
|
|
37
|
+
Use `nex_ask` proactively when:
|
|
38
|
+
- The user mentions a person, company, or project — look up their context
|
|
39
|
+
- The task involves a domain the knowledge graph may have insights on
|
|
40
|
+
- You need organizational context to make a better recommendation
|
|
41
|
+
|
|
42
|
+
Use `nex_remember` when:
|
|
43
|
+
- The user shares a decision, preference, or important fact worth persisting
|
|
44
|
+
- A conversation reveals new knowledge that future sessions should have access to
|
|
33
45
|
|
|
34
46
|
Always try `nex_ask` first for general queries. Use `nex_search` when you need to find a specific record by name.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Nex — Organizational Context & Memory
|
|
2
2
|
|
|
3
|
-
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, and
|
|
3
|
+
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, insights, patterns, and playbooks — via MCP tools. Context is proactively injected into your conversation, so relevant knowledge surfaces automatically even when you don't ask for it.
|
|
4
4
|
|
|
5
5
|
## MCP Tools Available
|
|
6
6
|
|
|
@@ -22,13 +22,25 @@ Shows which integrations (Gmail, Slack, Calendar, CRM) are connected and active.
|
|
|
22
22
|
### `nex_connect_integration` — Connect a data source
|
|
23
23
|
Initiate OAuth connection for Gmail, Google Calendar, Outlook, Slack, Salesforce, HubSpot, or Attio.
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Proactive Context
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- **
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
32
|
-
|
|
27
|
+
Nex automatically surfaces relevant context from the user's knowledge graph on every prompt — not just questions. When you see a `<nex-context>` block, use it naturally to inform your response:
|
|
28
|
+
|
|
29
|
+
- **Entity insights** — facts about people, companies, and deals mentioned or relevant to the task
|
|
30
|
+
- **Knowledge insights** — patterns, lessons learned, and domain knowledge from past work
|
|
31
|
+
- **Playbook rules** — proven approaches and best practices from the user's experience
|
|
32
|
+
|
|
33
|
+
Leverage this context to provide more informed, personalized responses. If the context mentions a relevant pattern or past decision, incorporate it naturally without explicitly referencing the context block.
|
|
34
|
+
|
|
35
|
+
## When to Use Nex Tools Directly
|
|
36
|
+
|
|
37
|
+
Use `nex_ask` proactively when:
|
|
38
|
+
- The user mentions a person, company, or project — look up their context
|
|
39
|
+
- The task involves a domain the knowledge graph may have insights on
|
|
40
|
+
- You need organizational context to make a better recommendation
|
|
41
|
+
|
|
42
|
+
Use `nex_remember` when:
|
|
43
|
+
- The user shares a decision, preference, or important fact worth persisting
|
|
44
|
+
- A conversation reveals new knowledge that future sessions should have access to
|
|
33
45
|
|
|
34
46
|
Always try `nex_ask` first for general queries. Use `nex_search` when you need to find a specific record by name.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Nex — Organizational Context & Memory
|
|
2
2
|
|
|
3
|
-
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, and
|
|
3
|
+
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, insights, patterns, and playbooks — via MCP tools. Context is proactively injected into your conversation, so relevant knowledge surfaces automatically even when you don't ask for it.
|
|
4
4
|
|
|
5
5
|
## MCP Tools Available
|
|
6
6
|
|
|
@@ -22,13 +22,25 @@ Shows which integrations (Gmail, Slack, Calendar, CRM) are connected and active.
|
|
|
22
22
|
### `nex_connect_integration` — Connect a data source
|
|
23
23
|
Initiate OAuth connection for Gmail, Google Calendar, Outlook, Slack, Salesforce, HubSpot, or Attio.
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Proactive Context
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- **
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
32
|
-
|
|
27
|
+
Nex automatically surfaces relevant context from the user's knowledge graph on every prompt — not just questions. When you see a `<nex-context>` block, use it naturally to inform your response:
|
|
28
|
+
|
|
29
|
+
- **Entity insights** — facts about people, companies, and deals mentioned or relevant to the task
|
|
30
|
+
- **Knowledge insights** — patterns, lessons learned, and domain knowledge from past work
|
|
31
|
+
- **Playbook rules** — proven approaches and best practices from the user's experience
|
|
32
|
+
|
|
33
|
+
Leverage this context to provide more informed, personalized responses. If the context mentions a relevant pattern or past decision, incorporate it naturally without explicitly referencing the context block.
|
|
34
|
+
|
|
35
|
+
## When to Use Nex Tools Directly
|
|
36
|
+
|
|
37
|
+
Use `nex_ask` proactively when:
|
|
38
|
+
- The user mentions a person, company, or project — look up their context
|
|
39
|
+
- The task involves a domain the knowledge graph may have insights on
|
|
40
|
+
- You need organizational context to make a better recommendation
|
|
41
|
+
|
|
42
|
+
Use `nex_remember` when:
|
|
43
|
+
- The user shares a decision, preference, or important fact worth persisting
|
|
44
|
+
- A conversation reveals new knowledge that future sessions should have access to
|
|
33
45
|
|
|
34
46
|
Always try `nex_ask` first for general queries. Use `nex_search` when you need to find a specific record by name.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Nex — Organizational Context & Memory
|
|
2
2
|
|
|
3
|
-
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, and
|
|
3
|
+
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, insights, patterns, and playbooks — via MCP tools. Context is proactively injected into your conversation, so relevant knowledge surfaces automatically even when you don't ask for it.
|
|
4
4
|
|
|
5
5
|
## MCP Tools Available
|
|
6
6
|
|
|
@@ -22,13 +22,25 @@ Shows which integrations (Gmail, Slack, Calendar, CRM) are connected and active.
|
|
|
22
22
|
### `nex_connect_integration` — Connect a data source
|
|
23
23
|
Initiate OAuth connection for Gmail, Google Calendar, Outlook, Slack, Salesforce, HubSpot, or Attio.
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Proactive Context
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- **
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
32
|
-
|
|
27
|
+
Nex automatically surfaces relevant context from the user's knowledge graph on every prompt — not just questions. When you see a `<nex-context>` block, use it naturally to inform your response:
|
|
28
|
+
|
|
29
|
+
- **Entity insights** — facts about people, companies, and deals mentioned or relevant to the task
|
|
30
|
+
- **Knowledge insights** — patterns, lessons learned, and domain knowledge from past work
|
|
31
|
+
- **Playbook rules** — proven approaches and best practices from the user's experience
|
|
32
|
+
|
|
33
|
+
Leverage this context to provide more informed, personalized responses. If the context mentions a relevant pattern or past decision, incorporate it naturally without explicitly referencing the context block.
|
|
34
|
+
|
|
35
|
+
## When to Use Nex Tools Directly
|
|
36
|
+
|
|
37
|
+
Use `nex_ask` proactively when:
|
|
38
|
+
- The user mentions a person, company, or project — look up their context
|
|
39
|
+
- The task involves a domain the knowledge graph may have insights on
|
|
40
|
+
- You need organizational context to make a better recommendation
|
|
41
|
+
|
|
42
|
+
Use `nex_remember` when:
|
|
43
|
+
- The user shares a decision, preference, or important fact worth persisting
|
|
44
|
+
- A conversation reveals new knowledge that future sessions should have access to
|
|
33
45
|
|
|
34
46
|
Always try `nex_ask` first for general queries. Use `nex_search` when you need to find a specific record by name.
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
# --- Nex Context & Memory ---
|
|
2
|
-
|
|
3
1
|
# Nex — Organizational Context & Memory
|
|
4
2
|
|
|
5
|
-
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, and
|
|
3
|
+
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, insights, patterns, and playbooks — via MCP tools. Context is proactively injected into your conversation, so relevant knowledge surfaces automatically even when you don't ask for it.
|
|
6
4
|
|
|
7
5
|
## MCP Tools Available
|
|
8
6
|
|
|
@@ -24,15 +22,25 @@ Shows which integrations (Gmail, Slack, Calendar, CRM) are connected and active.
|
|
|
24
22
|
### `nex_connect_integration` — Connect a data source
|
|
25
23
|
Initiate OAuth connection for Gmail, Google Calendar, Outlook, Slack, Salesforce, HubSpot, or Attio.
|
|
26
24
|
|
|
27
|
-
##
|
|
25
|
+
## Proactive Context
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
- **People or companies** — contacts, relationships, org charts
|
|
31
|
-
- **Deals or opportunities** — status, history, next steps
|
|
32
|
-
- **Meetings or calls** — past conversations, upcoming schedules
|
|
33
|
-
- **Emails or messages** — communication history
|
|
34
|
-
- **Organizational context** — company knowledge, team notes, decisions
|
|
27
|
+
Nex automatically surfaces relevant context from the user's knowledge graph on every prompt — not just questions. When you see a `<nex-context>` block, use it naturally to inform your response:
|
|
35
28
|
|
|
36
|
-
|
|
29
|
+
- **Entity insights** — facts about people, companies, and deals mentioned or relevant to the task
|
|
30
|
+
- **Knowledge insights** — patterns, lessons learned, and domain knowledge from past work
|
|
31
|
+
- **Playbook rules** — proven approaches and best practices from the user's experience
|
|
32
|
+
|
|
33
|
+
Leverage this context to provide more informed, personalized responses. If the context mentions a relevant pattern or past decision, incorporate it naturally without explicitly referencing the context block.
|
|
34
|
+
|
|
35
|
+
## When to Use Nex Tools Directly
|
|
37
36
|
|
|
38
|
-
|
|
37
|
+
Use `nex_ask` proactively when:
|
|
38
|
+
- The user mentions a person, company, or project — look up their context
|
|
39
|
+
- The task involves a domain the knowledge graph may have insights on
|
|
40
|
+
- You need organizational context to make a better recommendation
|
|
41
|
+
|
|
42
|
+
Use `nex_remember` when:
|
|
43
|
+
- The user shares a decision, preference, or important fact worth persisting
|
|
44
|
+
- A conversation reveals new knowledge that future sessions should have access to
|
|
45
|
+
|
|
46
|
+
Always try `nex_ask` first for general queries. Use `nex_search` when you need to find a specific record by name.
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
---
|
|
2
|
-
applyTo: "**"
|
|
3
|
-
---
|
|
4
|
-
|
|
5
1
|
# Nex — Organizational Context & Memory
|
|
6
2
|
|
|
7
|
-
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, and
|
|
3
|
+
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, insights, patterns, and playbooks — via MCP tools. Context is proactively injected into your conversation, so relevant knowledge surfaces automatically even when you don't ask for it.
|
|
8
4
|
|
|
9
5
|
## MCP Tools Available
|
|
10
6
|
|
|
@@ -26,13 +22,25 @@ Shows which integrations (Gmail, Slack, Calendar, CRM) are connected and active.
|
|
|
26
22
|
### `nex_connect_integration` — Connect a data source
|
|
27
23
|
Initiate OAuth connection for Gmail, Google Calendar, Outlook, Slack, Salesforce, HubSpot, or Attio.
|
|
28
24
|
|
|
29
|
-
##
|
|
25
|
+
## Proactive Context
|
|
26
|
+
|
|
27
|
+
Nex automatically surfaces relevant context from the user's knowledge graph on every prompt — not just questions. When you see a `<nex-context>` block, use it naturally to inform your response:
|
|
28
|
+
|
|
29
|
+
- **Entity insights** — facts about people, companies, and deals mentioned or relevant to the task
|
|
30
|
+
- **Knowledge insights** — patterns, lessons learned, and domain knowledge from past work
|
|
31
|
+
- **Playbook rules** — proven approaches and best practices from the user's experience
|
|
32
|
+
|
|
33
|
+
Leverage this context to provide more informed, personalized responses. If the context mentions a relevant pattern or past decision, incorporate it naturally without explicitly referencing the context block.
|
|
34
|
+
|
|
35
|
+
## When to Use Nex Tools Directly
|
|
36
|
+
|
|
37
|
+
Use `nex_ask` proactively when:
|
|
38
|
+
- The user mentions a person, company, or project — look up their context
|
|
39
|
+
- The task involves a domain the knowledge graph may have insights on
|
|
40
|
+
- You need organizational context to make a better recommendation
|
|
30
41
|
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
- **Meetings or calls** — past conversations, upcoming schedules
|
|
35
|
-
- **Emails or messages** — communication history
|
|
36
|
-
- **Organizational context** — company knowledge, team notes, decisions
|
|
42
|
+
Use `nex_remember` when:
|
|
43
|
+
- The user shares a decision, preference, or important fact worth persisting
|
|
44
|
+
- A conversation reveals new knowledge that future sessions should have access to
|
|
37
45
|
|
|
38
46
|
Always try `nex_ask` first for general queries. Use `nex_search` when you need to find a specific record by name.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Nex — Organizational Context & Memory
|
|
2
2
|
|
|
3
|
-
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, and
|
|
3
|
+
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, insights, patterns, and playbooks — via MCP tools. Context is proactively injected into your conversation, so relevant knowledge surfaces automatically even when you don't ask for it.
|
|
4
4
|
|
|
5
5
|
## MCP Tools Available
|
|
6
6
|
|
|
@@ -22,13 +22,25 @@ Shows which integrations (Gmail, Slack, Calendar, CRM) are connected and active.
|
|
|
22
22
|
### `nex_connect_integration` — Connect a data source
|
|
23
23
|
Initiate OAuth connection for Gmail, Google Calendar, Outlook, Slack, Salesforce, HubSpot, or Attio.
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Proactive Context
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- **
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
32
|
-
|
|
27
|
+
Nex automatically surfaces relevant context from the user's knowledge graph on every prompt — not just questions. When you see a `<nex-context>` block, use it naturally to inform your response:
|
|
28
|
+
|
|
29
|
+
- **Entity insights** — facts about people, companies, and deals mentioned or relevant to the task
|
|
30
|
+
- **Knowledge insights** — patterns, lessons learned, and domain knowledge from past work
|
|
31
|
+
- **Playbook rules** — proven approaches and best practices from the user's experience
|
|
32
|
+
|
|
33
|
+
Leverage this context to provide more informed, personalized responses. If the context mentions a relevant pattern or past decision, incorporate it naturally without explicitly referencing the context block.
|
|
34
|
+
|
|
35
|
+
## When to Use Nex Tools Directly
|
|
36
|
+
|
|
37
|
+
Use `nex_ask` proactively when:
|
|
38
|
+
- The user mentions a person, company, or project — look up their context
|
|
39
|
+
- The task involves a domain the knowledge graph may have insights on
|
|
40
|
+
- You need organizational context to make a better recommendation
|
|
41
|
+
|
|
42
|
+
Use `nex_remember` when:
|
|
43
|
+
- The user shares a decision, preference, or important fact worth persisting
|
|
44
|
+
- A conversation reveals new knowledge that future sessions should have access to
|
|
33
45
|
|
|
34
46
|
Always try `nex_ask` first for general queries. Use `nex_search` when you need to find a specific record by name.
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
# --- Nex Context & Memory ---
|
|
2
|
-
|
|
3
1
|
# Nex — Organizational Context & Memory
|
|
4
2
|
|
|
5
|
-
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, and
|
|
3
|
+
Nex provides your AI agent with real-time organizational knowledge — contacts, deals, meetings, emails, notes, insights, patterns, and playbooks — via MCP tools. Context is proactively injected into your conversation, so relevant knowledge surfaces automatically even when you don't ask for it.
|
|
6
4
|
|
|
7
5
|
## MCP Tools Available
|
|
8
6
|
|
|
@@ -24,15 +22,25 @@ Shows which integrations (Gmail, Slack, Calendar, CRM) are connected and active.
|
|
|
24
22
|
### `nex_connect_integration` — Connect a data source
|
|
25
23
|
Initiate OAuth connection for Gmail, Google Calendar, Outlook, Slack, Salesforce, HubSpot, or Attio.
|
|
26
24
|
|
|
27
|
-
##
|
|
25
|
+
## Proactive Context
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
- **People or companies** — contacts, relationships, org charts
|
|
31
|
-
- **Deals or opportunities** — status, history, next steps
|
|
32
|
-
- **Meetings or calls** — past conversations, upcoming schedules
|
|
33
|
-
- **Emails or messages** — communication history
|
|
34
|
-
- **Organizational context** — company knowledge, team notes, decisions
|
|
27
|
+
Nex automatically surfaces relevant context from the user's knowledge graph on every prompt — not just questions. When you see a `<nex-context>` block, use it naturally to inform your response:
|
|
35
28
|
|
|
36
|
-
|
|
29
|
+
- **Entity insights** — facts about people, companies, and deals mentioned or relevant to the task
|
|
30
|
+
- **Knowledge insights** — patterns, lessons learned, and domain knowledge from past work
|
|
31
|
+
- **Playbook rules** — proven approaches and best practices from the user's experience
|
|
32
|
+
|
|
33
|
+
Leverage this context to provide more informed, personalized responses. If the context mentions a relevant pattern or past decision, incorporate it naturally without explicitly referencing the context block.
|
|
34
|
+
|
|
35
|
+
## When to Use Nex Tools Directly
|
|
37
36
|
|
|
38
|
-
|
|
37
|
+
Use `nex_ask` proactively when:
|
|
38
|
+
- The user mentions a person, company, or project — look up their context
|
|
39
|
+
- The task involves a domain the knowledge graph may have insights on
|
|
40
|
+
- You need organizational context to make a better recommendation
|
|
41
|
+
|
|
42
|
+
Use `nex_remember` when:
|
|
43
|
+
- The user shares a decision, preference, or important fact worth persisting
|
|
44
|
+
- A conversation reveals new knowledge that future sessions should have access to
|
|
45
|
+
|
|
46
|
+
Always try `nex_ask` first for general queries. Use `nex_search` when you need to find a specific record by name.
|