Versions in this module Expand all Collapse all v0 v0.12.1 Nov 20, 2025 v0.12.0 Nov 19, 2025 Changes in this version + type Cosmos struct + func New(opts *Options) *Cosmos + func (c *Cosmos) Create(ctx context.Context, config *types.AgentConfig) (*agent.Agent, error) + func (c *Cosmos) Delete(ctx context.Context, agentID string) error + func (c *Cosmos) ForEach(fn func(agentID string, ag *agent.Agent) error) error + func (c *Cosmos) Get(agentID string) (*agent.Agent, bool) + func (c *Cosmos) List(prefix string) []string + func (c *Cosmos) Remove(agentID string) error + func (c *Cosmos) Resume(ctx context.Context, agentID string, config *types.AgentConfig) (*agent.Agent, error) + func (c *Cosmos) ResumeAll(ctx context.Context, configFactory func(agentID string) *types.AgentConfig) ([]*agent.Agent, error) + func (c *Cosmos) Shutdown() error + func (c *Cosmos) Size() int + func (c *Cosmos) Status(agentID string) (*types.AgentStatus, error) + type Options struct + Dependencies *agent.Dependencies + MaxAgents int