agno create clones a starter template into a new directory, strips its git history, and seeds .env from the template’s example.env when it ships one.
Add your secrets to my-os/.env, then:
Interactive Mode
Runagno create with no arguments and the CLI walks you through both choices:
agentos-docker. It then asks for a project name (default agentos) and re-prompts until the name is valid and the directory is free.
Passing --template or --url skips the template question. An unknown --template fails before the first prompt appears.
With --json, or in any run where stdin is not a TTY, nothing prompts and the name argument is required.
Starter Templates
Pick a starter with--template:
Every starter ships an AgentOS application, an
example.env, and a compose file that agno up picks up. See Templates for the full catalog, including pre-built agent systems.
Custom Templates
Scaffold from any git repository, such as your team’s internal starter:How It Works
- Validates the name. It becomes a directory under the current directory, so it must be a single path segment of letters, digits,
-, and_. - Runs
git clone --depth 1on the template repository (git must be installed). - Removes the cloned
.gitdirectory, giving you a clean tree to init your own repo in. - Copies
example.envto.envwith owner-only permissions when the template ships one. An existing.envis never overwritten. If seeding fails, the cloned directory is removed so a retry starts clean.
up, down, and restart operate on whatever directory you run them from.