API overviewStart agent sessions and manage agents with the CLI, Python, TypeScript, or curl.Guides Quick startStart your first agent sessionAuthenticationCreate and use an API keyPython SDKHandles, streaming, and typed errorsTypeScript SDKHandles, streaming, and typed errorsCLICommands and flagsSession eventsEvery event a session emits Reference AgentsCreate, edit, and start agentsSessionsFollow sessions and read their outputEnvironmentsDefine where agents runSecretsStore credentials for environmentsAccountCheck budgets, usage, and modelsIntegrationsList connected services and repositoriesOpenAPIFull schema, including dashboard endpoints