Skip to main content
Gravix Layer lets your LLM application run real code in isolated Runtimes.
  1. Receive user request.
  2. Create or reuse a runtime.
  3. Execute generated code or terminal commands.
  4. Read outputs/files.
  5. Return a summarized answer.
  6. Clean up runtime resources.

Example

Production Guidance

  • Always use cleanup in finally blocks.
  • Keep API keys in environment variables.
  • Use SSH only when an operator needs direct shell access.

Code Execution

Run Python and JavaScript in isolated runtimes

Terminal Execution

Run shell commands and CLI tooling