Skip to content

Quickstart (CLI)

Goal: Create and run a project using agentcli with config-first runtime.

Steps (PowerShell)

  1. Create project (uses OpenAI provider)
powershell
agentcli create my-agents --template research-assistant -p openai
  1. Enter project
powershell
Set-Location my-agents
  1. Validate configuration
powershell
agentcli validate
  1. Run
powershell
go run .

Expected

  • CLI validation shows Status: VALID
  • App starts without errors and prints agent responses

Notes

  • Set your OpenAI API key: $Env:OPENAI_API_KEY="your-api-key" (PowerShell) or export OPENAI_API_KEY="your-api-key" (Bash)
  • Alternative providers: -p azure (requires AZURE_OPENAI_* env vars) | -p ollama (requires local Ollama running)
  • List config templates first if needed: agentcli config template --list

Bash equivalents

bash
agentcli create my-agents --template research-assistant -p openai
cd my-agents
agentcli validate
go run .

Verification checklist

  • [ ] agentcli create executed successfully
  • [ ] agentcli validate reported VALID
  • [ ] go run . produced agent output

Released under the Apache 2.0 License.