Versions in this module Expand all Collapse all v0 v0.0.1 Jul 10, 2026 v0.0.0 Jul 10, 2026 Changes in this version + func CollectionsRAGProviderFromState(cs *CollectionsState) func(collectionName string) (agent.RAGDB, state.KBCompactionClient, bool) + func GetKeyAuthConfig(apiKeys []string) (*v2keyauth.Config, error) + func NewInProcessCollectionsBackend(cfg *Config) (CollectionsBackend, *CollectionsState) + func Reverse[T any](original []T) (reversed []T) + type AgentRole struct + Description string + Name string + SystemPrompt string + type App struct + func NewApp(opts ...Option) *App + func (a *App) AddGitRepo(c *fiber.Ctx) error + func (a *App) Chat(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) Create(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) CreateGroup(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) CreateSkill(c *fiber.Ctx) error + func (a *App) CreateSkillResource(c *fiber.Ctx) error + func (a *App) Delete(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) DeleteGitRepo(c *fiber.Ctx) error + func (a *App) DeleteSkill(c *fiber.Ctx) error + func (a *App) DeleteSkillResource(c *fiber.Ctx) error + func (a *App) ExportAgent(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) ExportSkill(c *fiber.Ctx) error + func (a *App) GenerateGroupProfiles(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) GetActionDefinition(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) GetAgentConfig(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) GetAgentConfigMeta(customDirectory string) func(c *fiber.Ctx) error + func (a *App) GetSkill(c *fiber.Ctx) error + func (a *App) GetSkillResource(c *fiber.Ctx) error + func (a *App) GetSkillsConfig(c *fiber.Ctx) error + func (a *App) ImportAgent(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) ImportSkill(c *fiber.Ctx) error + func (a *App) ListActions() func(c *fiber.Ctx) error + func (a *App) ListGitRepos(c *fiber.Ctx) error + func (a *App) ListSkillResources(c *fiber.Ctx) error + func (a *App) ListSkills(c *fiber.Ctx) error + func (a *App) Notify(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) OldChat(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) Pause(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) Responses(pool *state.AgentPool, tracker *conversations.ConversationTracker[string]) func(c *fiber.Ctx) error + func (a *App) SearchSkills(c *fiber.Ctx) error + func (a *App) Start(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) SyncGitRepo(c *fiber.Ctx) error + func (a *App) ToggleGitRepo(c *fiber.Ctx) error + func (a *App) UpdateAgentConfig(pool *state.AgentPool) func(c *fiber.Ctx) error + func (a *App) UpdateGitRepo(c *fiber.Ctx) error + func (a *App) UpdateSkill(c *fiber.Ctx) error + func (a *App) UpdateSkillResource(c *fiber.Ctx) error + func (app *App) CollectionsRAGProvider() func(collectionName string) (agent.RAGDB, state.KBCompactionClient, bool) + func (app *App) ExecuteAction(pool *state.AgentPool) func(c *fiber.Ctx) error + func (app *App) RegisterCollectionRoutes(webapp *fiber.App, cfg *Config, backend CollectionsBackend) + type CollectionList = collections.CollectionList + type CollectionSearchResult = collections.SearchResult + type CollectionSourceInfo = collections.SourceInfo + type CollectionsBackend = collections.Backend + func NewCollectionsBackendHTTP(client *localrag.Client) CollectionsBackend + type CollectionsState = collections.State + type Config struct + ApiKeys []string + ChunkOverlap int + CollectionDBPath string + ConversationStoreDuration time.Duration + CustomActionsDir string + DatabaseURL string + DefaultChunkSize int + EmbeddingModel string + FileAssets string + LLMAPIKey string + LLMAPIURL string + LLMModel string + LocalRAGURL string + MaxChunkingSize int + Pool *state.AgentPool + SkillsService *skills.Service + StateDir string + VectorEngine string + func NewConfig(opts ...Option) *Config + func (c *Config) Apply(opts ...Option) + type Option func(*Config) + func WithApiKeys(keys ...string) Option + func WithChunkOverlap(overlap int) Option + func WithCollectionDBPath(path string) Option + func WithConversationStoreduration(duration string) Option + func WithCustomActionsDir(dir string) Option + func WithDatabaseURL(url string) Option + func WithDefaultChunkSize(size int) Option + func WithEmbeddingModel(model string) Option + func WithFileAssets(path string) Option + func WithLLMAPIKey(key string) Option + func WithLLMAPIUrl(url string) Option + func WithLLMModel(model string) Option + func WithLocalRAGURL(url string) Option + func WithMaxChunkingSize(size int) Option + func WithPool(pool *state.AgentPool) Option + func WithSkillsService(svc *skills.Service) Option + func WithStateDir(dir string) Option + func WithVectorEngine(engine string) Option