Documentation
Scriptling is a minimal, sandboxed interpreter for Python-like scripting designed for embedding in Go applications. Use the sections below to get started, integrate with Go, or explore tutorials.
Guides
Getting Started
Install the CLI or embed Scriptling in Go
CLI Reference
Running scripts, HTTP server mode, MCP server mode, and packages
Go Integration
Embed the interpreter, register functions, and create custom libraries
Security Guide
Sandbox configuration, path restrictions, and network access control
Tutorials
Step-by-step guides for real-world scenarios:
- Fetching and Processing API Data — HTTP requests, JSON processing, and file output
- Embedding a Rules Engine — Go integration with custom functions
- Building an MCP Tool Server — Custom tools for AI assistants
Reference
For language syntax, built-in functions, and library APIs, see the Reference section.