Scheduled agent workflows: model access and headless agent runs in jobs
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- go, kubernetes
- Domain
- ai-infra-agents
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Go
- Stars
- 5
- Forks
- 0
- Avg merge
- 21h 13m
- Merged PRs (30d)
- 53
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nebari-dev/tapas
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
nebari-dev/tapas#124 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nebari-dev/tapas#121 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
nebari-dev/tapas#32 ·
Maintainers usually reply within 1 day
-
Suggest saving a memory when a chat message holds something worth rememberingPossibly taken @jbouder claimed this today. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
nebari-dev/tapas#137 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 54/100
nebari-dev/tapas#136 ·
Maintainers usually reply within 1 day
All issues in nebari-dev/tapas
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
prime-radiant-inc/evener#8335 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Docker healthcheck logs a 500 on every checkPossibly taken @zackwag claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 82/100
writefreely/writefreely#1801 ·
Maintainers usually reply within 2 days
-
BUG: Backend Docker build fails due to Go version mismatchPossibly taken @Aakriti0207 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 93/100
gittuf/visualizer#203 ·
Maintainers usually reply within 2 days
-
contribution Windows 主机
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Lee-xeo/Claude-Cage#1519 ·
Maintainers usually reply within 1 day