Versions in this module Expand all Collapse all v1 v1.1.0 Apr 1, 2026 Changes in this version + var ErrAssistantNotFound = errors.New("assistant: not found") + var ErrMemoryNotFound = errors.New("assistant: memory key not found") + type AssistantConfig struct + AssistantID string + MemoryScope string + Policies []string + Skills []string + Soul AssistantSoul + ToolAllowedList []skills.CapabilityType + type AssistantMemory interface + Get func(ctx context.Context, key string) ([]byte, error) + Search func(ctx context.Context, query string, limit int) ([]SearchResult, error) + Set func(ctx context.Context, key string, value []byte) error + type AssistantProfile struct + Description string + ID string + Name string + Version string + type AssistantRegistry struct + func NewAssistantRegistry() *AssistantRegistry + func (r *AssistantRegistry) GetConfig(id string) (AssistantConfig, error) + func (r *AssistantRegistry) GetProfile(id string) (AssistantProfile, error) + func (r *AssistantRegistry) Register(profile AssistantProfile, config AssistantConfig) + type AssistantRuntime struct + AssistantID string + Memory AssistantMemory + MemoryScope string + Policies []string + Skills []string + Soul AssistantSoul + TenantID string + ToolPermissions []string + type AssistantSoul struct + AllowedSkills []string + AllowedTools []string + Instructions string + Personality string + SystemPrompt string + func DefaultSoul() AssistantSoul + func LoadSoulFromMarkdown(path string) (AssistantSoul, error) + type PersistentMemory struct + func (m *PersistentMemory) Get(ctx context.Context, key string) ([]byte, error) + func (m *PersistentMemory) Search(ctx context.Context, query string, limit int) ([]SearchResult, error) + func (m *PersistentMemory) Set(ctx context.Context, key string, value []byte) error + type SearchResult struct + Content []byte + Score float32 + type SessionMemory struct + func NewSessionMemory() *SessionMemory + func (m *SessionMemory) Get(ctx context.Context, key string) ([]byte, error) + func (m *SessionMemory) Search(ctx context.Context, query string, limit int) ([]SearchResult, error) + func (m *SessionMemory) Set(ctx context.Context, key string, value []byte) error + type VectorMemory struct + func (m *VectorMemory) Get(ctx context.Context, key string) ([]byte, error) + func (m *VectorMemory) Search(ctx context.Context, query string, limit int) ([]SearchResult, error) + func (m *VectorMemory) Set(ctx context.Context, key string, value []byte) error