Skip to content

[Contribution] PocketFlow-Zig: Zig Implementation #122

@bkataru

Description

@bkataru

Hello!

I came across PocketFlow recently and noticed there was no Zig implementation among the language ports. As such, I've taken the liberty to write a Zig 0.15 implementation of PocketFlow - https://github.com/bkataru/PocketFlow-Zig

The library implements the core abstractions (Node, Flow, Context) following the same patterns as the other language implementations. It includes comprehensive unit tests, full documentation, and a working example using Ollama for LLM integration. I've built it taking reference from the Rust, Go, and TypeScript ports.

I can make a PR to add Zig to the README listing if you'd like.

Furthermore, if you're okay with this as the official Zig implementation, I'm down to transfer this repo to the @The-Pocket org.

Let me know if you're interested!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions