Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Claude Agent Laravel Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: Early-stage Laravel package that likely wraps Claude CLI/API for chat workflows. v0.2.1’s bare mode (CLAUDE_BARE) is a meaningful fit for headless/containerized deployments, and exclude_env_keys gives TPMs a control point for secret-safe env passthrough. Suitable for Laravel apps adding AI chat as a bounded capability, not as a core platform dependency yet.
  • Integration feasibility: Composer install, config publish, env configuration. Feasibility is medium because the package appears to depend on an external Claude CLI/runtime, not just HTTP. bare mode reduces interactive-auth assumptions but may require explicit auth provisioning in containers. exclude_env_keys must be validated against the SDK default that excludes ANTHROPIC_API_KEY.
  • Technical risk: Pre-1.0 (0.2.1) with config/API churn risk. Env passthrough is security-sensitive; a misconfigured exclusion list could leak credentials beyond ANTHROPIC_API_KEY. Headless mode may fail closed if auth or CLI binary is absent. Pint-only fix signals active maintenance but low test-surface evidence in release notes.
  • Key questions: Which PHP/Laravel versions are supported? Is the Claude CLI a hard runtime dependency? How does auth work in bare mode? Is exclude_env_keys an allowlist, denylist, or merge-over-default? What is the default env passthrough set? Is there a support/versioning policy for 0.x?

Integration Approach

  • Stack fit: Fits Laravel service-provider/config conventions. CLAUDE_BARE and exclude_env_keys map cleanly to .env and container env. Good fit for Docker/Kubernetes sidecar or job-based AI calls; less fit for high-throughput request-path chat without queueing.
  • Migration path: No migration from prior assessment. For new adoption: add package, publish config, set CLAUDE_BARE=true in non-interactive environments, and explicitly configure exclude_env_keys to include all sensitive vars, not only the SDK default. Keep integration behind a service boundary.
  • Compatibility: Verify PHP and Laravel constraints, Claude CLI version, and container base image. Test env var name collisions and confirm ANTHROPIC_API_KEY exclusion behavior when overriding exclude_env_keys. Validate in staging containers before production.
  • Sequencing: 1) Spike in a disposable container with bare mode; 2) confirm auth and env exclusion; 3) integrate one low-risk chat feature; 4) add timeout/rate-limit/fallback handling; 5) expand only after stability evidence.

Operational Impact

  • Maintenance: Low application code footprint but external CLI/API dependency adds upkeep. Pin the package version, track 0.x releases, and monitor config changes. Pint fix suggests routine maintenance but not production maturity.
  • Support: Likely open-source/community support without SLA. TPM should establish an internal owner, fallback path, and escalation for Claude CLI/auth failures.
  • Scaling: CLI invocation per request can be slow and costly. Use queues, concurrency limits, and caching where appropriate. bare mode helps container scaling but may complicate interactive auth refresh.
  • Failure modes: Missing CLI binary, auth failure in headless mode, env secret leakage, rate limits, timeouts, and config drift after upgrades. Add health checks and redacted logging.
  • Ramp-up: Low for Laravel developers; medium for security/container review. Provide a runbook covering CLAUDE_BARE, exclude_env_keys, auth provisioning, and rollback.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource