Add an init command to create agents-cli-manifest.yaml for existing ADK projects
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- python
- Ambito
- cli, developer-experience
Direzione di ricerca
Inizia tracciando i comandi esistenti agents-cli create e scaffold, il comportamento di ricerca del manifest e il punto di ingresso di eval run. Definisci come init deve rilevare il nome del progetto e la directory degli agenti da pyproject.toml, app/, agent.py o root_agent.yaml, rispettando i flag espliciti. Il lavoro è completato quando un progetto ADK esistente può generare un agents-cli-manifest.yaml minimale senza sovrascriverlo per impostazione predefinita e eval run --all può utilizzarlo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What is your feature suggestion?
I would like agents-cli to provide a lightweight initialization command that writes agents-cli-manifest.yaml into an existing ADK project, without scaffolding a new project or adding deployment files.
For example, the command could be:
agents-cli init
or:
agents-cli scaffold init
Ideally this would feel similar to hatch new --init: when run from an existing project root, it detects reasonable defaults and creates the minimal project metadata needed by agents-cli commands.
A possible generated manifest could be:
name: my-agent
agent_directory: app
region: us-east1
create_params:
deployment_target: none
It would also be helpful to support flags such as:
agents-cli init --agent-directory app --name my-agent
agents-cli init --dry-run
agents-cli init --yes
The command should avoid overwriting an existing agents-cli-manifest.yaml unless an explicit --force flag is provided.
What will this enable you to do?
This would make it much easier to adopt agents-cli in existing ADK projects.
Right now, after adding eval files to an existing project by skill equiped coding agent, running:
agents-cli eval run --all
fails with:
Error: No agents-cli-manifest.yaml found in the current directory or its parents.
Run this command from your project root, or create a project first:
agents-cli create my-agent
For an existing ADK project, I do not necessarily want to create a new project or run a broader scaffold/enhance flow. I only need the minimal manifest so commands like agents-cli eval run, agents-cli info, and other project-aware commands can locate the project root and agent directory.
A lightweight init command would provide a clear migration path:
- Start with an existing ADK project.
- Add evalsets/config.
- Run
agents-cli init. - Run
agents-cli eval run --all.
This would reduce friction for users who already have ADK agents and want to gradually adopt agents-cli workflows.
Additional context
The ideal UX is similar to hatch new --init, where an existing project can be initialized in place.
https://hatch.pypa.io/dev/cli/reference/#hatch-new
Nice-to-have detection behavior:
- infer
namefrompyproject.tomlor the current directory name - infer
agent_directoryfrom common ADK layouts such asapp/, a package listed inpyproject.toml, or a directory containingagent.py/root_agent.yaml - default
deployment_targettononeso local eval usage works without opting into deployment scaffolding - print the generated manifest and explain what was detected
- provide flags for explicit values when auto-detection is wrong
This would complement agents-cli create for new projects and agents-cli scaffold enhance for adding broader scaffold/deployment support, while covering the smaller "initialize this existing ADK project for agents-cli" use case.
- Lingua principale
- Python
- Stelle
- 6k
- Fork
- 686
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di google/agents-cli
-
documentation needs review
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
google/agents-cli#86 ·
-
needs review
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
google/agents-cli#92 · 1 commento ·
-
When an extension is applied, there is a warning emitted for EVERY commandForse già presa @asrujana-44 l’ha presa 9 giorni fa. Aperta
google/agents-cli#91 · 1 commento · 1 assegnatario ·
-
scaffold: dependency reconciliation is silent — no diff shown, unlike enhance/upgradeForse già presa @asrujana-44 l’ha presa 3 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
google/agents-cli#85 · 1 commento · 1 assegnatario ·
-
[Bug] Scaffolded agent card grows a duplicate JSONRPC 0.3 interface on every GET (card_modifier mutates the shared AgentCard)Forse già presa @asrujana-44 l’ha presa 8 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
google/agents-cli#84 · 2 commenti · 1 assegnatario ·
Tutte le issue di google/agents-cli
Issue simili
-
upstream update
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
conan-io/conan-center-index#31098 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
john-kurkowski/tldextract#382 ·
-
comp/tools duplicate P2 sweeper:risk-compatibility tool/mcp type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
NousResearch/hermes-agent#132042 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
deepset-ai/haystack#13092 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
feder-cr/invisible_playwright_mcp#1408 ·
I maintainer di solito rispondono entro 1 giorno