magus v0.4.3 is out. See what's new
¶ View generated markdown

modeltiers

The default model-tier declaration: the ModelTier enum, cheapest first, its default, and the bounds and skill variant of each tier.

Naming convention: import the module under its bare name (import "modeltiers"), reach members with a backslash, and call methods in camelCase: modeltiers\someMethod.

Methods

bounds

bounds caps the context an economy worker may reach. It caps no tier's live jobs: a

Signature: modeltiers\bounds(tier) -> magus\ModelTierBounds

Parameter Type Optional Description
tier any

Returns: any

skills

skills is the skill variant a tier's workers load. Economy gets the full bodies: a

Signature: modeltiers\skills(tier) -> magus\SkillVariant

Parameter Type Optional Description
tier any

Returns: any

generatedreference/buzz/modeltiersmodulestdlibmagusfile
Last updated (29d8b3de)
Glossary

Magusfile

The magusfile.buzz that declares a project's targets (as export funs) and binds its spells. Magusfile in full.

Op

A single tool-native command a target composes (long form: operation); the middle of the work hierarchy (Spell to Op to Target). Op in full.

Module

A magus stdlib namespace a magusfile imports for host capabilities: filesystem, exec, vcs, and more. Module in full.

Buzz

The language magusfiles are written in (the .buzz engine). Buzz in full.

Skill

A packaged set of instructions an agent host loads when a task matches its description: a directory holding a SKILL.md. magus ships its magus-* skills in the binary and writes them with magus agent install. Skill in full.

Job

The unit of delegated work, and one row of the job store: what an orchestrating agent handed out, with its goal, the checkpoint it was cut against, the paths it may write or must not touch, and the one check it runs. A job's holder is either a session, for work an orchestrator handed out, or the daemon, for its own maintenance. The store records; the agent guard is what reads those facts back when grading a write. Job in full.

Conventions

This page uses none of the site's convention markers. The full set is on the conventions page.