Zum Hauptinhalt springen

Übersicht

Der Befehl apollo ai verbindet dich mit Apollo Brain — dem gleichen KI-Assistenten wie in der Web-App, mit allen 160+ Werkzeugen — direkt aus deinem Terminal.

One-Shot-Modus

Stelle eine Frage und erhalte eine gestreamte Antwort:
apollo ai "What tasks are blocked right now?"
Die Antwort wird in Echtzeit gestreamt und als formatiertes Markdown in deinem Terminal dargestellt.

Piping und Scripting

# Pipe to clipboard
apollo ai "Summarize this week's progress" | pbcopy

# Use in scripts
apollo ai "How many tasks are blocked?" --json
Im --json-Modus wird die KI-Antwort an stderr gestreamt, während das endgültige strukturierte Ergebnis an stdout geht. So kannst du sicher pipen, ohne das Streaming-Erlebnis zu verlieren.

Interaktiver Chat-Modus

Für Gespräche mit mehreren Interaktionen verwende die Flag --chat:
apollo ai --chat
Dies öffnet ein REPL mit persistentem Gesprächskontext:
Apollo Brain — Interactive Chat
Type /quit to exit, /clear to reset context
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

You: What's the status of the Delfin One project?

Brain: Delfin One has 142 tasks total:
  - 72 completed (51%)
  - 12 in progress
  - 31 to do
  - 4 blocked

You: Assign #158 to Carlos and set it to high priority

Brain: I'd like to update task #158:
  - Assignee: Carlos Silva
  - Priority: High

  Approve?  [Y/n]

Chat-Befehle

BefehlBeschreibung
/quitChat-Sitzung beenden
/clearGesprächskontext zurücksetzen
/historyBisheriges Gespräch anzeigen

Menschliche Bestätigung

Schreiboperationen (Erstellen, Aktualisieren, Löschen) erfordern immer eine Bestätigung:
  • Interaktiver Modus: Zeigt eine Genehmigungsaufforderung ([Y/n])
  • --json-Modus: Gibt eine requires_confirmation-Antwort zurück — übergib --confirm für automatische Genehmigung
# Auto-approve for scripts (use with caution)
apollo ai "Mark task #142 as done" --json --confirm

Beispiele

# Daily standup summary
apollo ai "Give me a standup summary: what I did yesterday, what I'm doing today, and any blockers"

# Sprint planning
apollo ai "Which unassigned tasks in the current sprint have the highest priority?"

# Release readiness
apollo ai "Is release v2.1.0 on track? What's the biggest risk?"

# Code context
git diff HEAD~3 | apollo ai "Summarize these changes and suggest which Apollo tasks they relate to"