Skip to main content
Lifecycle methods are high-level workflows on the Vijil client. Each maps to a stage of the Agent trust lifecycle and, where an operation runs asynchronously, polls until it completes by default.
evaluate measures against known standards, like a certification exam. test explores for unknown weaknesses through adversarial pressure, like a penetration test. Both produce Trust Scores.

client.evaluate()

Run an Evaluation and poll until it completes.
Returns an Evaluation. Pass either baseline=True or a harness_id, not both.

client.test()

Create a Red Swarm test engagement and, by default, poll until it finishes.
Returns a Job.

client.adapt()

Create a corrective evolution job that improves an existing Agent based on weaknesses found by evaluation or testing.
Returns a Job. After adaptation completes, review and apply the resulting proposals.

client.protect()

Configure Dome runtime Guardrails for an Agent.
Returns a DomeConfig.

Preview Methods

The following methods target Console routes that are not yet generally available. Their signatures are stable, but calls fail until the corresponding Console capability ships.
Last modified on July 8, 2026