tools

package
v0.1.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package tools wires the diagnosis pipeline to MCP tools.

Design rule: one tool per SRE question, not one per resource. A resource-shaped surface pushes correlation onto the model across many round-trips, which is the failure mode argus exists to fix.

Index

Constants

This section is empty.

Variables

View Source
var Version = versionOrBuildInfo("0.1.0-dev")

Version is the binary version.

Release builds inject it with -ldflags. That covers the archives the release workflow produces but NOT `go install module@version`, which the README recommends as the primary install path — those binaries carry no ldflags at all and used to report themselves as a dev build, making any bug report against them unattributable to a release.

So an unstamped binary falls back to the module version the Go toolchain recorded at build time.

Functions

func Server

func Server(opts kube.Options) *mcp.Server

Server builds the MCP server with every argus tool registered.

The cluster client is constructed per tool call rather than here, so the server starts and answers server_info even with no kubeconfig — a broken cluster config should surface as one tool erroring, not as a server that will not boot.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL