Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.
# SPDX-License-Identifier: AGPL-3.0
from typing import Literal
from pydantic import BaseModel, Field
# Glob engine mode type alias — import this instead of repeating Literal["auto", "fs"]
GlobEngine = Literal["auto", "fs"]
class GlobConfig(BaseModel):
"""Configuration for glob engine behavior."""
engine: GlobEngine = Field(
default="fs",
description=(
"Glob engine mode: 'auto' uses remote VikingDB path_glob when available, "
"'fs' forces local filesystem glob."
),
)
switch_to_remote_threshold: int = Field(
default=100,
ge=0,
description=(
"Vector record count threshold to switch to VikingDB path_glob; "
"0 means always use VikingDB when available."
),
)