Anton currently I believe only supports interactive REPL usage. There's no way to send a single prompt programmatically and get structured output back. Is it in the roadmap to add a feature like this?
Maybe something like a --prompt / -p flag (and optionally --output-format json) to enable headless single-shot execution?
Single prompt, stdout response:
anton --prompt "What's the current price of AAPL?"
JSON output for programmatic consumption:
anton --prompt "Analyze my portfolio" --output-format json
Anton currently I believe only supports interactive REPL usage. There's no way to send a single prompt programmatically and get structured output back. Is it in the roadmap to add a feature like this?
Maybe something like a --prompt / -p flag (and optionally --output-format json) to enable headless single-shot execution?
Single prompt, stdout response:
anton --prompt "What's the current price of AAPL?"
JSON output for programmatic consumption:
anton --prompt "Analyze my portfolio" --output-format json