Sign in

    agent-core-sdk

    Shared MoonBit process foundation for agent CLIs

    agent
    cli
    jsonl
    sdk
    moonbit
    Download zip
    Author
    Version
    0.1.2
    License
    MIT
    Last updated
    2 months ago
    Downloads
    304

    #Agent Core SDK

    totto2727/agent-core-sdk is a MoonBit module that provides shared process infrastructure for SDKs invoking agent runtimes through JSONL.

    This document is canonical README.mbt.md; maintain README.md as the relative symlink README.md -> README.mbt.md.

    #Usage

    Add the module to a MoonBit project and import the package that owns the agent CLI process lifecycle:

    moon add totto2727/agent-core-sdk@0.1.2

    Declare totto2727/agent-core-sdk/cli in the consumer package's moon.pkg:

    import { "totto2727/agent-core-sdk/cli", }

    See the CLI package guide for the complete invocation contract and its checked usage example.

    #Key features

    • Provides one target-neutral cli package for invoking JSONL-emitting agent CLIs.
    • Supports the wasm preferred target and the native target declared by the module.
    • Keeps provider-specific command construction, event models, and turn aggregation in provider SDKs.
    • Publishes a generated Mooncakes API reference for the public package API.

    #Prerequisites

    • MoonBit: Install the MoonBit toolchain and moon command.
    • Agent CLI: Make the executable used by cli.Invocation available to the consumer process.

    #Setup

    1. Add the module to a MoonBit project.

    moon add totto2727/agent-core-sdk@0.1.2

    1. Import totto2727/agent-core-sdk/cli from the package that invokes the agent CLI.

    #API

    #Development

    See AGENTS.md for repository structure, package ownership, and development commands.

    #License

    This README was generated from the share-artifact skill and README template.

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io