agents

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package agents (piece ⑰) makes Exhale agent-ready: an MCP server that exposes every use case as a tool, the household briefing as a resource, and ready-made prompts (ADR 0018).

Index

Constants

View Source
const Instructions = `` /* 499-byte string literal not displayed */

Instructions are sent to every MCP client on connection.

Variables

This section is empty.

Functions

func ClientName

func ClientName(session *mcp.ServerSession) string

ClientName returns the name the MCP client announced, e.g. "claude-ai".

func NewServer

func NewServer(svc *app.Service, version string, actor ActorFunc) (*mcp.Server, error)

NewServer returns an MCP server exposing the whole use-case catalog.

Types

type ActorFunc

type ActorFunc func(ctx context.Context, extra *mcp.RequestExtra, session *mcp.ServerSession) (app.Actor, error)

ActorFunc resolves who is calling. extra carries the HTTP headers (bearer token) for HTTP sessions; it is nil over stdio.

Jump to

Keyboard shortcuts

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