Skip to content

Feature request: Claude Code CLI execution backend for subscription users #283

@ChihebBENCHEIKH1

Description

@ChihebBENCHEIKH1

Shannon currently requires per-token API billing via the Agent SDK. Users with Claude Max/Team subscriptions have access to the Claude Code CLI but can't use it with Shannon.

I've prototyped a CLI execution backend that:

Spawns claude -p --output-format stream-json instead of calling query()
Feeds output through the existing dispatchMessage pipeline
Is opt-in via SHANNON_CLI_MODE=true (default SDK behavior unchanged)
Handles spawn lifecycle, backpressure, spending cap detection
Tested on a 636-file microservices project — full 13/13 agent pipeline completed including exploitation phase.

Would you be open to a PR for this? Happy to adjust the approach based on your feedback.

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