{{define "content"}}{{template "settings-start" .}}{{with .Data}}{{$d := .}}

Agents

Programs that use Supermarket over MCP, each with its own key, given modules to read, or to read and act on. Agents reach {{.MCPURL}} with Authorization: Bearer <key>.

{{if .Rows}}
{{range .Rows}}{{end}}
AgentMayKeysLast used
{{.Name}}{{if .BuiltIn}} built in{{end}}{{if eq .Status "disabled"}} turned off{{end}}{{if not .Limits.Paused.IsZero}} paused{{end}}{{with .Description}}
{{truncate 120 .}}{{end}}
{{.Access}} {{if .Working}}{{.Working}} working{{else}}none working{{end}} {{with .Last}}{{ago .Used}}{{with .UsedFrom}} from {{.}}{{end}}{{else}}never{{end}}
{{end}}

New agent

{{with .Problem}}{{end}}
{{template "agent-scopes" (dict "Scopes" .Form.Scopes "Grants" .Grants)}}

Its key is shown once, after this. Only a hash of it is kept.

{{end}}{{template "settings-end"}}{{end}}