feat: add ag setup command#8720
Draft
anuragts wants to merge 1 commit into
Draft
Conversation
Adds a top-level `ag setup` / `agno setup` command that runs the full AgentOS setup in one step: 1. Installs missing packages (agno, agno-infra[docker]) into the current environment 2. Creates an AgentOS project from a starter template (same as `ag infra create`) 3. Starts the infrastructure (same as `ag infra up`) Supports -t/-n/-u passthrough and -y for non-interactive runs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an
ag setupcommand to scaffold and start a new AgentOS in one flow.This wires a new Typer command through
libs/agno_infra/agno/cli/entrypoint.pyand addssetup_agentos()inlibs/agno_infra/agno/infra/operator.pyto:(If applicable, issue number: #____)
Type of change
Checklist
./scripts/format.shand./scripts/validate.sh)Duplicate and AI-Generated PR Check
Additional Notes
Validation run before opening this PR:
./scripts/format.sh: passed; no files changed./scripts/validate.sh: command exited0,libs/agno_infraruff and mypy passed, cookbook checks passed; the run printed existing mypy errors in unrelatedlibs/agnofiles includingtools/parallel.py,os/interfaces/agui/handlers.py,models/google/gemini*.py,models/aws/claude.py, andcontext/web/exa.py