capell-app / agent-bridge
Connects AI clients such as Claude and Cursor to Capell with personal keys, draft-only page edits, a preview and confirmation for each change and an audit log.
Requires
- php: ^8.4
- capell-app/admin: ^1.0.72
- capell-app/core: ^1.0.78
- laravel/framework: ^12.61.1|^13.12.0
- laravel/mcp: ^0.6|^0.7|^0.9|^1.0
- lorisleiva/laravel-actions: ^2.8
- spatie/laravel-data: ^4.5
- spatie/laravel-package-tools: ^1.14.1
Requires (Dev)
- laravel/boost: ^2.10.3
- laravel/pint: ^1.25
- orchestra/testbench: ^9.15|^10.8|^11.0
- pestphp/pest: ^3.8|^4.3 || ^5.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0 || ^5.0
- phpstan/phpstan: ^2.1
Suggests
- capell-app/navigation: Counts navigation menus in the site state inspection tool.
Provides
None
Conflicts
- capell-app/privacy-center: <1.1.10
Replaces
None
- 4.x-dev
- dev-main / 1.x-dev
- v1.1.14
- v1.1.13
- v1.1.12
- v1.1.11
- v1.1.10
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.1.0-beta.41
- v1.1.0-beta.40
- v1.1.0-beta.39
- v1.1.0-beta.38
- v1.1.0-beta.37
- v1.1.0-beta.36
- v1.1.0-beta.35
- v1.1.0-beta.34
- v1.1.0-beta.33
- v1.1.0-beta.32
- v1.1.0-beta.31
- v1.1.0-beta.30
- v1.1.0-beta.29
- v1.1.0-beta.28
- v1.1.0-beta.27
- v1.1.0-beta.26
- v1.1.0-beta.25
- v1.1.0-beta.24
- v1.1.0-beta.23
- v1.1.0-beta.22
- v1.1.0-beta.21
- v1.1.0-beta.20
- v1.1.0-beta.19
- v1.1.0-beta.18
- v1.1.0-beta.17
- v1.1.0-beta.16
- v1.1.0-beta.15
- v1.1.0-beta.14
- v1.1.0-beta.12
- v1.1.0-beta.10
- v1.1.0-beta.9
- v1.1.0-beta.8
- v1.1.0-beta.7
- v1.1.0-beta.6
- v1.1.0-beta.5
- v1.1.0-beta.4
- v1.1.0-beta.3
- v1.1.0-beta.2
- v1.1.0-beta.1
- v1.0.0-beta.2
- dev-release-backup/v0.0.9-main
- dev-release-backup/v0.0.8-main
This package is auto-updated.
Last update: 2026-11-28 12:18:56 UTC
README
Anyone on your team who uses Claude, Cursor or another AI assistant can let it search your pages and draft changes to them, though it cannot publish. Each person can be given a personal key that says what their assistant may do, and the assistant acts as that person.
A connected assistant can create or update drafts and upload images of up to about 2 MB. Every change comes with a preview first. For drafts and uploads, you approve that exact preview from your user page in Capell admin, then the assistant confirms it within an hour by default. Saving a scratch draft in the page editor, which visitors never see, needs only the assistant's own confirmation. Agent Bridge has no AI of its own and works with an assistant you already use.
Administrators get a screen of their own where they type a request, check what it will do and confirm it. It recognises a fixed set of commands and uses no AI. Every key expires. By default a new key lasts 90 days and can't be set to last more than a year, though your developer can change both limits. Keys can be replaced or withdrawn sooner, and each one is kept in scrambled form. Administrators can read a record of every action afterwards, with secrets hidden.
- Price and availability: Check current availability and price on the Capell Marketplace listing.
- Licence: Published under MIT in
composer.json. - Requires:
PHP ^8.4,capell-app/admin ^1.0.72,capell-app/core ^1.0.78,laravel/framework ^12.61.1|^13.12.0,laravel/mcp ^0.6|^0.7|^0.9|^1.0,lorisleiva/laravel-actions ^2.8,spatie/laravel-data ^4.5,spatie/laravel-package-tools ^1.14.1. - Install:
composer require capell-app/agent-bridge.
Quick Start
- Install the package:
composer require capell-app/agent-bridge. - Open the package admin surface at
/admin/agent-bridge/capell-agent-bridge/prompt-builderand confirm Agent Bridge is available.
For Developers
Capability providers register typed operations through CapellAgentBridgeCapabilityProvider, contribute their own deterministic direct-command patterns alongside them, and mutating runs pass through preview, confirmation, policy, and audit Actions.
Configure
- Configuration files:
config/capell-agent-bridge.php. - Admin settings:
Capell\AgentBridge\Settings\AgentBridgeSettings. - Commands:
php artisan capell:agent-bridge-prune-audit,php artisan capell:agent:connect.
Limits And Pitfalls
- Install the required Capell packages at the versions in
composer.json:capell-app/admin ^1.0.72,capell-app/core ^1.0.78. - Run migrations before opening package resources or public routes.
- Review middleware, throttling, signatures, and public-output safety in
routes/agent-bridge.phpbefore exposing routes. - Keep the host Laravel scheduler running so package-registered schedules can execute:
capell:agent-bridge-prune-audit (daily; manifest declared). - Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
Screens And Workflow
- Agent Bridge prompt builder page (admin).
- Token management or setup surface (admin).
- Pending capability confirmations (admin).
- Audit entry review (admin).
- Agent Bridge user resource settings (admin).
Install Impact
- Required packages:
capell-app/admin,capell-app/core. - Admin navigation: declares
admin-page: AgentBridgeAdminPageContribution; each Filament page or resource controls its own navigation visibility. - Admin/editor extensions:
schema-extender: AgentBridgeUserSchemaExtenderContribution. - Permissions:
agent-bridge.manage-tokens,agent-bridge.view-audit. - Public routes: loads
routes/agent-bridge.php; registersAgentBridgeRoutesContribution. - Database changes: package migrations are declared.
- Config:
config/capell-agent-bridge.php. - Settings:
Capell\AgentBridge\Settings\AgentBridgeSettings. - Queues or schedules: scheduled commands
capell:agent-bridge-prune-audit (daily; manifest declared). - Cache tags: none declared.
- Commands:
capell:agent-bridge-prune-audit,capell:agent:connect.
Troubleshooting
| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| Package surface is missing after install | Provider or manifest is not loaded | Confirm capell.json, package composer.json, and provider registration |
Reinstall the package, refresh Composer autoload, and clear host caches |
| Admin screen or command fails on missing table | Package migrations have not run | Check the tables listed in Data Model |
Run host migrations and rerun the focused package test |
| Route returns unexpected output | Route cache, middleware, or signed URL setup does not match the package route file | Check the route files listed in Technical Shape |
Clear route cache and verify middleware before exposing public routes |
| Background work does not run | Queue worker or declared schedule is not active | Check the jobs and scheduled commands listed in Technical Shape |
Start the queue worker or host scheduler, then run the focused command or package test |
| Public output leaks unexpected state | Render data, cache variation, or authoring boundary has regressed | Check public Blade, cache tags, and public-output safety tests | Move data loading out of Blade and rerun the package public-output tests |
Upgrading
No manual steps between minor versions.
Read CHANGELOG.md before upgrading.

