local

command
v0.20.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command local is setup A's playground in one process: an embedded Studio on loopback, the app's own pipeline exporting into it, one agent with a scripted model and two tools, and the runtime link — WEFT-PLAYGROUND.md §7's P0 slice, drivable with curl.

go run ./runtime/examples/local -addr 127.0.0.1:7331

It prints the Studio's URL, the id of the app's own run (the experiment's source), and the curl line to run. The P0 acceptance (§10.6): the command is acked, the run's span carries weft.playground, weft.experiment.id, weft.forked_from and the weft.override.* fingerprint (read it back through /api/runs/{id}/spans), and the same command id twice is 409.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL