Scheduled agent workflows: model access and headless agent runs in jobs

オープン
#133 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
go, kubernetes

調査の方向性

Read the plans for #132 and inspect how agent app pods use internal/agenthelper to serve models at 127.0.0.1:7690/model. First resolve the open choices around model access, approval, prompt and workspace controls, per-run limits, and run history; the issue gives no files or tests to start from. Done means scheduled jobs can run approved headless agent work with bounded model use and observable results.

索引モデルが issue の本文から書いたものです。

説明

type: enhancement 💅🏼

Summary

Let a person schedule work that a coding agent does unattended. Examples: "every Monday at 8am, read my GitHub and calendar and email me my focus areas for the week", or "every night, triage new issues and draft labels". It should run as a job, with the connector calls it may make approved once (#132), and with access to a model.

Today only coding agent apps can use the model. Their pods run the agent helper (internal/agenthelper), which holds the model key and serves the model at 127.0.0.1:7690/model. Jobs have no model route and no helper.

Depends on

#132: jobs that make approved connector calls. That work plans to give job pods the same helper agent apps have, so connector calls go through it and the job's code never holds the token. This issue builds on that.

Scope to work out

  • Model access for jobs. Part of the approved plan, like the connector calls. Should it use the platform model, the owner's own key, or either (as agent apps do today)?
  • Headless agent runs. A job whose command is a coding agent run (for example pi -p "<prompt>"), on an agent template, with the prompt saved with the job. How the prompt, skills and working folder are fixed and approved.
  • Cost and limits. Model spend per run, and a token or time cap per run. Show the spend in the run history.
  • Varying behaviour. An agent run can do different things each time, but only within the approved calls (#132). Org connector policy still applies to every call.
  • Observability. Run history shows the agent's transcript or a summary, the connector calls it made, and the model usage.

Out of scope

Plain scripts that make connector calls without a model are covered by #132.

主要言語
Go
スター
5
フォーク
0
平均マージ
21時間 13分
マージ済み PR(30日)
53

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nebari-dev/tapas のほかの issue

nebari-dev/tapas の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。