Skip to main content

Soul CLI Commands

The Soul Kernel binary (soul-kernel) provides several commands for development and deployment.

Core Commands

CommandDescription
soul-kernel runRun the kernel (default behavior)
soul-kernel grpcStart the gRPC server

gRPC Server Command

Start the gRPC server to enable remote procedure calls from shells.
soul-kernel grpc [OPTIONS]

Options

FlagDescriptionDefault
--host <HOST>Host address to bind to127.0.0.1
-p, --port <PORT>Port to listen on50051
-h, --helpPrint help information-

Examples

# Start with defaults (localhost:50051)
soul-kernel grpc

# Bind to all interfaces
soul-kernel grpc --host 0.0.0.0

# Use custom port
soul-kernel grpc --port 8080

# Full configuration
soul-kernel grpc --host 0.0.0.0 --port 8080

Graceful Shutdown

The server supports graceful shutdown via:
  • Ctrl+C (SIGINT)
  • kill -TERM <pid> (SIGTERM)
When shutdown is initiated, the server will:
  1. Stop accepting new connections
  2. Complete in-flight requests
  3. Log shutdown progress
  4. Exit cleanly

Development Commands (Coming Soon)

CommandDescription
soul newCreate a new Soul project
soul buildBuild kernel & skills
soul pack-skillPackage skill for distribution
soul publish-skillUpload skill to marketplace
soul test-skillRun skill tests

Environment Variables

VariableDescriptionExample
RUST_LOGSet log levelRUST_LOG=info
SOUL_DATA_DIRData directory/var/soul/data

Change Log

DateVersionChanges
2025-06-120.1.0Added gRPC server command documentation