Register
descriptor_sha256. Nothing is uploaded or started.
To register a new revision of the same agent:
--expected-revision is the revision you are replacing. Use firedrill descriptors --agent <agent-id> to list revisions.
Example
An HTTP agent with no external dependencies:descriptor.json
Get the hashes
Two fields need hashes that you compute on your machine.source_roots[].identity_sha256 identifies a folder on your machine without sending its path. Run this in the folder:
driver.adapter_sha256 is the SHA-256 of a file:
Fields
All top-level fields are required. Extra fields are refused.
Aliases use lowercase letters, digits,
_ and -, start with a letter and have at most 64 characters.
Services
Driver
State domains
A state domain is a piece of state your agent keeps, such as a process, a database or a browser session. It tells Firedrill whether drills can run side by side.
Rules:
fresh-processonly resets aprocess.fresh-sessiononly resets abrowserorsession.observation-onlystate must usereset: unavailable.- State that cannot be reset must use
concurrency: serial. - If any state domain is
serial, or there are none, drills run one at a time.
Dependencies
See Connect synthetic tools for how calls reach the simulated service.
Common errors
All descriptor errors use the codelocal_descriptor_invalid. The message says what to fix.
Write the local plan
Tell the CLI how to start your agent.
Choose a driver
HTTP, process, function, browser or webhook.