Crie a estrutura de um novo agente a partir de um modelo inicial.
Synopsis
Crie um agente inicial local-first a partir de um modelo compatÃvel, reescreva campos de identidade como nome e metadados do pacote, grave um arquivo de ambiente personalizado e imprima as próximas etapas especÃficas do modelo.
A criação interativa testa a conexão com a LLM antes de gravar arquivos. Se o teste falhar, você pode inserir novamente os detalhes da conexão, tentar novamente ou continuar. Em uma execução não interativa, --smoke-test não grava nada e sai com um erro quando o teste falha, para que você possa executar novamente o mesmo comando com valores corrigidos. Configurar manualmente a LLM, aplicativos cliente e projetos apenas na memória ignoram a verificação.
agentengine create [flags]Exemplos
agentengine createagentengine create --name "Acme Assistant" --llm anthropic --memoryOpções
--dir string Target directory (default: ./<slug>)-h, --help help for create --json Output the scaffold result as JSON --llm string LLM connection: openai, anthropic, gemini, openrouter, openai-compatible, anthropic-compatible, or custom (configure in code) --llm-auth-header string Header field the compatible endpoint expects the API key in (default: inferred; authorization uses Bearer) --llm-base-url string Compatible endpoint base URL; its host is added to network.egress --llm-model string Model or deployment name (required for OpenRouter and compatible endpoints) --memory Enable memory for supported agent templates and prompt for Voyage API key --memory-only Scaffold a memory-only project (project-config.yaml only, no agent template) --name string Application display name --open-egress Allow open outbound access for Agent and Tool (writes network.egress_mode: allow_all) --smoke-test Send one Hello request to the selected LLM before writing files (10s timeout); if it fails, create writes nothing and exits with an error --template string Starter template to use (default: insurance-agent) --yes Accept defaults for optional promptsOpções herdadas dos comandos pai
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)Veja também
- agentemecanismo - CLI de desenvolvimento local do Mecanismo de Agente.