datashaman/claude-agent-laravel
Laravel integration for building Claude-powered AI agents. Provides an agent loop with tool/function calling, conversation history, configurable system prompts, and a clean facade-based API so you can add Anthropic Claude assistants to any Laravel app.
bare option (CLAUDE_BARE) makes headless/containerized execution a first-class supported path instead of a local fork. That directly unlocks shipping AI features to queue workers, cron jobs, and Docker/Kubernetes workloads — an infrastructure decision, not just a config toggle.exclude_env_keys turns "which env vars reach the model subprocess" into an explicit, reviewable choice rather than inherited SDK behavior (the SDK defaults to excluding ANTHROPIC_API_KEY). This is the knob legal/security will care about for per-tenant keys or secret isolation.Adopt when:
bare mode in v0.2.1 targets exactly this.exclude_env_keys).Look elsewhere when:
Caveats: v0.2.x is pre-1.0; the config surface is still moving (two new options in a patch-level release). Pin to a minor and re-review on each bump. Changes here are config-only plus a lint fix, so 0.2.0 → 0.2.1 is low-risk.
Executives: "It's a small Laravel integration that lets us add Claude-powered features — drafting, summarization, an internal assistant — without a new platform commitment or vendor contract. This release makes it deployable in our containerized/headless environments and gives us explicit control over which API keys are exposed to the model process, which is the question legal and infra will ask. It's pre-1.0, so the plan is a flagged pilot on one surface before we widen it."
Engineering: "Thin Laravel wrapper over Claude chat with a CLI passthrough. v0.2.1 adds bare (CLAUDE_BARE) for headless/container runs — no more forking for CI or queue workers — and exclude_env_keys, so we stop relying on SDK default secret exclusion and state our own policy. Config-only change from 0.2.0 apart from a Pint fix in ClaudeChat. Still 0.x: pin the minor and expect the config schema to shift. Good fit for chat turn + streaming in-app; wrong tool if we need multi-provider routing, tool-use loops, or tracing."
How can I help you explore Laravel packages today?