Documentation
¶
Overview ¶
Package hello is a minimal third-party agent. Its author wrote ONLY the business logic in this file: the platform supplies scheduling, capability, budget, isolation, recovery and audit around it. The agent knows nothing about leases, fencing tokens, schedulers, runtime pools, or budget ledgers (design plan §7 "Third-party developers do not need to understand kernel internals...").
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPMCPClient ¶
type HTTPMCPClient struct {
// contains filtered or unexported fields
}
HTTPMCPClient posts JSON-RPC tool calls to the loopback MCP endpoint, carrying the attempt execution id in the fencing header.
func NewHTTPMCPClient ¶
func NewHTTPMCPClient(endpoint string) *HTTPMCPClient
func (*HTTPMCPClient) CallTool ¶
func (c *HTTPMCPClient) CallTool(ctx context.Context, executionID, name string, callArgs any) (json.RawMessage, error)
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime implements agent.Runtime behind the brokered MCP surface.
func NewRuntime ¶
NewRuntime binds the agent to the loopback MCP endpoint.
func (*Runtime) Checkpoint ¶
Checkpoint implements agent.Runtime.