This release is a pre-release and may not be stable for production use.
dandelion-core
Reusable agent core and native C++17 multi-protocol LLM provider for Dandelion.
Overview
dandelion-core bundles the Dandelion agent runtime (MyAgent, BaseRuntime, BaseAgentHost, tools, sub-agent pool, memory/skill/session managers) together with a compiled nanobind C++17 extension (dandelion_core.utils.llm_provider._native) that speaks five wire protocols directly over HTTPS without Python vendor SDKs:
- Messages API (
/v1/messages, Anthropic + Sub2API cross-protocol bridge) - Chat Completions API (
/v1/chat/completions, OpenAI / DeepSeek / compatible relays) - Responses API (
/v1/responses, OpenAI statelessstore=false+ encrypted reasoning) - Generate Content API (
:generateContent/:streamGenerateContent?alt=sse, Gemini 2.5 / 3 / 4) - Interactions API (
/v1beta/interactions, Gemini statelessstore=false)
Installation
Install a precompiled wheel from PyPI:
pip install dandelion-core
For local editable development inside the Dandelion monorepo (requires a C++17 compiler, CMake, Ninja, and libcurl development files on Linux/macOS; WinHTTP is built into Windows):
pip install --no-build-isolation --no-deps -e packages/dandelion-core
Quick Example
from dandelion_core.utils.llm_provider import create_provider
provider = create_provider(
sdk_type="Message",
api_key="sk-...",
base_url="https://api.anthropic.com",
model_id="claude-sonnet-4-5",
thinking="enabled",
effort="high",
)
resp, err = provider.safe_stream_request(
{"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 1024},
echo=True,
)
Metadata
Release files for dandelion-core 2.0.0a1
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 |
|---|---|---|---|---|
| dandelion_core-2.0.0a1.tar.gz | 197.6 kB | With provenance | Details for dandelion_core-2.0.0a1.tar.gz |
Built distributions (wheels)
Total release size: 11.4 MB
Release files / dandelion_core-2.0.0a1.tar.gz
| Download URL | dandelion_core-2.0.0a1.tar.gz |
|---|---|
| Size | 197.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce2fea7f243ce60ec841cfd4c1fa94565b5c8b1491c33c73e514eb4f89bc2f69
|
|
BLAKE2b-256 checksum How to use checksums |
ad15b071bffa15dd6912ade38ae794aad3344a0e2ed6c295dd75e8eafe67c085
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / dandelion_core-2.0.0a1-cp312-abi3-win_amd64.whl
| Download URL | dandelion_core-2.0.0a1-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 534.7 kB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
bdbbac585beec8be57af9a0443cdfb817546c459ccc3521cfcdfd1f7611382d8
|
|
BLAKE2b-256 checksum How to use checksums |
b9e70ba4e79c90e9d716cc39b605504c398b681fe52254dd667f6694774055f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / dandelion_core-2.0.0a1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | dandelion_core-2.0.0a1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
66345de42bfcff1f411727eea3a3a03e69f466f811fad9c5ce2b6d71b0610f94
|
|
BLAKE2b-256 checksum How to use checksums |
1c4677a965abd852ad65b6ce9bf75d3f15f98c191843f9b08d4dbdd566cf341a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / dandelion_core-2.0.0a1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | dandelion_core-2.0.0a1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
f60174b99c80b8a222ebaab931b47c80691d7e2b8f0cc60850a7c347a3ee1a70
|
|
BLAKE2b-256 checksum How to use checksums |
f45a57aa8d6f50801fae9d2c4bd8771f890ea843c26bef19e469538503c46546
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / dandelion_core-2.0.0a1-cp311-cp311-win_amd64.whl
| Download URL | dandelion_core-2.0.0a1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 535.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
92981da1fe60ecfba7ef0fb878bf0e549a9558f853206243c11be962293e3630
|
|
BLAKE2b-256 checksum How to use checksums |
199658eff3be7be8f5af7739fa4cffee5aa90d3933de30314c96aaee1461685b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / dandelion_core-2.0.0a1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | dandelion_core-2.0.0a1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c2304a6aaa51c927dbb77df0e8a032517dc5a12bd362dbd1028eb3572c5615b9
|
|
BLAKE2b-256 checksum How to use checksums |
d396758186513ffa9a3d3fb84ffd323edb6780b1270457b8f8bf94661b2c9233
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / dandelion_core-2.0.0a1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | dandelion_core-2.0.0a1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
527a1537092ff9482c47cbf135425bff6d2c5c9d52edf0522d9a56a85ef89d56
|
|
BLAKE2b-256 checksum How to use checksums |
72571feaefc83bfb67d890806827b99628bf1cd2d9ab8b66f7a548fd476823e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logSecurity for dandelion-core 2.0.0a1
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
All 7 files in this release have been uploaded with provenance metadata.
Attestation for dandelion_core-2.0.0a1.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 Nov 28, 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.