Skip to article
NEXUSDocs
Documentation/Using Nexus
Feature guide

Code Execution

Safe and sandboxed Python runtime available to the LLM

Before you begin

Availability depends on your school's enabled tools, provider setup, and account permissions. These settings are managed in the web workspace. A class policy may restrict a feature described here.

The code execution action gives Nexus's LLMs the ability to write and execute Python code, for tasks such as performing complex calculations, running data analysis on uploaded files, and generating or modifying documents.

The code execution action is built-in functionality available to all deployments without any configuration needed.

The LLM determines when to use code execution based on the user's query. no explicit invocation is needed. It can also be attached to custom Agents, giving the LLM the option to use it as needed.

Features#

The code execution action runs in a secure, sandboxed Python environment with all dangerous functionality removed (such as network access and filesystem access outside of the sandbox).

  • Libraries: Comes with pre-installed libraries such as numpy, pandas, scipy, matplotlib, and more.

  • File Input: Pass arbitrary file types along with the code to run against them.

  • File Output: Files can be created and provided back to the user.

  • STDIN/STDOUT Capture: All program outputs are captured and displayed to the user.

  • Graph Rendering: The Nexus Chat UI renders returned graphs and other visualizations directly in the conversation.

Configuration#

To learn more about managing the code execution server, see the admin configuration guide.

NEXUS

Nexus helps students think, practice, and learn, with teachers guiding AI use.

[ Support ]

[ NARB TECHNOLOGY INC. ]

Nexus is a school AI platform by narb Technology Inc. · 16192 Coastal Hwy, Lewes, DE 19958

© 2026 narb Technology Inc.

Nexus

Nexus helps schools make room for questions, practice, and reflection — with teacher guidance in view.

[ Contact us through e-mail ]

© 2026 narb Technology Inc.

NEXUS

Nexus helps students think, practice, and learn, with teachers guiding AI use.

[ Support ]

[ NARB TECHNOLOGY INC. ]

Nexus is a school AI platform by narb Technology Inc.

© 2026 narb Technology Inc.