通用 Skills Runtime SDK(Python)最小可测骨架(M1)
Project description
Skills Runtime SDK (Python)
This folder contains the Python SDK reference implementation of Skills Runtime.
If you want the fastest “end-to-end” experience (Runs + SSE + approvals + sandbox + skills management), start from the repo root README.md and run the Studio MVP.
Install (PyPI)
PyPI package name: skills-runtime-sdk (Python >=3.10).
python -m pip install -U skills-runtime-sdk
Optional extras (skills sources):
python -m pip install -U "skills-runtime-sdk[redis]"
python -m pip install -U "skills-runtime-sdk[pgsql]"
python -m pip install -U "skills-runtime-sdk[all]"
Note: the import name is agent_sdk (package name differs from module name).
Dev & tests
From this directory:
- Editable install:
python -m pip install -e ".[dev]"
- Run tests:
pytest -q
- Quick import check:
python -c "import agent_sdk; print(agent_sdk.__version__)"
If you hit UnicodeDecodeError on some machines due to locale/encoding, try:
LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 python ...
Local config files
1) API key (local only)
- Copy:
packages/skills-runtime-sdk-python/.env.example→packages/skills-runtime-sdk-python/.env
- Edit
.env:OPENAI_API_KEY=...
Do not commit .env (it is ignored).
2) Base URL / model names
- Copy:
packages/skills-runtime-sdk-python/config/runtime.yaml.example→packages/skills-runtime-sdk-python/config/runtime.yaml
- Edit
runtime.yaml:llm.base_url:http(s)://<your-host>/v1llm.api_key_env: defaultOPENAI_API_KEYmodels.planner/models.executor: replace with real model names
Bootstrap (recommended)
Agent does not implicitly load .env or auto-discover overlays (avoid import-time side effects). For an “easy to run + easy to debug” experience, use bootstrap:
agent_sdk.bootstrap.resolve_effective_run_config(...)
It gives you:
- an effective config (session > env > yaml overlays)
- a
sourcesmap (where each field came from; useful for UI and troubleshooting)
For details, read help/02-config-reference.md.
Skills CLI
This package ships a CLI (stdlib argparse) for skills preflight and scanning:
skills-runtime-sdk --help
skills-runtime-sdk skills --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file skills_runtime_sdk-0.1.4.tar.gz.
File metadata
- Download URL: skills_runtime_sdk-0.1.4.tar.gz
- Upload date:
- Size: 256.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcb7728d7c5453f717d9ccd11b3d618dfab5c8f1a6b05ff17e694309290c4201
|
|
| MD5 |
ebaf9f70b186988247061653d7427a5d
|
|
| BLAKE2b-256 |
a60b663ff8cca01948600170b522f86c1da60aa09ae03c0c887158ddb6abd8a6
|
Provenance
The following attestation bundles were made for skills_runtime_sdk-0.1.4.tar.gz:
Publisher:
publish-pypi.yml on okwinds/skills-runtime-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
skills_runtime_sdk-0.1.4.tar.gz -
Subject digest:
bcb7728d7c5453f717d9ccd11b3d618dfab5c8f1a6b05ff17e694309290c4201 - Sigstore transparency entry: 985038367
- Sigstore integration time:
-
Permalink:
okwinds/skills-runtime-sdk@04dd68414175446556ed7d5d9bbe5e9c1359a0a7 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/okwinds
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@04dd68414175446556ed7d5d9bbe5e9c1359a0a7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file skills_runtime_sdk-0.1.4-py3-none-any.whl.
File metadata
- Download URL: skills_runtime_sdk-0.1.4-py3-none-any.whl
- Upload date:
- Size: 225.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
157b0d3df7516f0caa4115b33acc3d8e5d8c8921a125ce4055052416872ce8c0
|
|
| MD5 |
441b63f96aefbe68b35decbd2b5fd84a
|
|
| BLAKE2b-256 |
1ae9b10b23c7e09d7e910dec60f9a8940d6eab3a2e5565f305a9d4486ea55bd2
|
Provenance
The following attestation bundles were made for skills_runtime_sdk-0.1.4-py3-none-any.whl:
Publisher:
publish-pypi.yml on okwinds/skills-runtime-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
skills_runtime_sdk-0.1.4-py3-none-any.whl -
Subject digest:
157b0d3df7516f0caa4115b33acc3d8e5d8c8921a125ce4055052416872ce8c0 - Sigstore transparency entry: 985038373
- Sigstore integration time:
-
Permalink:
okwinds/skills-runtime-sdk@04dd68414175446556ed7d5d9bbe5e9c1359a0a7 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/okwinds
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@04dd68414175446556ed7d5d9bbe5e9c1359a0a7 -
Trigger Event:
push
-
Statement type: