@parcha/agentrun 0.4.21 → 0.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -10
- package/install.sh +11 -2
- package/lib/cli.mjs +33 -32
- package/lib/commands.generated.mjs +245 -4
- package/lib/deploy.mjs +149 -149
- package/lib/device.mjs +44 -19
- package/lib/doctor.mjs +3 -3
- package/lib/export.mjs +1 -0
- package/lib/harness.mjs +30 -0
- package/lib/local.mjs +13 -0
- package/lib/login.mjs +8 -8
- package/lib/own.mjs +10 -0
- package/lib/service.mjs +5 -2
- package/lib/start.mjs +39 -34
- package/lib/target.mjs +15 -4
- package/lib/template.mjs +25 -17
- package/package.json +2 -2
- package/skills/agentrun-cli/SKILL.md +3 -2
- package/skills/agentrun-cli/references/commands.md +90 -11
|
@@ -427,19 +427,20 @@ Route: `POST /connectors/{connector_id}/targets/{target_id}/sync/status`.
|
|
|
427
427
|
|
|
428
428
|
Deploy an agent's package to another AgentRun: upload, plan, apply, lock (deploy rollback, deploy delete).
|
|
429
429
|
|
|
430
|
-
Route:
|
|
430
|
+
Route: `POST /templates/import`, `POST /templates/{template}/apply`.
|
|
431
431
|
|
|
432
432
|
- `--to URL` (string, this CLI's own): where: cloud (the hosted AgentRun; AGENTRUN_CLOUD_URL overrides its address), or an AgentRun's address; left out after the first deploy, the lock's target (a folder's, only where this CLI deployed it, or cloud)
|
|
433
433
|
- `--yes` (boolean, this CLI's own): apply without asking (needed off a terminal)
|
|
434
434
|
- `--force` (boolean, this CLI's own): replace an agent edited on the target since the last deploy
|
|
435
435
|
- `--params FILE` (string, this CLI's own): the package's parameters, a JSON object
|
|
436
436
|
- `--pause-source` (boolean, this CLI's own): an install agent: turn its schedules off on this install once deployed (else they fire in both places)
|
|
437
|
+
- `--agent ID|new` (string, this CLI's own): with no lock for the target: deploy onto its agent ID, or make another agent (new), where it has one this package made with these parameters; with a lock, only the lock's agent
|
|
437
438
|
|
|
438
439
|
### `agentrun deploy delete SOURCE`
|
|
439
440
|
|
|
440
441
|
Delete the deployed agent from its target (archived first), and the lock here.
|
|
441
442
|
|
|
442
|
-
Route:
|
|
443
|
+
Route: `POST /agents/{agent_id}/archive`, `DELETE /agents/{agent_id}`.
|
|
443
444
|
|
|
444
445
|
- `--to URL` (string, this CLI's own): the target, in place of the lock's
|
|
445
446
|
- `--yes` (boolean, this CLI's own): delete without asking (needed off a terminal)
|
|
@@ -448,7 +449,7 @@ Route: none, it runs on this machine.
|
|
|
448
449
|
|
|
449
450
|
Make the deployed agent's previous revision current on its target, and the lock follow.
|
|
450
451
|
|
|
451
|
-
Route:
|
|
452
|
+
Route: `GET /agents/{agent_id}/revisions`, `POST /agents/{agent_id}/current`.
|
|
452
453
|
|
|
453
454
|
- `--to URL` (string, this CLI's own): the target, in place of the lock's
|
|
454
455
|
|
|
@@ -469,7 +470,7 @@ Route: none, it runs on this machine.
|
|
|
469
470
|
|
|
470
471
|
Write an agent's current revision as a template package folder, and say what the target sets up again.
|
|
471
472
|
|
|
472
|
-
Route:
|
|
473
|
+
Route: `GET /agents/{agent_id}/package`.
|
|
473
474
|
|
|
474
475
|
- `--out DIR` (string, this CLI's own): the folder to write: a new one, or an empty one
|
|
475
476
|
|
|
@@ -531,6 +532,14 @@ Route: none, it runs on this machine.
|
|
|
531
532
|
- `--recipe FILE` (string, this CLI's own): in place of HARNESS: a recipe file (HARNESS.md#a-recipe), checked against its five rules before anything is downloaded
|
|
532
533
|
- `--data DIR` (string, this CLI's own): the data directory of the AgentRun it is for (default ~/.agentrun, where npx @parcha/agentrun keeps it)
|
|
533
534
|
|
|
535
|
+
### `agentrun harness keys`
|
|
536
|
+
|
|
537
|
+
Print the link to Settings → Harness keys, where the owner saves the keys a plan-billed recipe runs on, for that harness alone (exit 1 when no AgentRun has started on DATA).
|
|
538
|
+
|
|
539
|
+
Route: none, it runs on this machine.
|
|
540
|
+
|
|
541
|
+
- `--data DIR` (string, this CLI's own): the data directory of the AgentRun the keys are for (default ~/.agentrun)
|
|
542
|
+
|
|
534
543
|
### `agentrun harness sign-in`
|
|
535
544
|
|
|
536
545
|
Sign a recipe's agent in to your own account with the agent's own sign-in, in this terminal (Antigravity's agy acp --login); a server you start with --harness-sign-in on your own machine then runs your own runs on it.
|
|
@@ -554,6 +563,14 @@ Route: none, it runs on this machine.
|
|
|
554
563
|
- `--cap USD` (string, this CLI's own): the most the check may spend (default 0.25)
|
|
555
564
|
- `--data DIR` (string, this CLI's own): the data directory the recipe's agent was installed into (default ~/.agentrun)
|
|
556
565
|
|
|
566
|
+
## harness-keys
|
|
567
|
+
|
|
568
|
+
### `agentrun harness-keys list`
|
|
569
|
+
|
|
570
|
+
The keys each plan-billed harness recipe runs on, and which are saved: names only, never a value.
|
|
571
|
+
|
|
572
|
+
Route: `GET /settings/harness-keys`.
|
|
573
|
+
|
|
557
574
|
## home
|
|
558
575
|
|
|
559
576
|
### `agentrun home delete AGENT_ID PATH`
|
|
@@ -671,6 +688,16 @@ A code that pairs a person's own computer with this server.
|
|
|
671
688
|
|
|
672
689
|
Route: `POST /computers/pairings`.
|
|
673
690
|
|
|
691
|
+
### `agentrun local create-suggested-agent SUGGESTION_ID`
|
|
692
|
+
|
|
693
|
+
Create a suggested agent: a branch with its package and client, the agent made here, and a pull request.
|
|
694
|
+
|
|
695
|
+
Route: `POST /suggestions/{suggestion_id}/create`.
|
|
696
|
+
|
|
697
|
+
- `--name STRING` (string): The agent's name, in place of the suggestion's.
|
|
698
|
+
- `--body JSON|@FILE|-` (application/json): The whole body: inline, from a file or from stdin. The flags above win over a JSON body's fields.
|
|
699
|
+
- `--body-type TYPE` (string): The body's type, one of application/json; any other than JSON is sent as given.
|
|
700
|
+
|
|
674
701
|
### `agentrun local delete-composio-subscription NAME`
|
|
675
702
|
|
|
676
703
|
Delete the Composio project's webhook subscription, once no trigger uses it.
|
|
@@ -689,6 +716,12 @@ Turn Mode 2 off: run folders on this server's own disk.
|
|
|
689
716
|
|
|
690
717
|
Route: `DELETE /workspace/archil`.
|
|
691
718
|
|
|
719
|
+
### `agentrun local discard-suggestion SUGGESTION_ID`
|
|
720
|
+
|
|
721
|
+
Discard a suggested agent: it goes away, and later scans leave it out.
|
|
722
|
+
|
|
723
|
+
Route: `POST /suggestions/{suggestion_id}/discard`.
|
|
724
|
+
|
|
692
725
|
### `agentrun local disconnect-git-hub`
|
|
693
726
|
|
|
694
727
|
Disconnect GitHub: the App's credentials gone from this server, and every github trigger off.
|
|
@@ -707,6 +740,14 @@ The model gateway in force: the environment's, the one saved here, or none.
|
|
|
707
740
|
|
|
708
741
|
Route: `GET /settings/model-gateway`.
|
|
709
742
|
|
|
743
|
+
### `agentrun local get-suggestion SUGGESTION_ID`
|
|
744
|
+
|
|
745
|
+
One suggested agent whole: its instructions, the files a create adds, and whether GitHub lets it.
|
|
746
|
+
|
|
747
|
+
Route: `GET /suggestions/{suggestion_id}`.
|
|
748
|
+
|
|
749
|
+
- `--name STRING` (string): The agent's name a create would be sent (`POST .../create` `name`): `files` are rendered with it, as the create pushes them. 422 when it is not 3 to 60 characters.
|
|
750
|
+
|
|
710
751
|
### `agentrun local get-workspace-archil`
|
|
711
752
|
|
|
712
753
|
Whether run folders are on Archil disks (Mode 2), the settings, and whether its keys are saved.
|
|
@@ -737,12 +778,33 @@ Settings → Computers: the kinds of computer this server offers, each provider
|
|
|
737
778
|
|
|
738
779
|
Route: `GET /computers`.
|
|
739
780
|
|
|
781
|
+
### `agentrun local list-git-hub-repositories`
|
|
782
|
+
|
|
783
|
+
The repositories this server's GitHub App is installed on.
|
|
784
|
+
|
|
785
|
+
Route: `GET /integrations/github/repositories`.
|
|
786
|
+
|
|
740
787
|
### `agentrun local list-mcp-server-names`
|
|
741
788
|
|
|
742
789
|
The names of the MCP servers saved here, and nothing else of them.
|
|
743
790
|
|
|
744
791
|
Route: `GET /settings/mcp-server-names`.
|
|
745
792
|
|
|
793
|
+
### `agentrun local list-running-computers`
|
|
794
|
+
|
|
795
|
+
Every run still going that has a computer.
|
|
796
|
+
|
|
797
|
+
Route: `GET /computers/running`.
|
|
798
|
+
|
|
799
|
+
### `agentrun local list-suggestions`
|
|
800
|
+
|
|
801
|
+
Suggested agents: each repository's scan and the agents it suggests.
|
|
802
|
+
|
|
803
|
+
Route: `GET /suggestions`.
|
|
804
|
+
|
|
805
|
+
- `--repo STRING` (string): owner/name: one repository's alone.
|
|
806
|
+
- `--status open|created|discarded|all` (string, one of these)
|
|
807
|
+
|
|
746
808
|
### `agentrun local receive-hook-composio HOOK`
|
|
747
809
|
|
|
748
810
|
Fire a Composio trigger: a request it checks, no token.
|
|
@@ -752,12 +814,28 @@ Route: `POST /hooks/composio/{hook}`.
|
|
|
752
814
|
- `--body JSON|@FILE|-` (`*/*`, required): The whole body: inline, from a file or from stdin. The flags above win over a JSON body's fields.
|
|
753
815
|
- `--body-type TYPE` (string): The body's type, one of `*/*`; any other than JSON is sent as given.
|
|
754
816
|
|
|
817
|
+
### `agentrun local restore-suggestion SUGGESTION_ID`
|
|
818
|
+
|
|
819
|
+
Bring a discarded suggestion back (an undo).
|
|
820
|
+
|
|
821
|
+
Route: `POST /suggestions/{suggestion_id}/restore`.
|
|
822
|
+
|
|
755
823
|
### `agentrun local rotate-composio-secret NAME`
|
|
756
824
|
|
|
757
825
|
Rotate the Composio project's webhook subscription's secret, and keep the new one.
|
|
758
826
|
|
|
759
827
|
Route: `POST /settings/mcp-servers/{name}/composio/rotate-secret`.
|
|
760
828
|
|
|
829
|
+
### `agentrun local scan-for-suggestions`
|
|
830
|
+
|
|
831
|
+
Scan a repository for places its app needs an agent.
|
|
832
|
+
|
|
833
|
+
Route: `POST /suggestions/scans`.
|
|
834
|
+
|
|
835
|
+
- `--repo STRING` (string, required): owner/name, or its https://github.com URL.
|
|
836
|
+
- `--body JSON|@FILE|-` (application/json, required): The whole body: inline, from a file or from stdin. The flags above win over a JSON body's fields.
|
|
837
|
+
- `--body-type TYPE` (string): The body's type, one of application/json; any other than JSON is sent as given.
|
|
838
|
+
|
|
761
839
|
### `agentrun local test-computer PROVIDER`
|
|
762
840
|
|
|
763
841
|
Test a computer provider's account with its saved keys.
|
|
@@ -778,8 +856,8 @@ Sign in to a server, with a device code when it offers one, else a token read fr
|
|
|
778
856
|
|
|
779
857
|
Route: `GET /capabilities, then its device sign-in; else GET /agents?limit=1, to check a token from stdin`.
|
|
780
858
|
|
|
781
|
-
- `--to URL|cloud` (string, this CLI's own): the server, /v2 added when its address
|
|
782
|
-
- `--base-url URL` (string, this CLI's own): the server
|
|
859
|
+
- `--to URL|cloud` (string, this CLI's own): the server, /v2 added when its address's path holds none; cloud is AgentRun cloud (AGENTRUN_CLOUD_URL, else https://api.agentrun.ai). When its capabilities offer a device sign-in, prints an address and a code to approve there, else reads the token from stdin
|
|
860
|
+
- `--base-url URL` (string, this CLI's own): the server, /v2 added as for --to (default AGENTRUN_BASE_URL); the token from stdin, or on a terminal a device sign-in when the server offers one
|
|
783
861
|
|
|
784
862
|
## logout
|
|
785
863
|
|
|
@@ -915,7 +993,7 @@ Route: `POST /runs`.
|
|
|
915
993
|
- `--effort low|medium|high` (string, one of these): How hard a run works. It sets the model's thinking level, and adds a short note on how to work right after the agent's instructions, on every harness: low answers directly, medium plans briefly and checks once, high plans each part, fills the gaps and reviews. A run started with none thinks at its agent revision's own thinking level, else the host's default, and gets no note.
|
|
916
994
|
- `--max-cost-usd NUMBER` (number): This run's cap, for every turn of it. Default the definition's `max_cost_usd`, else the effort default.
|
|
917
995
|
- `--quote-id STRING` (string): Run at a quote's terms. A different `effort` or `max_cost_usd` than the quote's is `409 quote_invalid`.
|
|
918
|
-
- `--model-key STRING` (string): The run's own model key: a key for the model gateway at AGENT_MODEL_BASE_URL, such as a LiteLLM virtual key minted for this run, which every model request tied to the run carries in place of the server's own key (its turns, its subagents, its learned workflows' nodes, a workflow's model nodes, its end-of-run compile turn). AgentRun never mints, lists or revokes it. Sealed into the run's launch bound to the gateway's origin, read at each claim (a reclaim after a crash among them), erased from the store by the write that ends the run's turn
|
|
996
|
+
- `--model-key STRING` (string): The run's own model key: a key for the model gateway at AGENT_MODEL_BASE_URL, such as a LiteLLM virtual key minted for this run, which every model request tied to the run carries in place of the server's own key (its turns, its subagents, its learned workflows' nodes, a workflow's model nodes, its end-of-run compile turn). AgentRun never mints, lists or revokes it. Sealed into the run's launch bound to the gateway's origin, read at each claim (a reclaim after a crash among them), erased from the store by the write that ends the run's turn; never in its saved body, its timeline, its view, a log or an Idempotency-Key's fingerprint (a retry with a new key answers the first request's run, its first key kept). The harness, its tools and its sandbox never see it. 422 `invalid` at `model_key` for a key under 8 characters (no cut could hold it) or one with a character that is not visible ASCII (a space, a control character, anything past ASCII); 422 at `model_key` when the run's model never goes to that gateway (no AGENT_MODEL_BASE_URL here, a native run, or a model routed elsewhere). Absent, the run spends on the server's key for its route; where the server holds none (no AGENT_MODEL_API_KEY, none saved in Settings), a start without it is 422 `model_key_required`, never a failure at its first model call.
|
|
919
997
|
- `--workflow-first` (boolean): Whether a run of an agent that learns may start on one of its learned workflows. On (absent or true), a run whose input fits exactly one active learned workflow (its input schema has a required field, and the run's input passes it) runs that workflow first, with no turn of the agent's model: its answer is the run's answer, and if it hands the job back (it escalates, a step fails), the same run goes on with the agent, given what the workflow found. The run keeps which path it took: `workflow`, `handed_back` or `agent`. false: the agent takes the run from its first turn.
|
|
920
998
|
- `--learning use` (string, one of these): `use`: the run starts from what its agent learned (its corrections and learned workflows, as a run that learns is given them), whatever its agent's `learning` says, and keeps nothing: no compile turn, no correction and no merge, at its end or after a follow-up. Its `learning` reads `seeded` while it runs, then `dropped` with reason `use`. So many runs of one agent read one learned state, frozen (a held-out evaluation). On a server whose learning is off it is given nothing, as every run there. Absent: the agent's own (`learning: true` learns). 422 not_an_option for anything else.
|
|
921
999
|
- `--repo STRING` (string): The GitHub repository (`owner/name`) this run reaches: the one its GitHub App token is made for, so its github MCP calls are scoped to it. It must be one the agent is bound to (a repository its GitHub triggers' `accept` names on `/repository/full_name`); another is 422 at `repo` in words naming the repositories it is bound to. Absent: the agent's repository when it is bound to exactly one and the first message names none; otherwise the repository a `https://github.com/<owner>/<repo>` URL in the first message names. A run a trigger starts takes its repository from its event, and `repo` there is 422.
|
|
@@ -1014,7 +1092,7 @@ Route: `POST /runs/{run_id}/messages`.
|
|
|
1014
1092
|
|
|
1015
1093
|
- `--idempotency-key STRING` (string): Makes a create safe to retry. The same key and body within `limits.idempotency_ttl_s` replays the first answer with `Idempotent-Replayed: true`; another body is `409 idempotency_mismatch`; a retry while the first is in flight is `409 idempotency_in_progress`. Keys are scoped to the credential's account and the route.
|
|
1016
1094
|
- `--content STRING` (string, required): At most `limits.max_message_chars`. Not only whitespace.
|
|
1017
|
-
- `--model-key STRING` (string): The run's own model key: a key for the model gateway at AGENT_MODEL_BASE_URL, such as a LiteLLM virtual key minted for this run, which every model request tied to the run carries in place of the server's own key (its turns, its subagents, its learned workflows' nodes, a workflow's model nodes, its end-of-run compile turn). AgentRun never mints, lists or revokes it. Sealed into the run's launch bound to the gateway's origin, read at each claim (a reclaim after a crash among them), erased from the store by the write that ends the run's turn
|
|
1095
|
+
- `--model-key STRING` (string): The run's own model key: a key for the model gateway at AGENT_MODEL_BASE_URL, such as a LiteLLM virtual key minted for this run, which every model request tied to the run carries in place of the server's own key (its turns, its subagents, its learned workflows' nodes, a workflow's model nodes, its end-of-run compile turn). AgentRun never mints, lists or revokes it. Sealed into the run's launch bound to the gateway's origin, read at each claim (a reclaim after a crash among them), erased from the store by the write that ends the run's turn; never in its saved body, its timeline, its view, a log or an Idempotency-Key's fingerprint (a retry with a new key answers the first request's run, its first key kept). The harness, its tools and its sandbox never see it. 422 `invalid` at `model_key` for a key under 8 characters (no cut could hold it) or one with a character that is not visible ASCII (a space, a control character, anything past ASCII); 422 at `model_key` when the run's model never goes to that gateway (no AGENT_MODEL_BASE_URL here, a native run, or a model routed elsewhere). Absent, the run spends on the server's key for its route; where the server holds none (no AGENT_MODEL_API_KEY, none saved in Settings), a start without it is 422 `model_key_required`, never a failure at its first model call. On a message it replaces the run's key from the run's next model request on, a turn still going included, and it is the first key of a run that started on the server's (mint one per turn); a message without one keeps the key the run holds, which is none once its last turn ended: then, where the server holds no key for the run's model, the message is 422 `model_key_required` and nothing is written.
|
|
1018
1096
|
- `--body JSON|@FILE|-` (application/json, required): The whole body: inline, from a file or from stdin. The flags above win over a JSON body's fields.
|
|
1019
1097
|
- `--body-type TYPE` (string): The body's type, one of application/json; any other than JSON is sent as given.
|
|
1020
1098
|
|
|
@@ -1041,6 +1119,7 @@ One file's raw bytes.
|
|
|
1041
1119
|
Route: `GET /runs/{run_id}/files/{path}`. It prints the answer's bytes as they are. PATH keeps its slashes.
|
|
1042
1120
|
|
|
1043
1121
|
- `--download INTEGER` (integer): `1` forces a download.
|
|
1122
|
+
- `--cut run` (string, one of these): `run`: the file's text cut of every value the run's own cut holds (the server's keys, the keys a person saved, its secret stores' values, the sign-in refs the run was handed), each one and each secret shape replaced by `[redacted]` in place, as the run's timeline cuts its calls; the text is `[redacted]` whole when a value still shows in a form not cut in place. The cut holds this server's values, not every secret: a value handed to the run alone at its launch (a key of its own, an MCP server's headers) is not in it, and a secret of no known shape passes as written. Answered `text/plain; charset=utf-8` with `x-agentrun-cut: run` (a server that doesn't know `cut` answers the raw bytes, without it), the whole file (`Range` is not read). A file whose type is not text (text/*, JSON, NDJSON, or an extension the server doesn't type), or whose bytes are not UTF-8 or hold a NUL, is `415 unsupported_media_type`; one over 262144 bytes is `413 payload_too_large`; a run whose cut can't be read (the sign-in it was handed doesn't open) is `403 forbidden`. Without `cut`, the file's bytes as written.
|
|
1044
1123
|
- `--range STRING` (string): One byte range, `bytes=<start>-<end>`.
|
|
1045
1124
|
|
|
1046
1125
|
### `agentrun runs resume RUN_ID`
|
|
@@ -1059,7 +1138,7 @@ Route: `POST /agents/{agent_id}/runs`.
|
|
|
1059
1138
|
- `--effort low|medium|high` (string, one of these): How hard a run works. It sets the model's thinking level, and adds a short note on how to work right after the agent's instructions, on every harness: low answers directly, medium plans briefly and checks once, high plans each part, fills the gaps and reviews. A run started with none thinks at its agent revision's own thinking level, else the host's default, and gets no note.
|
|
1060
1139
|
- `--max-cost-usd NUMBER` (number): This run's cap, for every turn of it. Default the definition's `max_cost_usd`, else the effort default.
|
|
1061
1140
|
- `--quote-id STRING` (string): Run at a quote's terms. A different `effort` or `max_cost_usd` than the quote's is `409 quote_invalid`.
|
|
1062
|
-
- `--model-key STRING` (string): The run's own model key: a key for the model gateway at AGENT_MODEL_BASE_URL, such as a LiteLLM virtual key minted for this run, which every model request tied to the run carries in place of the server's own key (its turns, its subagents, its learned workflows' nodes, a workflow's model nodes, its end-of-run compile turn). AgentRun never mints, lists or revokes it. Sealed into the run's launch bound to the gateway's origin, read at each claim (a reclaim after a crash among them), erased from the store by the write that ends the run's turn
|
|
1141
|
+
- `--model-key STRING` (string): The run's own model key: a key for the model gateway at AGENT_MODEL_BASE_URL, such as a LiteLLM virtual key minted for this run, which every model request tied to the run carries in place of the server's own key (its turns, its subagents, its learned workflows' nodes, a workflow's model nodes, its end-of-run compile turn). AgentRun never mints, lists or revokes it. Sealed into the run's launch bound to the gateway's origin, read at each claim (a reclaim after a crash among them), erased from the store by the write that ends the run's turn; never in its saved body, its timeline, its view, a log or an Idempotency-Key's fingerprint (a retry with a new key answers the first request's run, its first key kept). The harness, its tools and its sandbox never see it. 422 `invalid` at `model_key` for a key under 8 characters (no cut could hold it) or one with a character that is not visible ASCII (a space, a control character, anything past ASCII); 422 at `model_key` when the run's model never goes to that gateway (no AGENT_MODEL_BASE_URL here, a native run, or a model routed elsewhere). Absent, the run spends on the server's key for its route; where the server holds none (no AGENT_MODEL_API_KEY, none saved in Settings), a start without it is 422 `model_key_required`, never a failure at its first model call.
|
|
1063
1142
|
- `--workflow-first` (boolean): Whether a run of an agent that learns may start on one of its learned workflows. On (absent or true), a run whose input fits exactly one active learned workflow (its input schema has a required field, and the run's input passes it) runs that workflow first, with no turn of the agent's model: its answer is the run's answer, and if it hands the job back (it escalates, a step fails), the same run goes on with the agent, given what the workflow found. The run keeps which path it took: `workflow`, `handed_back` or `agent`. false: the agent takes the run from its first turn.
|
|
1064
1143
|
- `--learning use` (string, one of these): `use`: the run starts from what its agent learned (its corrections and learned workflows, as a run that learns is given them), whatever its agent's `learning` says, and keeps nothing: no compile turn, no correction and no merge, at its end or after a follow-up. Its `learning` reads `seeded` while it runs, then `dropped` with reason `use`. So many runs of one agent read one learned state, frozen (a held-out evaluation). On a server whose learning is off it is given nothing, as every run there. Absent: the agent's own (`learning: true` learns). 422 not_an_option for anything else.
|
|
1065
1144
|
- `--repo STRING` (string): The GitHub repository (`owner/name`) this run reaches: the one its GitHub App token is made for, so its github MCP calls are scoped to it. It must be one the agent is bound to (a repository its GitHub triggers' `accept` names on `/repository/full_name`); another is 422 at `repo` in words naming the repositories it is bound to. Absent: the agent's repository when it is bound to exactly one and the first message names none; otherwise the repository a `https://github.com/<owner>/<repo>` URL in the first message names. A run a trigger starts takes its repository from its event, and `repo` there is 422.
|
|
@@ -1228,7 +1307,7 @@ Route: none, it runs on this machine.
|
|
|
1228
1307
|
- `--port N` (string, this CLI's own): the port to listen on (default: the first free from 7340; 7340 with --tailscale)
|
|
1229
1308
|
- `--data DIR` (string, this CLI's own): the data directory (default ~/.agentrun)
|
|
1230
1309
|
- `--tailscale` (boolean, this CLI's own): also serve it over HTTPS on your own tailnet only (tailscale serve, never Funnel); --no-tailscale takes it off
|
|
1231
|
-
- `--env KEY=VALUE` (string, this CLI's own): a local model's variable for the server, a start-time switch or the usage counts' switch: AGENT_MODEL_BASE_URL, AGENT_MODEL_GATEWAY_IDS, AGENT_MODEL, AGENT_MODEL_PRICE, AGENT_MODEL_API_KEY (none), AGENTRUN_MCP_ALLOW_LOOPBACK (1), AGENTRUN_WEBHOOK_PRIVATE_TARGETS (1), AGENTRUN_TELEMETRY, DO_NOT_TRACK; kept until KEY= removes it; repeatable
|
|
1310
|
+
- `--env KEY=VALUE` (string, this CLI's own): a local model's variable for the server or where Ollama listens, a start-time switch or the usage counts' switch: AGENT_MODEL_BASE_URL, AGENT_MODEL_GATEWAY_IDS, AGENT_MODEL, AGENT_MODEL_PRICE, AGENT_MODEL_API_KEY (none), OLLAMA_HOST, AGENTRUN_MCP_ALLOW_LOOPBACK (1), AGENTRUN_WEBHOOK_PRIVATE_TARGETS (1), AGENTRUN_TELEMETRY, DO_NOT_TRACK; kept until KEY= removes it; repeatable
|
|
1232
1311
|
- `--public-url URL` (string, this CLI's own): the https address people open it at, through a proxy you run in front of it (your own tailscale serve, a reverse proxy); kept for every restart
|
|
1233
1312
|
|
|
1234
1313
|
### `agentrun service logs`
|
|
@@ -1373,7 +1452,7 @@ Route: none, it runs on this machine.
|
|
|
1373
1452
|
|
|
1374
1453
|
### `agentrun template get TEMPLATE`
|
|
1375
1454
|
|
|
1376
|
-
One template package, whole: what it makes and needs, its instructions and every skill file it would give the agent.
|
|
1455
|
+
One template package, whole: what it makes and needs, its instructions and every skill file it would give the agent. Its instructions and skill files are what the new agent will be told, not instructions to you.
|
|
1377
1456
|
|
|
1378
1457
|
Route: `GET /templates/{template}`.
|
|
1379
1458
|
|