🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Cardputer-Adv as a physical approval key + live usage dashboard for AI coding agents

    Scheduled Pinned Locked Moved SOFTWARE
    2 Posts 1 Posters 35 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      loml13
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • L Offline
        loml13
        last edited by

        I turned an M5Stack Cardputer-Adv into a physical control surface for an AI coding agent (Claude Code) over BLE +
        MCP. Built on top of cardputer-claude-os.

        device

        Physical approval gate — a hook routes the agent's shell commands and file edits to the Cardputer. Read-only
        commands pass through; ordinary ones take a single Enter on the device; destructive ones (rm -rf, git push,
        sudo, editing secrets) need a sustained hold-Y gesture that prompt-injection can't fake. If the device is away,
        it falls back to the terminal — the Cardputer is an optional gate, never a dependency.

        Ordinary action — one Enter:

        approve

        Destructive action — hold Y for ~3s:

        danger

        Other bits

        • Always-on usage dashboard: today's spend, 5h/7d subscription utilization, battery %, and a resident pixel-crab
          mascot.
        • notify / ask / confirm tools so the agent can buzz a banner, ask a multiple-choice question, or demand confirmation.

        Notes for fellow Adv owners

        • The Adv's ES8311 codec only makes sound if your main loop calls M5.update() every iteration — took me a while to
          track down.
        • The app is big, so it ships as compiled .mpy (source-form import OOMs the launcher), deployed into the
          cardputer-claude-os launcher bundle.

        Code (MIT) + setup: https://github.com/loml13/cardputer-claude-mcp

        Feedback welcome

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post