Python-Inspired Scripting for Go

Sandboxed. Embeddable. Powerful.

Scriptling is a secure scripting language designed for embedding in Go applications. From automation and developer tooling to AI-powered workflows and MCP integration, it provides a flexible way to extend applications while keeping the host environment firmly under your control.

Scriptling Mascot

Python-Inspired Syntax

Write code that feels familiar with indentation-based blocks, classes with single inheritance, functions, lambda, list comprehensions, and comprehensive error handling.

Python-like Syntax

Secure & Sandboxed

No direct filesystem or network access unless explicitly enabled. Configurable security with path restrictions, network access control, and execution timeouts.

Sandboxed Execution

Seamless Go Integration

Register Go functions, exchange variables, and create custom libraries. Direct type mapping between Go and Scriptling makes embedding effortless.

Go Integration

Built for AI & LLMs

Native OpenAI-compatible API support, MCP (Model Context Protocol) server and client, and automatic tool execution for agentic workflows.

AI & LLM Ready

Built-in Database Support

SQLite, MySQL/MariaDB, PostgreSQL, Valkey/Redis and BadgerDB plugins with a shared API and a script-side ORM: query builders, criteria and model gateways that run unchanged on every backend.

Database Support

Plugin Extensibility

Extend with Go, C, PHP or any language speaking JSON-RPC: libraries, remote objects and whole file sources (knot:// style) served from disk or http(s), with the host security policy delivered to every plugin.

Plugin System

Rich Library Ecosystem

70+ built-in libraries including JSON, regex, math, HTTP requests, subprocess, YAML, and specialized libraries for AI, MCP, and concurrent execution.

Rich Library Ecosystem

MCP & HTTP Server

Run scripts directly, use interactive mode, or start an HTTP server with MCP support. Cross-platform binaries for Linux, macOS, and Windows.

MCP & HTTP Server

Why Choose Scriptling?

Scriptling is an open-source (MIT License) scripting language that bridges the gap between Go applications and Python-like scripting. Whether you’re building AI agents, automation tools, or need embedded scripting in your Go application, Scriptling provides a secure, fast, and familiar solution.

Key Use Cases:

  • AI & LLM Integration - Let AI agents execute code safely with built-in guardrails
  • Go Embedding - Add scripting capabilities to your Go applications
  • REST API Automation - Built-in HTTP client with JSON handling
  • Database Access - SQL, NoSQL and embedded stores through one plugin API with an ORM
  • Sandboxed Execution - Run untrusted code with configurable security
  • MCP Servers - Build Model Context Protocol servers for LLM tools
  • Developer Tooling - VSCode extension with syntax highlighting and language support