This release is a pre-release and may not be stable for production use.
ploston-core
Core engine for Ploston - Deterministic Agent Execution Layer.
Overview
ploston-core contains the shared engine components that both OSS and Enterprise packages depend on. It provides:
| Module | Description |
|---|---|
| Engine | Workflow execution engine with sequential, deterministic execution |
| Registry | Tool and workflow registries with auto-discovery |
| MCP | Model Context Protocol client connections |
| MCP Frontend | MCP server frontend (stdio/HTTP transport) |
| API | REST API framework (FastAPI-based) |
| Sandbox | Python sandbox with 7-layer security model |
| Template | Jinja2 template engine for parameter rendering |
| Telemetry | Structured logging and metrics |
| Config | Layered configuration with hot-reload |
| Errors | Structured, actionable error handling |
| Plugins | Extensible plugin framework |
Installation
pip install ploston-core
Or with uv:
uv add ploston-core
Quick Start
from ploston_core.engine import Engine
from ploston_core.registry import ToolRegistry
# Create engine with tool registry
registry = ToolRegistry()
engine = Engine(registry=registry)
# Execute workflow
result = await engine.execute(workflow)
Documentation
Detailed documentation is available in the docs/ directory:
Concepts
- How Ploston Works - Architecture overview and design principles
- Execution Model - How workflows execute step-by-step
- Security Model - 7-layer sandbox security for code execution
Reference
- Workflow Schema - Complete YAML schema for defining workflows
- Configuration Reference - All configuration options
- Error Codes - Error codes and troubleshooting guide
Architecture
- Implemented Architecture - Current architecture summary
Development
Prerequisites
- Python 3.12+
- uv (recommended)
Setup
# Clone the repository
git clone https://github.com/ostanlabs/ploston-core.git
cd ploston-core
# Install dependencies
uv sync
# Run tests
uv run pytest tests/unit/ -v
# Run linting
uv run ruff check src/ tests/
uv run ruff format --check src/ tests/
Running Tests
# Unit tests
uv run pytest tests/unit/ -v
# With coverage
uv run pytest tests/unit/ -v --cov=ploston_core --cov-report=term-missing
Related Packages
| Package | Description |
|---|---|
ploston |
OSS distribution (core + CLI) |
ploston-cli |
Command-line interface |
ploston-enterprise |
Enterprise features |
License
Apache-2.0 - see LICENSE for details.
Metadata
Release files for ploston-core 1.4.0.dev1770362204
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ploston_core-1.4.0.dev1770362204.tar.gz | 249.4 kB | With provenance | Details for ploston_core-1.4.0.dev1770362204.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ploston_core-1.4.0.dev1770362204-py3-none-any.whl | Python 3 | none | any | Details for ploston_core-1.4.0.dev1770362204-py3-none-any.whl |
Total release size: 492.0 kB
Release files / ploston_core-1.4.0.dev1770362204.tar.gz
| Download URL | ploston_core-1.4.0.dev1770362204.tar.gz |
|---|---|
| Size | 249.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66c3edf27be939c63cfa43f978ce9bea1456db3a9135dd8aad3462193ee6bed9
|
|
BLAKE2b-256 checksum How to use checksums |
5b37d4b3a0ff5dc593fb334657068d8bf2176cce0b97c7d6e550280b156ee24d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.
Transparency logRelease files / ploston_core-1.4.0.dev1770362204-py3-none-any.whl
| Download URL | ploston_core-1.4.0.dev1770362204-py3-none-any.whl |
|---|---|
| Size | 242.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
deade7a6c1ad15b297e9a2ffbefd1a4b7ae96277e080f0309a36678951dfbf26
|
|
BLAKE2b-256 checksum How to use checksums |
15a7396fd3c62a2243a7c5fa2e816ffa95e216de421cc12fdb8609ab9cc4284c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.
Transparency logSecurity for ploston-core 1.4.0.dev1770362204
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ploston_core-1.4.0.dev1770362204.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.