Versions in this module Expand all Collapse all v0 v0.3.1 Feb 17, 2026 Changes in this version type Manager + func (m *Manager) CallTool(ctx context.Context, name string, input json.RawMessage) (*schema.CallToolResponse, error) v0.3.0 Feb 16, 2026 Changes in this version + func WithOutputDimensionality(dim uint) opt.Opt + func WithTaskType(taskType string) opt.Opt + func WithTitle(title string) opt.Opt + type Manager struct + func NewManager(opts ...Opt) (*Manager, error) + func (m *Manager) Ask(ctx context.Context, request schema.AskRequest, fn opt.StreamFn) (*schema.AskResponse, error) + func (m *Manager) Chat(ctx context.Context, request schema.ChatRequest, fn opt.StreamFn) (*schema.ChatResponse, error) + func (m *Manager) Close() error + func (m *Manager) CreateAgent(ctx context.Context, meta schema.AgentMeta) (*schema.Agent, error) + func (m *Manager) CreateAgentSession(ctx context.Context, id string, request schema.CreateAgentSessionRequest) (*schema.CreateAgentSessionResponse, error) + func (m *Manager) CreateSession(ctx context.Context, meta schema.SessionMeta) (*schema.Session, error) + func (m *Manager) DeleteAgent(ctx context.Context, id string) (*schema.Agent, error) + func (m *Manager) DeleteSession(ctx context.Context, session string) (*schema.Session, error) + func (m *Manager) Embedding(ctx context.Context, request *schema.EmbeddingRequest) (*schema.EmbeddingResponse, error) + func (m *Manager) GetAgent(ctx context.Context, id string) (*schema.Agent, error) + func (m *Manager) GetModel(ctx context.Context, req schema.GetModelRequest) (*schema.Model, error) + func (m *Manager) GetSession(ctx context.Context, session string) (*schema.Session, error) + func (m *Manager) GetTool(_ context.Context, name string) (*schema.ToolMeta, error) + func (m *Manager) ListAgents(ctx context.Context, req schema.ListAgentRequest) (*schema.ListAgentResponse, error) + func (m *Manager) ListModels(ctx context.Context, req schema.ListModelsRequest) (*schema.ListModelsResponse, error) + func (m *Manager) ListSessions(ctx context.Context, req schema.ListSessionRequest) (*schema.ListSessionResponse, error) + func (m *Manager) ListTools(_ context.Context, req schema.ListToolRequest) (*schema.ListToolResponse, error) + func (m *Manager) UpdateAgent(ctx context.Context, id string, meta schema.AgentMeta) (*schema.Agent, error) + func (m *Manager) UpdateSession(ctx context.Context, id string, meta schema.SessionMeta) (*schema.Session, error) + type Opt func(*Manager) error + func WithAgentStore(store schema.AgentStore) Opt + func WithClient(client llm.Client) Opt + func WithSessionStore(store schema.SessionStore) Opt + func WithTool(t tool.Tool) Opt + func WithToolkit(toolkit *tool.Toolkit) Opt