You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
A minimalist, terminal-based chat CLI built to explore the new [Claude Agent SDK](https://docs.claude.com/en/api/agent-sdk/overview) and based on [damassi/agent-chat-cli](https://github.com/damassi/agent-chat-cli). Terminal rendering is built on top of [React Ink](https://github.com/vadimdemedes/ink).
4
4
5
-
Additionally, via inference, Agent Chat CLI supports lazy, turn-based MCP connections to keep token costs down. The agent will only use those MCP servers you ask about, limiting the context that is sent up to the LLM. (After an MCP server is connected it remains connected, however.)
5
+
Additionally, via inference, Agent Chat CLI supports lazy, turn-based MCP connections to keep token costs down and performance reasonable. The agent will only use those MCP servers you ask about, limiting the context that is sent up to the LLM. (After an MCP server is connected it remains connected, however.)
6
6
7
7
## Overview
8
8
@@ -75,7 +75,9 @@ Run the agent in interactive terminal mode:
75
75
bun start
76
76
```
77
77
78
-
You'll see a prompt where you can type your questions or requests.
78
+
You'll see a prompt where you can type your questions or requests. If you send it a general "Help!" query it will generate a help menu based upon configured MCP servers, if said MCP servers have corresponding system prompts in the `prompts` folder:
"A detailed description of the MCP server and its capabilities used to provide hints to inference agent",
118
122
command: "bunx",
119
123
args: ["..."],
120
124
prompt: getPrompt("someMcpServer.md"),
@@ -123,6 +127,8 @@ const config = {
123
127
}
124
128
```
125
129
130
+
The `description` field is **critical**; it's used by the inference routing agent to determine when to invoke the server or subagent.
131
+
126
132
#### Remote Prompts
127
133
128
134
Prompts can be loaded from remote sources (e.g., APIs) using `getRemotePrompt`. This enables dynamic prompt management where prompts are stored in a database or CMS rather than in files.
@@ -236,8 +242,6 @@ When a user asks something like "Analyze partner churn", the routing agent will:
236
242
2. Automatically connect to the required `salesforce` MCP server
237
243
3. Invoke the subagent with its specialized prompt and tools
238
244
239
-
The `description` field is **critical**; it's used by the routing agent to determine when to invoke the subagent.
240
-
241
245
**Note:** Subagents also support remote prompts via `getRemotePrompt`, allowing you to manage agent prompts dynamically from an API or database.
0 commit comments