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

Abierto
#133 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
20/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
go, kubernetes

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Go
Estrellas
5
Forks
0
Merge medio
21 h 13 min
PR fusionados (30 d)
53

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nebari-dev/tapas

Todos los issues de nebari-dev/tapas

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.