Module agent_seed

Module agent_seed 

Source
Expand description

Agent seed engine: preloads agents from an embedded manifest on first launch. Seeds agents with identity + content. Provider, agent_type, and environment are NOT baked into the manifest β€” they default to sensible values and are user-configurable via the Agent settings UI after seeding.

StructsΒ§

ReseedReport
Report from a re-seed operation.
SeedAgent πŸ”’
An agent definition in the seed manifest.
SeedContent πŸ”’
Content blobs to seed for an agent.
SeedManifest πŸ”’
Top-level seed manifest structure.
SeedReport
Report returned after seeding.
SeedSkill πŸ”’
A skill definition in the seed manifest.

ConstantsΒ§

SEED_MANIFEST πŸ”’
The embedded seed manifest JSON.

FunctionsΒ§

auto_seed_on_startup
Run auto-seed on startup. Seeds if empty, or re-seeds if manifest version changed. Re-seeding updates existing seeded agents and removes seeded agents not in the manifest.
default_agent_type πŸ”’
default_environment πŸ”’
default_icon πŸ”’
default_provider πŸ”’
default_skill_type πŸ”’
reseed_if_needed πŸ”’
Re-seed if the manifest version is newer than what’s in the DB. Updates seeded agents, adds new ones, removes seeded agents not in the manifest.
seed_agents
Seed agent definitions from the embedded manifest. Skips agents whose ID already exists in the database.