# Scriptling > Scriptling is a sandbox-safe, Python-like scripting language for Go applications: embed the interpreter, register only the libraries your host allows, and generate normal Python 3 style code. Docs: https://scriptling.dev/docs/ All 190 OKF 0.2 concepts below are plain markdown served from https://scriptling.dev/okf/. Links here and inside every document are absolute URLs: fetch any of them directly. ## Essential - [LLM Script Generation Guide](https://scriptling.dev/docs/llm-guide/): Guidance for generating Scriptling code — includes a copyable AGENTS.md block - [Quick Start](https://scriptling.dev/docs/quick-start/): Install the CLI or embed in Go - [Command Line Options](https://scriptling.dev/docs/cli/command-line-options/): Every flag, environment variable, and config file setting - [Security Guide](https://scriptling.dev/docs/security/): Sandboxing, filesystem restrictions, and network policies - [Documentation MCP Server](https://scriptling.dev/docs/quick-start/documentation-mcp/): Serve the docs to agents over MCP with search ## OKF bundles Fetchable markdown (OKF 0.2) — each bundle's index.md lists its concepts: - [scriptling-docs](https://scriptling.dev/okf/scriptling-docs/index.md): Guides: quick start, CLI usage, Go integration, plugins, security, and tutorials. - [scriptling-reference](https://scriptling.dev/okf/scriptling-reference/index.md): Language reference: syntax, types, operators, control flow, functions, classes, and error handling. - [scriptling-libraries](https://scriptling.dev/okf/scriptling-libraries/index.md): API reference for every standard, Scriptling, and extended library. - [OKF catalog](https://scriptling.dev/okf/index.md): Markdown index of all bundles ## scriptling-docs > Guides: quick start, CLI usage, Go integration, plugins, security, and tutorials. - [Changelog](https://scriptling.dev/okf/scriptling-docs/changelog.md): Scriptling release history. - [Basic Usage](https://scriptling.dev/okf/scriptling-docs/cli/basic-usage.md): Running scripts, interactive mode, and lint mode. - [Command Line Options](https://scriptling.dev/okf/scriptling-docs/cli/command-line-options.md): Every CLI flag, environment variable, and configuration file setting. - [HTTP Server Mode](https://scriptling.dev/okf/scriptling-docs/cli/http-server.md): Running Scriptling as an HTTP server with custom routes. - [JSON-RPC Server Mode](https://scriptling.dev/okf/scriptling-docs/cli/jsonrpc-server.md): Running Scriptling as a concurrent JSON-RPC 2.0 server over stdio or HTTP. - [CLI Libraries](https://scriptling.dev/okf/scriptling-docs/cli/libraries.md): Loading, disabling, and controlling library and filesystem access. - [MCP Server Mode](https://scriptling.dev/okf/scriptling-docs/cli/mcp-server.md): Running Scriptling as a Model Context Protocol (MCP) server for AI integration. - [Network Policy](https://scriptling.dev/okf/scriptling-docs/cli/network-policy.md): Restricting script outbound network access with a policy file. - [Packages](https://scriptling.dev/okf/scriptling-docs/cli/packages.md): Create, distribute, and load Scriptling packages. - [Plugin Server Mode](https://scriptling.dev/okf/scriptling-docs/cli/plugin-server.md): Run a Scriptling script as a first-class plugin that clients can load with scriptling=True. - [CLI Guide](https://scriptling.dev/okf/scriptling-docs/cli.md): Command-line interface for Scriptling. - [Basics](https://scriptling.dev/okf/scriptling-docs/go-integration/basics.md): Creating interpreters, variable exchange, and calling functions. - [Builder Classes](https://scriptling.dev/okf/scriptling-docs/go-integration/builder-classes.md): Type-safe class builder with automatic method conversion. - [Builder Functions](https://scriptling.dev/okf/scriptling-docs/go-integration/builder-functions.md): Type-safe function builder with automatic type conversion. - [Builder Instantiation](https://scriptling.dev/okf/scriptling-docs/go-integration/builder-instantiation.md): Create library templates with instance-specific configuration. - [Builder Libraries](https://scriptling.dev/okf/scriptling-docs/go-integration/builder-libraries.md): Type-safe library builder with functions, constants, and sub-libraries. - [Builder API](https://scriptling.dev/okf/scriptling-docs/go-integration/builder.md): Type-safe builder pattern for functions, classes, and libraries. - [Documenting Extensions](https://scriptling.dev/okf/scriptling-docs/go-integration/documentation.md): Add help text to functions, libraries, and classes for discoverability. - [GC Release Hooks](https://scriptling.dev/okf/scriptling-docs/go-integration/gc-release-hooks.md): Best-effort cleanup hooks for Go-owned Scriptling objects. - [Library Registration](https://scriptling.dev/okf/scriptling-docs/go-integration/library-registration.md): How to register built-in libraries when embedding Scriptling in Go. - [Linting](https://scriptling.dev/okf/scriptling-docs/go-integration/lint.md): Lex and parse Scriptling source without execution. - [Library Loader Chain](https://scriptling.dev/okf/scriptling-docs/go-integration/loader-chain.md): Flexible library loading from multiple sources. - [Dunder Methods & Properties](https://scriptling.dev/okf/scriptling-docs/go-integration/native-classes/special-methods.md): Give native Go classes special (dunder) methods such as __getitem__, and expose properties and static methods with object.Property and object.StaticMethod. - [Native Classes](https://scriptling.dev/okf/scriptling-docs/go-integration/native-classes.md): Create custom classes with full control over methods and inheritance. - [Native Functions](https://scriptling.dev/okf/scriptling-docs/go-integration/native-functions.md): Register individual Go functions with direct control. - [Native Libraries](https://scriptling.dev/okf/scriptling-docs/go-integration/native-libraries.md): Create libraries with functions, constants, and sub-libraries. - [Native API](https://scriptling.dev/okf/scriptling-docs/go-integration/native.md): Direct object-level control for extending Scriptling. - [Checking Script Requirements](https://scriptling.dev/okf/scriptling-docs/go-integration/script-metadata.md): Verify a script's inline metadata block — version, libraries, plugins — before running it in an embedded host. - [Script Extensions](https://scriptling.dev/okf/scriptling-docs/go-integration/scripts.md): Extend Scriptling using Scriptling code itself. - [Go Integration](https://scriptling.dev/okf/scriptling-docs/go-integration.md): Embed Scriptling in your Go application. - [LLM Script Generation Guide](https://scriptling.dev/okf/scriptling-docs/llm-guide.md): Guidance for generating accurate Scriptling code with LLMs — copy it into your agent's instructions or fetch the hosted docs. - [Bash Plugins](https://scriptling.dev/okf/scriptling-docs/plugins/bash.md): Implement the plugin JSON-RPC protocol directly from a shell script. - [C Plugins](https://scriptling.dev/okf/scriptling-docs/plugins/c-plugins.md): Build Scriptling plugins in C using the single-header SDK. - [Plugin Fetchers](https://scriptling.dev/okf/scriptling-docs/plugins/fetchers.md): Serve scheme sources such as knot:// or demo:// from a plugin, on demand. - [Client Wrappers](https://scriptling.dev/okf/scriptling-docs/plugins/go-plugins/client-wrappers.md): How the host wraps plugin functions and classes, auto-generated proxies and custom Scriptling wrappers. - [Host-Side Scripting](https://scriptling.dev/okf/scriptling-docs/plugins/go-plugins/host-side-scripting.md): Register Scriptling functions and classes that run on the host, and wrap plugin objects with host-side code. - [Go Plugins](https://scriptling.dev/okf/scriptling-docs/plugins/go-plugins.md): Register functions and classes in a Go plugin executable. - [Plugin Manager](https://scriptling.dev/okf/scriptling-docs/plugins/host-integration.md): Enable plugins in Go applications embedding Scriptling. - [PHP Plugins](https://scriptling.dev/okf/scriptling-docs/plugins/php-plugins.md): Serve the plugin protocol from plain PHP over HTTP JSON-RPC. - [JSON-RPC Protocol](https://scriptling.dev/okf/scriptling-docs/plugins/protocol.md): The wire protocol between Scriptling and plugin executables. - [Using Plugins](https://scriptling.dev/okf/scriptling-docs/plugins/using.md): Load plugin directories and use plugin libraries from Scriptling code. - [Plugins](https://scriptling.dev/okf/scriptling-docs/plugins.md): Extend Scriptling with executable plugins over JSON-RPC. - [CLI Getting Started](https://scriptling.dev/okf/scriptling-docs/quick-start/cli.md): Install and start using the Scriptling CLI. - [Documentation MCP Server](https://scriptling.dev/okf/scriptling-docs/quick-start/documentation-mcp.md): Serve Scriptling's documentation as OKF bundles to AI agents through the OKF MCP server. - [Embedding](https://scriptling.dev/okf/scriptling-docs/quick-start/embedding.md): Embed Scriptling in a Go application. - [VSCode Extension](https://scriptling.dev/okf/scriptling-docs/quick-start/vscode.md): Get syntax highlighting and language support for Scriptling in Visual Studio Code. - [Getting Started](https://scriptling.dev/okf/scriptling-docs/quick-start.md): Get up and running with Scriptling. - [Script Metadata](https://scriptling.dev/okf/scriptling-docs/script-metadata.md): Declare script requirements — scriptling version, libraries, plugins — in an inline metadata block. - [Documentation](https://scriptling.dev/okf/scriptling-docs/scriptling-docs.md): Complete documentation for Scriptling - a minimal, sandboxed Python-like scripting language for Go applications. - [Security Guide](https://scriptling.dev/okf/scriptling-docs/security.md): Security best practices for embedding and running Scriptling in your applications. - [Fetching and Processing API Data](https://scriptling.dev/okf/scriptling-docs/tutorials/api-data-fetching.md): Write a CLI script that fetches data from a public API and processes the results. - [Writing a C Plugin](https://scriptling.dev/okf/scriptling-docs/tutorials/c-plugin.md): Build a multi-threaded C plugin with functions, classes, properties, callbacks, and logging. - [Embedding a Rules Engine](https://scriptling.dev/okf/scriptling-docs/tutorials/embedding-rules-engine.md): Embed Scriptling in a Go application to evaluate business rules at runtime. - [Writing a Fetcher Plugin](https://scriptling.dev/okf/scriptling-docs/tutorials/fetcher-plugin.md): Serve libraries, assets and script sources from a plugin-owned scheme such as demo://. - [Writing a Go Plugin](https://scriptling.dev/okf/scriptling-docs/tutorials/go-plugin.md): Build an executable plugin that exposes functions and classes under plugin.*. - [Packaging an MCP App](https://scriptling.dev/okf/scriptling-docs/tutorials/mcp-app-package.md): Build a complete MCP application with an app view, tools, a prompt and a skill, package it as one artifact, and run it from the package. - [Building an MCP Resources & Prompts Server](https://scriptling.dev/okf/scriptling-docs/tutorials/mcp-resources-prompts.md): Create MCP resources and prompts as files, alongside tools. - [Building an MCP Tool Server](https://scriptling.dev/okf/scriptling-docs/tutorials/mcp-tool-server.md): Create a Model Context Protocol server with custom tools for AI assistants. - [Plugin Streaming Callbacks](https://scriptling.dev/okf/scriptling-docs/tutorials/plugin-callbacks.md): Pass a Scriptling callback into a Go plugin and stream events back while the function runs. - [Tutorials](https://scriptling.dev/okf/scriptling-docs/tutorials.md): Step-by-step guides for building with Scriptling. ## scriptling-reference > Language reference: syntax, types, operators, control flow, functions, classes, and error handling. - [Built-in Functions](https://scriptling.dev/okf/scriptling-reference/builtins.md): Every Scriptling built-in function, A to Z, with type conversion, math, string, list, dictionary, attribute and iteration functions. - [Class Decorators & Properties](https://scriptling.dev/okf/scriptling-reference/classes/decorators.md): Using @property, @staticmethod, @classmethod, and custom function and class decorators with Scriptling classes. - [Dunder Methods](https://scriptling.dev/okf/scriptling-reference/classes/dunder-methods.md): The dunder (magic) methods Scriptling classes can define, covering string conversion, length, truthiness, comparison, arithmetic, context managers, membership, finalizers, and iteration. - [Classes](https://scriptling.dev/okf/scriptling-reference/classes.md): Class definition, inheritance, super(), dunder methods, __init__, __del__, and property decorators in Scriptling. - [Control Flow](https://scriptling.dev/okf/scriptling-reference/control-flow.md): Conditionals, loops, match statements, break, continue, and pass in Scriptling. - [Decorators](https://scriptling.dev/okf/scriptling-reference/decorators.md): Using decorators to wrap functions and classes, decorator factories with arguments, stacking, and built-in decorators in Scriptling. - [Error Handling](https://scriptling.dev/okf/scriptling-reference/error-handling.md): try/except/else/finally, raise, assert, and exception types in Scriptling. - [Functions](https://scriptling.dev/okf/scriptling-reference/functions.md): Function definition, parameters, *args, **kwargs, lambdas, and closures in Scriptling. - [Operators](https://scriptling.dev/okf/scriptling-reference/operators.md): Arithmetic, comparison, boolean, bitwise operators and precedence in Scriptling. - [Performance Guide](https://scriptling.dev/okf/scriptling-reference/performance.md): Tips and best practices for writing efficient Scriptling code. - [Python Differences](https://scriptling.dev/okf/scriptling-reference/python-differences.md): What's NOT supported and key differences between Scriptling and Python. - [Reference](https://scriptling.dev/okf/scriptling-reference/scriptling-reference.md): Reference for the Scriptling language - syntax, data types, operators, control flow, functions, classes, and built-in functions. - [Indexing & Slicing](https://scriptling.dev/okf/scriptling-reference/slicing.md): Single index access, slice notation, and the slice() builtin in Scriptling. - [Syntax Rules](https://scriptling.dev/okf/scriptling-reference/syntax.md): Indentation, comments, strings, multiline syntax, imports and keywords in Scriptling. - [Data Types](https://scriptling.dev/okf/scriptling-reference/types.md): Integers, floats, strings, booleans, lists, dictionaries, sets, and tuples in Scriptling. ## scriptling-libraries > API reference for every standard, Scriptling, and extended library. - [scriptling.ai.agent](https://scriptling.dev/okf/scriptling-libraries/ai/agent.md): Agentic AI loop for building AI agents with automatic tool execution. - [scriptling.ai](https://scriptling.dev/okf/scriptling-libraries/ai/ai.md): AI and LLM functions for OpenAI-compatible APIs: clients, completions, embeddings, and tool-calling helpers. - [Responses API](https://scriptling.dev/okf/scriptling-libraries/ai/client/responses.md): Create, stream, fetch, cancel, delete, and compact OpenAI Responses API responses with scriptling.ai.Client. - [Streaming Completions](https://scriptling.dev/okf/scriptling-libraries/ai/client/streaming.md): Stream chat completions from scriptling.ai.Client with completion_stream() and the ChatStream object. - [scriptling.ai.Client](https://scriptling.dev/okf/scriptling-libraries/ai/client.md): Primary client interface for calling AI providers like OpenAI, Claude, Gemini and Grok. - [scriptling.ai.agent.interact](https://scriptling.dev/okf/scriptling-libraries/ai/interact.md): Interactive terminal interface for conversing with AI agents via a REPL-style loop. - [scriptling.ai.memory](https://scriptling.dev/okf/scriptling-libraries/ai/memory.md): Long-term, deduplicated memory store for AI agents backed by a KV store. - [scriptling.ai.tools](https://scriptling.dev/okf/scriptling-libraries/ai/tools.md): Tool schema builder for AI agents. - [AI](https://scriptling.dev/okf/scriptling-libraries/ai.md): AI integration libraries for building intelligent agents. - [Library Cheat Sheet](https://scriptling.dev/okf/scriptling-libraries/cheat-sheet.md): Quick reference for common Scriptling library patterns. - [collections](https://scriptling.dev/okf/scriptling-libraries/collections-iteration/collections.md): Specialized container datatypes, counters, double-ended queues, named tuples, and chained dicts. - [contextlib](https://scriptling.dev/okf/scriptling-libraries/collections-iteration/contextlib.md): Utilities for common tasks involving the with statement. - [functools](https://scriptling.dev/okf/scriptling-libraries/collections-iteration/functools.md): Higher-order functions that act on or return other functions. - [itertools](https://scriptling.dev/okf/scriptling-libraries/collections-iteration/itertools.md): Iteration utilities for efficient looping, filtering, and combinatorics. - [Collections & Iteration](https://scriptling.dev/okf/scriptling-libraries/collections-iteration.md): Container datatypes, iterators, and functional programming tools. - [bytes](https://scriptling.dev/okf/scriptling-libraries/data-formats/bytes.md): Binary data type and constructor. - [json](https://scriptling.dev/okf/scriptling-libraries/data-formats/json.md): Parse and generate JSON data. - [msgpack](https://scriptling.dev/okf/scriptling-libraries/data-formats/msgpack.md): Parse and generate MessagePack binary data. - [toml](https://scriptling.dev/okf/scriptling-libraries/data-formats/toml.md): Parse and generate TOML (Tom's Obvious Minimal Language) data. - [yaml](https://scriptling.dev/okf/scriptling-libraries/data-formats/yaml.md): Parse and generate YAML (YAML Ain't Markup Language) data. - [Data Formats](https://scriptling.dev/okf/scriptling-libraries/data-formats.md): Libraries for parsing and generating structured data formats. - [scriptling.badgerdb](https://scriptling.dev/okf/scriptling-libraries/databases/badgerdb.md): BadgerDB embedded key/value store with the valkey API on local storage. - [Relational ORM](https://scriptling.dev/okf/scriptling-libraries/databases/orm.md): conn.get_orm() gives queries, builders, criteria and model gateways for every relational backend. - [scriptling.sql](https://scriptling.dev/okf/scriptling-libraries/databases/sql.md): MySQL, MariaDB and PostgreSQL client with one connect() per DSN scheme and one shared API. - [scriptling.sqlite](https://scriptling.dev/okf/scriptling-libraries/databases/sqlite.md): SQLite embedded relational database, connect, query, execute, close. - [scriptling.valkey](https://scriptling.dev/okf/scriptling-libraries/databases/valkey.md): Valkey and Redis key/value client with strings, counters, TTLs, sets, queues and key patterns. - [Database Libraries](https://scriptling.dev/okf/scriptling-libraries/databases.md): SQLite, MySQL/MariaDB/PostgreSQL, Valkey/Redis and BadgerDB plugins, two API shapes, four backends. - [fs](https://scriptling.dev/okf/scriptling-libraries/filesystem/fs.md): Binary I/O for reading, writing, and unpacking binary file formats. - [glob](https://scriptling.dev/okf/scriptling-libraries/filesystem/glob.md): Unix shell-style wildcard matching for filenames, similar to Python's glob module. - [os](https://scriptling.dev/okf/scriptling-libraries/filesystem/os.md): Operating system interfaces for file system operations and environment variables. - [os.path](https://scriptling.dev/okf/scriptling-libraries/filesystem/os.path.md): Common pathname manipulations, similar to Python's os.path module. - [pathlib](https://scriptling.dev/okf/scriptling-libraries/filesystem/pathlib.md): Object-oriented filesystem paths, similar to Python's pathlib module. - [shutil](https://scriptling.dev/okf/scriptling-libraries/filesystem/shutil.md): High-level file and directory operations — copy, move, rmtree, disk_usage. - [tarfile](https://scriptling.dev/okf/scriptling-libraries/filesystem/tarfile.md): Read and write TAR archives (uncompressed and gzipped). - [tempfile](https://scriptling.dev/okf/scriptling-libraries/filesystem/tempfile.md): Temporary file and directory creation with security restrictions. - [zipfile](https://scriptling.dev/okf/scriptling-libraries/filesystem/zipfile.md): Read and write ZIP archives. - [File System](https://scriptling.dev/okf/scriptling-libraries/filesystem.md): File and directory access libraries. All require registration when embedding. - [requests](https://scriptling.dev/okf/scriptling-libraries/http-process/requests.md): HTTP client for making GET, POST, PUT, DELETE, and PATCH requests. - [subprocess](https://scriptling.dev/okf/scriptling-libraries/http-process/subprocess.md): Spawn and manage subprocesses, similar to Python's subprocess module. - [urllib.parse](https://scriptling.dev/okf/scriptling-libraries/http-process/urllib.md): Parse, split, join, and percent-encode/decode URLs and query strings without network access. - [HTTP & Process](https://scriptling.dev/okf/scriptling-libraries/http-process.md): HTTP requests, URL parsing, and subprocess management. - [base64](https://scriptling.dev/okf/scriptling-libraries/math-numbers/base64.md): Base64 encoding and decoding. - [hashlib](https://scriptling.dev/okf/scriptling-libraries/math-numbers/hashlib.md): Cryptographic hash functions. - [hmac](https://scriptling.dev/okf/scriptling-libraries/math-numbers/hmac.md): Keyed-hashing for message authentication (HMAC). - [Vectors & FloatArray](https://scriptling.dev/okf/scriptling-libraries/math-numbers/math/vectors.md): Vector and matrix functions in the math library, and the FloatArray type returned by math.array(). - [math](https://scriptling.dev/okf/scriptling-libraries/math-numbers/math.md): Mathematical functions and constants. - [random](https://scriptling.dev/okf/scriptling-libraries/math-numbers/random.md): Random number generation, compatible with Python's random module. - [secrets](https://scriptling.dev/okf/scriptling-libraries/math-numbers/secrets.md): Cryptographically strong random number generation for tokens, keys, and passwords. - [statistics](https://scriptling.dev/okf/scriptling-libraries/math-numbers/statistics.md): Functions for calculating mathematical statistics of numeric data. - [uuid](https://scriptling.dev/okf/scriptling-libraries/math-numbers/uuid.md): UUID generation, matching Python's uuid module. - [Math & Numbers](https://scriptling.dev/okf/scriptling-libraries/math-numbers.md): Mathematical functions, hashing, and random and secure-random number generation. - [scriptling.mcp](https://scriptling.dev/okf/scriptling-libraries/mcp/client.md): MCP client library for connecting to MCP servers and invoking the tools they expose. - [MCP Apps](https://scriptling.dev/okf/scriptling-libraries/mcp/mcp-apps.md): Linking a tool to an interactive UI resource, from any tool registration style. - [scriptling.mcp.tool](https://scriptling.dev/okf/scriptling-libraries/mcp/tool.md): MCP tool helper for authoring MCP tools, with parameter access and result handling. - [Writing MCP Tools](https://scriptling.dev/okf/scriptling-libraries/mcp/writing-mcp-tools.md): Creating custom MCP tools with metadata and script files. - [MCP Protocol](https://scriptling.dev/okf/scriptling-libraries/mcp.md): MCP (Model Context Protocol) client and tool authoring libraries. - [scriptling.messaging.console](https://scriptling.dev/okf/scriptling-libraries/messaging/console.md): Console-based messaging client for building and testing interactive terminal bots. - [scriptling.messaging.discord](https://scriptling.dev/okf/scriptling-libraries/messaging/discord.md): Discord Bot API client using a WebSocket Gateway connection for real-time events. - [scriptling.messaging.slack](https://scriptling.dev/okf/scriptling-libraries/messaging/slack.md): Slack Bot API client using Socket Mode for real-time events. - [scriptling.messaging.telegram](https://scriptling.dev/okf/scriptling-libraries/messaging/telegram.md): Telegram Bot API client for building bots on the Telegram platform. - [Messaging](https://scriptling.dev/okf/scriptling-libraries/messaging.md): Platform-agnostic bot framework for Telegram, Discord, Slack, and Console. - [Node Groups & Leader Election](https://scriptling.dev/okf/scriptling-libraries/networking/gossip/coordination.md): Metadata-criteria node groups and quorum-based leader election on a scriptling.net.gossip cluster. - [scriptling.net.gossip](https://scriptling.dev/okf/scriptling-libraries/networking/gossip.md): Gossip protocol cluster membership and messaging with failure detection and routing. - [scriptling.net.multicast](https://scriptling.dev/okf/scriptling-libraries/networking/multicast.md): UDP multicast group messaging for one-to-many communication on local networks. - [scriptling.net.resolve](https://scriptling.dev/okf/scriptling-libraries/networking/resolve.md): DNS resolution for hostname lookup, SRV records, and srv+http(s):// URLs. - [scriptling.net.unicast](https://scriptling.dev/okf/scriptling-libraries/networking/unicast.md): UDP and TCP point-to-point messaging for direct host-to-host communication. - [scriptling.net.websocket](https://scriptling.dev/okf/scriptling-libraries/networking/websocket.md): WebSocket client for sending and receiving text or binary messages. - [Networking Libraries](https://scriptling.dev/okf/scriptling-libraries/networking.md): Networking libraries for cluster membership, multicast, point-to-point messaging, and WebSocket communication. - [scriptling.package](https://scriptling.dev/okf/scriptling-libraries/package.md): Read metadata and files from app and plugin bundles loaded by the host. - [scriptling.plugin](https://scriptling.dev/okf/scriptling-libraries/plugin.md): Control library for listing, inspecting, calling, and loading executable plugins at runtime. - [scriptling.provision.fetch](https://scriptling.dev/okf/scriptling-libraries/provisioning/provision-fetch.md): Download files over HTTP/HTTPS and optionally unpack zip archives, idempotently. - [scriptling.provision.file](https://scriptling.dev/okf/scriptling-libraries/provisioning/provision-file.md): Create, update, and remove files and directories idempotently, including marker-delimited managed blocks. - [Provisioning Libraries](https://scriptling.dev/okf/scriptling-libraries/provisioning.md): File and directory provisioning libraries for Scriptling. - [scriptling.runtime.http](https://scriptling.dev/okf/scriptling-libraries/runtime/http.md): Register HTTP routes, middleware, and response helpers for a Scriptling-backed server. - [scriptling.runtime.jsonrpc](https://scriptling.dev/okf/scriptling-libraries/runtime/jsonrpc.md): Register JSON-RPC 2.0 server methods and notifications served over stdio or HTTP. - [scriptling.runtime.kv](https://scriptling.dev/okf/scriptling-libraries/runtime/kv.md): Thread-safe key-value store for sharing state across requests and background tasks. - [scriptling.runtime.mcp](https://scriptling.dev/okf/scriptling-libraries/runtime/mcp.md): Register MCP tools, resources, prompts and skills via decorators — metadata and implementation in a single file. - [scriptling.runtime.plugin](https://scriptling.dev/okf/scriptling-libraries/runtime/plugin.md): Declare a Scriptling script as a first-class plugin server exposing functions, constants, and classes to remote clients. - [scriptling.runtime](https://scriptling.dev/okf/scriptling-libraries/runtime/runtime.md): Background tasks and concurrency, plus the runtime namespace grouping HTTP, JSON-RPC, KV, MCP, sync, sandbox, and plugin sub-libraries. - [scriptling.runtime.sandbox](https://scriptling.dev/okf/scriptling-libraries/runtime/sandbox.md): Create isolated Scriptling execution environments for running script code with its own variable scope. - [scriptling.runtime.sync](https://scriptling.dev/okf/scriptling-libraries/runtime/sync.md): Named cross-environment concurrency primitives, atomics, shared variables, wait groups, and queues. - [Runtime](https://scriptling.dev/okf/scriptling-libraries/runtime.md): Runtime utilities for background tasks, HTTP servers, key-value storage, concurrency, and plugin server support. - [Libraries](https://scriptling.dev/okf/scriptling-libraries/scriptling-libraries.md): Available libraries and APIs in Scriptling. - [scriptling.template.html](https://scriptling.dev/okf/scriptling-libraries/template/html.md): HTML template rendering using Go's html/template, with automatic escaping. - [scriptling.template.text](https://scriptling.dev/okf/scriptling-libraries/template/text.md): Text template rendering using Go's text/template, with no escaping. - [scriptling.template](https://scriptling.dev/okf/scriptling-libraries/template.md): Go-powered text and HTML template rendering with automatic escaping. - [difflib](https://scriptling.dev/okf/scriptling-libraries/text-processing/difflib.md): Compute deltas between sequences, including unified diffs, similarity ratios, and close-match finding. - [html](https://scriptling.dev/okf/scriptling-libraries/text-processing/html.md): Escape and unescape HTML special characters and entities. - [html.parser](https://scriptling.dev/okf/scriptling-libraries/text-processing/html.parser.md): An HTML/XHTML parser compatible with Python's html.parser module. - [io](https://scriptling.dev/okf/scriptling-libraries/text-processing/io.md): In-memory text I/O streams, providing StringIO as a buffer that behaves like a text file. - [re](https://scriptling.dev/okf/scriptling-libraries/text-processing/regex.md): Regular expression matching and text processing, following Python's re module conventions. - [shlex](https://scriptling.dev/okf/scriptling-libraries/text-processing/shlex.md): Shell-style lexical analysis — quoting, splitting, and joining command-line tokens. - [string](https://scriptling.dev/okf/scriptling-libraries/text-processing/string.md): String constants for character classification, matching Python's string module. - [textwrap](https://scriptling.dev/okf/scriptling-libraries/text-processing/textwrap.md): Text wrapping and filling utilities, compatible with Python's textwrap module. - [Text Processing](https://scriptling.dev/okf/scriptling-libraries/text-processing.md): Libraries for working with text, strings, markup, and in-memory text streams. - [datetime](https://scriptling.dev/okf/scriptling-libraries/time-system/datetime.md): Date and time objects with construction, formatting, arithmetic, and comparison, using a Python-compatible API. - [logging](https://scriptling.dev/okf/scriptling-libraries/time-system/logging.md): Python-style logging, backed by structured slog-based loggers. - [platform](https://scriptling.dev/okf/scriptling-libraries/time-system/platform.md): Read-only access to the underlying operating system, architecture, and hostname information. - [sys](https://scriptling.dev/okf/scriptling-libraries/time-system/sys.md): System-specific parameters and functions, similar to Python's sys module. - [time](https://scriptling.dev/okf/scriptling-libraries/time-system/time.md): Time access and conversions, including timestamps, time tuples, formatting, and sleeping. - [Time & System](https://scriptling.dev/okf/scriptling-libraries/time-system.md): Time and dates, platform and interpreter information, and logging. - [scriptling.console](https://scriptling.dev/okf/scriptling-libraries/utilities/console.md): TUI (terminal UI) console for building interactive chat-style applications. - [scriptling.container](https://scriptling.dev/okf/scriptling-libraries/utilities/container.md): Container lifecycle management for Docker, Podman, and Apple Containers through a unified interface. - [scriptling.csv](https://scriptling.dev/okf/scriptling-libraries/utilities/csv.md): CSV parsing and formatting (string-based, no filesystem access). - [scriptling.find](https://scriptling.dev/okf/scriptling-libraries/utilities/find.md): Find files and directories by name, type, modification time, and size. - [scriptling.grep](https://scriptling.dev/okf/scriptling-libraries/utilities/grep.md): Fast file content search using regular expressions or literal strings. - [scriptling.markdown](https://scriptling.dev/okf/scriptling-libraries/utilities/markdown.md): Convert Markdown to HTML using the GitHub Flavored Markdown specification. - [scriptling.nomad](https://scriptling.dev/okf/scriptling-libraries/utilities/nomad.md): HashiCorp Nomad client covering CSI volumes, dynamic host volumes, and jobs. - [scriptling.secret](https://scriptling.dev/okf/scriptling-libraries/utilities/secret.md): Resolve secrets through host-configured provider aliases without exposing provider credentials to scripts. - [scriptling.sed](https://scriptling.dev/okf/scriptling-libraries/utilities/sed.md): In-place file content replacement and capture group extraction. - [scriptling.similarity](https://scriptling.dev/okf/scriptling-libraries/utilities/similarity.md): Text similarity utilities for fuzzy matching, tokenization, MinHash signatures, and extractive text shortening. - [scriptling.toon](https://scriptling.dev/okf/scriptling-libraries/utilities/toon.md): TOON (Token-Oriented Object Notation) encoding and decoding, a compact, human-readable alternative to JSON. - [scriptling.wait_for](https://scriptling.dev/okf/scriptling-libraries/utilities/wait_for.md): Wait for files, directories, ports, HTTP endpoints, or processes to become available. - [scriptling.xml](https://scriptling.dev/okf/scriptling-libraries/utilities/xml.md): XML parsing and formatting (dict-based, string-only). - [Utilities Libraries](https://scriptling.dev/okf/scriptling-libraries/utilities.md): General purpose utility libraries for Scriptling.