Watch with telemetry

Note: Install the full praisonai package. Set OPENAI_API_KEY in the same terminal.

Answer before telemetry

The flag records usage in the CLI. Try it Yourself runs the same one-liner without flags first.

Example

from praisonai import Agent

agent = Agent(instructions="Say hello in one sentence.")
print(agent.start("Say hello in one sentence."))

Try it Yourself

One flag

Telemetry adds usage monitoring to a CLI run. You still get the answer; the terminal also records that the run happened.

Use it when you are trying a new prompt or a new model and want a record without opening a dashboard yet.

Example

export OPENAI_API_KEY=your_key_here
praisonai "Say hello in one sentence" --telemetry

Example explained

  • –telemetry — Turns on usage monitoring for this command.
  • praisonai — The CLI wrapper around agent runs.

With metrics

Add –metrics when you also want timing-style metrics on the same run.

Example

praisonai "Name three colours" --telemetry --metrics

Reference: documentation