@inference-gateway/cli 0.215.0 → 0.216.1
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 +6 -26
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -92,6 +92,8 @@ An agentic command-line assistant that writes code, understands project context,
|
|
|
92
92
|
- **MCP Server Support**: Direct integration with Model Context Protocol servers for extended tool capabilities.
|
|
93
93
|
Servers must speak MCP `2026-07-28`; the gateway's `/mcp` works as a single entry for all its servers -
|
|
94
94
|
[Learn more →](docs/mcp-integration.md)
|
|
95
|
+
- **Custom Tools**: Add tools written in any language with one YAML manifest per tool in `~/.infer/tools/` or a
|
|
96
|
+
project's `.infer/tools/` / `.agents/tools/` - no SDK or server needed - [Learn more →](docs/custom-tools.md)
|
|
95
97
|
- **Web Terminal Interface**: Browser-based terminal access with tabbed sessions for remote access and multi-session workflows - [Learn more →](docs/web-terminal.md)
|
|
96
98
|
- **Remote Messaging Channels**: Control the agent from Telegram, WhatsApp, and other platforms via a pluggable channel system - [Learn more →](docs/channels.md)
|
|
97
99
|
- **Speech-to-Text (Whisper)**: Dictate into chat with `/voice` and transcribe inbound Telegram voice messages, locally and offline -
|
|
@@ -326,6 +328,7 @@ Now that you're up and running, explore these guides:
|
|
|
326
328
|
|
|
327
329
|
- **[Commands Reference](docs/commands-reference.md)** - Complete command documentation
|
|
328
330
|
- **[Tools Reference](docs/tools-reference.md)** - Available tools for LLMs
|
|
331
|
+
- **[Custom Tools](docs/custom-tools.md)** - Add your own tools in any language through YAML manifests
|
|
329
332
|
- **[Configuration Guide](docs/configuration-reference.md)** - Full configuration options
|
|
330
333
|
- **[Directory Structure](docs/directory-structure.md)** - Map of every file and subdirectory the CLI creates under `.infer/` and `~/.infer/`
|
|
331
334
|
- **[Web Terminal](docs/web-terminal.md)** - Browser-based terminal interface
|
|
@@ -683,30 +686,6 @@ infer config set tools.grep.backend ripgrep
|
|
|
683
686
|
infer config set tools.web_fetch.allowed_domains "example.com,github.com"
|
|
684
687
|
```
|
|
685
688
|
|
|
686
|
-
**Customising Tool Descriptions:**
|
|
687
|
-
|
|
688
|
-
The description each tool exposes to the LLM is configurable in
|
|
689
|
-
`.infer/prompts.yaml` under the `tools` key - useful when a model
|
|
690
|
-
misinterprets a default or when you want to nudge usage:
|
|
691
|
-
|
|
692
|
-
```yaml
|
|
693
|
-
# .infer/prompts.yaml
|
|
694
|
-
tools:
|
|
695
|
-
Bash:
|
|
696
|
-
description: |-
|
|
697
|
-
Execute allowed bash commands securely. Only pre-approved
|
|
698
|
-
commands from the allowed list can be executed.
|
|
699
|
-
Read:
|
|
700
|
-
description: |-
|
|
701
|
-
Reads a file from the local filesystem. Always prefer reading
|
|
702
|
-
whole files unless the file is very large.
|
|
703
|
-
```
|
|
704
|
-
|
|
705
|
-
Any tool you omit falls back to the in-code default. Env-var override:
|
|
706
|
-
`INFER_PROMPTS_TOOLS_<UPPER_SNAKE_NAME>_DESCRIPTION` (e.g.
|
|
707
|
-
`INFER_PROMPTS_TOOLS_BASH_DESCRIPTION`). MCP tool descriptions are not
|
|
708
|
-
configurable here - they come from the MCP server at runtime.
|
|
709
|
-
|
|
710
689
|
See [Tools Reference](docs/tools-reference.md) for complete documentation.
|
|
711
690
|
|
|
712
691
|
## Configuration
|
|
@@ -1449,14 +1428,15 @@ hooks:
|
|
|
1449
1428
|
|
|
1450
1429
|
### Docker Compose Examples
|
|
1451
1430
|
|
|
1452
|
-
Each directory under [`examples/`](examples/) is a self-contained, runnable setup with its own README
|
|
1453
|
-
|
|
1431
|
+
Each directory under [`examples/`](examples/) is a self-contained, runnable setup with its own README,
|
|
1432
|
+
most with a Docker Compose file:
|
|
1454
1433
|
|
|
1455
1434
|
| Example | Demonstrates |
|
|
1456
1435
|
| --------- | -------------- |
|
|
1457
1436
|
| [basic](examples/basic/) | Minimal gateway + CLI setup to get started |
|
|
1458
1437
|
| [a2a](examples/a2a/) | Agent-to-Agent: multiple agents, a demo site, and a VNC container |
|
|
1459
1438
|
| [mcp](examples/mcp/) | MCP server integration with a sample server and config |
|
|
1439
|
+
| [tools](examples/tools/) | Custom tools in Python and shell, run offline against a scripted mock model |
|
|
1460
1440
|
| [computer-use](examples/computer-use/) | Computer Use driving a sandboxed Ubuntu GUI container |
|
|
1461
1441
|
| [model-switching](examples/model-switching/) | Switching models mid-session, with a small frontend |
|
|
1462
1442
|
| [shortcuts](examples/shortcuts/) | Custom `/`-shortcuts wired through config |
|