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Β§
- Reseed
Report - Report from a re-seed operation.
- Seed
Agent π - An agent definition in the seed manifest.
- Seed
Content π - Content blobs to seed for an agent.
- Seed
Manifest π - Top-level seed manifest structure.
- Seed
Report - Report returned after seeding.
- Seed
Skill π - 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.