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
+7-10Lines changed: 7 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,12 @@ LLMs are far better at writing code than managing complex tool calls. Instead of
8
8
9
9
## 🚀 Features
10
10
11
-
-**TypeScript Code Execution** – Run TypeScript with full access to registered MCP/UTCP tools
11
+
-**TypeScript Code Execution** – Run JavaScript with full access to registered MCP/UTCP tools
12
12
-**Hierarchical Tool Access** – Tools organized by namespace (e.g. `math_tools.add()`)
13
13
-**Auto-Generated Type Definitions** – Type-safe interfaces for tool inputs and outputs
14
14
-**Runtime Interface Access** – Introspect TypeScript interfaces at runtime
15
15
-**Secure Execution** – Node.js VM sandbox with timeout and resource limits
16
-
-**Composable Calls – Chain** multiple tool calls within a single TypeScript code block
16
+
-**Composable Calls – Chain** multiple tool calls within a single JavaScript code block
17
17
18
18
## 🧠 Why Code Mode
19
19
@@ -28,18 +28,18 @@ Direct tool calling doesn't scale:
28
28
29
29
Code Mode flips this model:
30
30
31
-
1. The LLM gets a single tool: **`execute_code`**
32
-
2.It writes JS/TS that calls your MCP or UTCP endpoints
33
-
3.A lightweight HTTP proxy forwards requests
34
-
4. Results flow back through the execution environment
31
+
1. The LLM gets the ability to search tools in natural language using **`searchTools`**. Each tool is shown as a TypeScript interface.
32
+
2.The LLM gets a single tool: **`callToolChain`**
33
+
3.It writes JS that calls your MCP or UTCP tools as JS functions
34
+
3. Only end results get returned to the agent
35
35
36
36
This leverages what LLMs excel at - **writing code** - while keeping tool orchestration efficient and stateless.
37
37
38
38
## 📦 Benefits
39
39
40
40
### 🧭 Progressive Disclosure
41
41
42
-
Tools can be explored like files on a filesystem — loaded only when needed. Agents can also search for tools dynamically () to keep context lean.`search_tools`
42
+
Agents can search for tools dynamically to keep context lean.`searchTools`
43
43
44
44
### 💾 Context Efficiency
45
45
@@ -53,9 +53,6 @@ Loops, conditionals, and error handling happen naturally in code - not through m
53
53
54
54
Intermediate results stay within the sandbox; sensitive data can be tokenized automatically before reaching the model.
55
55
56
-
### 🧱 State & Skills
57
-
58
-
Agents can persist data or reusable functions (), gradually building their own "skills" over time.`./skills/*.ts`
0 commit comments