pyo3-interop Skill
Rust↔Python interop architecture in duroxide-python. Use when modifying the PyO3 bridge, adding ScheduledTask types, fixing GIL deadlocks, changing tracing delegation, or debugging blockinplace / withgil behavior. Published by microsoft in duroxide-python.
What is pyo3-interop Skill?
Rust↔Python interop architecture in duroxide-python. Use when modifying the PyO3 bridge, adding ScheduledTask types, fixing GIL deadlocks, changing tracing delegation, or debugging blockinplace / withgil behavior. Published by microsoft in duroxide-python. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Developers using duroxide-python
Technical details
- Install or run with Copy skill directory
When to use pyo3-interop Skill
- Use it for developers using duroxide-python.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/duroxide-python
- Skill file: .agents/skills/pyo3-interop/SKILL.md
What it does
Rust↔Python interop architecture in duroxide-python. Use when modifying the PyO3 bridge, adding ScheduledTask types, fixing GIL deadlocks, changing tracing delegation, or debugging blockinplace / withgil behavior.
Skill instructions
PyO3 Interop Architecture Overview duroxide-python bridges Rust's duroxide runtime to Python via PyO3/maturin. The interop has two distinct paths — orchestrations (generator-based, synchronous blocking) and activities (synchronous GIL calls). Getting this wrong causes GIL deadlocks, silent replay corruption, or dropped futures. File Map | File | Role | |------|------| | src/handlers.rs | Core interop — orchestration handler loop, activity invocation, global context maps, select/race/join, activity cancellation | | src/types.rs | ScheduledTask enum — the protocol between Python and Rust | | src/lib.rs | PyO3 module entry point, [pyfunction] trace functions | | src/runtime.rs | PyRuntime — wraps duroxide::Runtime, global tokio runtime | | src/client.rs | PyClient — wraps duroxide::Client, all methods with py.allowthreads() | | src/provider.rs | PySqliteProvider | | src/pgprovider.rs | PyPostgresProvider | | python/duroxide/init.py | Python wrapper: SqliteProvider, PostgresProvider, Clien
Explore related resources
Frequently asked questions
What is pyo3-interop?
pyo3-interop is a open-source AI agent skill with Copy skill directory. Rust↔Python interop architecture in duroxide-python. Use when modifying the PyO3 bridge, adding ScheduledTask types, fixing GIL deadlocks, changing tracing delegation, or debugging blockinplace / withgil.
Who is pyo3-interop best for?
pyo3-interop is best for reusing agent instructions, scripts, and references.
How do I install pyo3-interop?
Install or run pyo3-interop using Copy skill directory. Check pyo3-interop for the latest setup command.
Is pyo3-interop actively maintained?
pyo3-interop may need a closer maintenance check before production use.
Auto-fetched from GitHub.