agentregistryservice

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: Apache-2.0 Imports: 7 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 agentregistryservice stores declared agent configurations — the "bots table" concept (see the mvp core/serverops/store/schema.sql `bots` table this generalizes) reborn as a polymorphic, kind-dispatched resource. Today the only implemented kind is "external_acp" (an agent the runtime spawns/drives as an external ACP peer via runtime/agenthost); "chain" is reserved in the schema and validation below for a future kind where a contenox task chain itself is addressable as an agent, but is not accepted here yet.

This package intentionally mirrors runtime/mcpserverservice's shape (validated CRUD over a runtimetypes store, no HTTP routes) so the two declared-resource registries stay easy to compare.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Create(ctx context.Context, agent *runtimetypes.Agent) error
	Get(ctx context.Context, id string) (*runtimetypes.Agent, error)
	GetByName(ctx context.Context, name string) (*runtimetypes.Agent, error)
	Update(ctx context.Context, agent *runtimetypes.Agent) error
	Delete(ctx context.Context, id string) error
	List(ctx context.Context, createdAtCursor *time.Time, limit int) ([]*runtimetypes.Agent, error)
}

Service exposes validated CRUD operations for persisted agent configurations.

func New

func New(db libdb.DBManager) Service

New creates a new agent registry service backed by the given database manager.

Jump to

Keyboard shortcuts

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