Choose an execution path
Local execution describes where the job is orchestrated. A locally orchestrated job can still send requests to a remote provider.
Expected Parrot
Log in from a notebook
Run this in a notebook cell:.env file, and makes it available to the current notebook session. You do not need to copy or paste the key.
If a valid key is already configured, login() reports the signed-in user. These optional arguments let you sign in again or allow more time to finish:
Use an existing API key
You can also obtain a key from your Expected Parrot account settings and supply it through theEXPECTED_PARROT_API_KEY environment variable or your environment’s secret manager. Keep the key and any .env file containing it private.
For automation, configure the environment variable before starting the process. These CLI commands check authentication and connectivity:
status and error details. See Remote execution for running and retrieving a job.
Direct provider access
Configure the selected provider’s key in its environment variable, such asOPENAI_API_KEY for OpenAI or ANTHROPIC_API_KEY for Anthropic. Select current identifiers from the model catalog:
Loading a local .env file
If you use a local.env file, exclude it from version control and load it before constructing clients:
Troubleshooting access
Useep info for redacted diagnostics. For Expected Parrot, use ep auth status and ep check. For a direct provider, confirm that its key is configured and that the account has access to the selected model. Correct authentication errors before retrying a job.