akili graph
Delegate commands to the akili-graph CLI, which manages the platform’s operational knowledge graph. All arguments after akili graph are passed through to the underlying akili-graph binary.
Synopsis
Section titled “Synopsis”akili graph <args>...Description
Section titled “Description”akili graph is a passthrough command that delegates to the akili-graph CLI. The knowledge graph tracks tasks, sessions, errors, lessons, and operational knowledge for the platform. This command provides a unified entry point through the akili CLI.
The akili-graph binary is located using the following detection order:
AKILI_GRAPH_PATHenvironment variable (if set)scripts/akili-graph/akili-graphrelative to the repository rootakili-graphon the systemPATH
Examples
Section titled “Examples”# List tasksakili graph task list --status READY
# Create a new taskakili graph task create --title "Add CDC connector" --milestone M3
# Search knowledgeakili graph knowledge search "retry policy"
# View session historyakili graph session list --limit 10
# View error indexakili graph error listCommon Operations
Section titled “Common Operations”Task Management
Section titled “Task Management”# List tasks by statusakili graph task list --status READYakili graph task list --status IN_PROGRESS
# Transition a taskakili graph task set TASK-123 --status=DONE
# Create a taskakili graph task create --title "Implement connection rotation" --milestone M5Knowledge Search
Section titled “Knowledge Search”# Search the knowledge baseakili graph knowledge search "Kubernetes networking"
# Add external knowledgeakili graph knowledge add \ --url "https://kubernetes.io/docs/concepts/services-networking/" \ --source "Kubernetes docs" \ --domain "infrastructure" \ --topic "K8s networking" \ --summary "Service discovery and DNS resolution in K8s" \ --ttl 90Session Management
Section titled “Session Management”# Create a sessionakili graph session create
# Update a sessionakili graph session update SESSION-42 --problems "Fixed DLQ replay ordering"
# List recent sessionsakili graph session list --limit 5Error Tracking
Section titled “Error Tracking”# Add an error to the indexakili graph error add
# List known errorsakili graph error listEnvironment Variables
Section titled “Environment Variables”| Variable | Description |
|---|---|
AKILI_GRAPH_PATH | Override the path to the akili-graph binary |
Exit Codes
Section titled “Exit Codes”The exit code matches whatever the underlying akili-graph binary returns. A non-zero exit from akili-graph causes akili graph to exit with the same code.