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

Aperta
#133 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
go, kubernetes

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
5
Fork
0
Merge medio
21h 13m
PR unite (30g)
53

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nebari-dev/tapas

Tutte le issue di nebari-dev/tapas

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.