Skip to content

Agent Bridge

This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.

Field Value
Composer package capell-app/agent-bridge
Package slug agent-bridge
Product group Capell AI
Tier premium
Bundle ai
Runtime contexts admin, frontend
Capell version ^1.0
Catalogue role extension
Release channel Labs
Source repository capell-app/packages
Source path packages/agent-bridge
Docs source packages/agent-bridge/docs
Manifest capell.json

Agent Bridge is an Available, Schema-owning Capell package in the Capell AI product group. It ships as capell-app/agent-bridge and extends these surfaces: admin, frontend.

Agent Bridge connects MCP clients to read-only Capell knowledge and scoped site capabilities with token authentication, preview confirmation, and audit records.

Admins can build scoped prompts and manage a user’s client tokens, confirmations, and audit entries. Connected clients can call only the server routes and capabilities enabled for them.

Evidence: capell.json, routes/agent-bridge.php, src/Providers/AgentBridgeServiceProvider.php, docs/screenshots.json, src/Filament/Pages/CapellAgentBridgePromptBuilderPage.php, tests/Feature/UserResourceBridgeTest.php, tests/Feature/HomeRouteTest.php.

Status details:

  • Status: Available
  • Tier: premium
  • Bundle: ai
  • Composer package: capell-app/agent-bridge
  • Namespace: Capell\AgentBridge
  • Theme key: not applicable

For developers: Capability providers register typed operations through CapellAgentBridgeCapabilityProvider, and mutating runs pass through preview, confirmation, policy, and audit Actions.

For teams: Operators can limit an agent to approved capabilities, review a proposed change before execution, and inspect what each client ran.

Evidence: src/Contracts/CapellAgentBridgeCapabilityProvider.php, src/Support/CapellAgentBridgeCapabilityRegistry.php, src/Actions/InvokeAgentBridgeCapabilityPreviewAction.php, tests/Feature/PreviewConfirmWorkflowTest.php, docs/overview.admin.md, docs/screenshots.json.

Screenshot contract: docs/screenshots.json.

Agent Bridge prompt builder page Agent Bridge prompt builder page Token management or setup surface Token management or setup surface
  • Agent Bridge prompt builder page (admin, required).
  • Token management or setup surface (admin, optional).
  • Capability preview and confirmation flow (admin, optional).
  • Audit entry review (admin, optional).
  • Agent Bridge server health output (admin, optional).
  • Service providers: Capell\AgentBridge\Providers\AgentBridgeServiceProvider.
  • Config files: packages/agent-bridge/config/capell-agent-bridge.php.
  • Migrations: packages/agent-bridge/database/migrations/2026_05_10_190840_01_create_capell_agent-bridge_tokens_table.php, packages/agent-bridge/database/migrations/2026_05_10_190840_02_create_capell_agent-bridge_confirmations_table.php, packages/agent-bridge/database/migrations/2026_05_10_190840_03_create_capell_agent-bridge_audit_entries_table.php, packages/agent-bridge/database/migrations/2026_05_27_000001_create_capell_agent-bridge_saved_prompts_table.php.
  • Settings migrations: packages/agent-bridge/database/settings/2026_05_10_190841_01_add_agent_bridge_settings.php.
  • Settings classes: AgentBridgeSettings.
  • Models: CapellAgentBridgeAuditEntry, CapellAgentBridgeConfirmation, CapellAgentBridgeSavedPrompt, CapellAgentBridgeToken.
  • Filament classes: CapellAgentBridgePromptBuilderPage, AgentBridgeAuditEntriesRelationManager, AgentBridgeConfirmationsRelationManager, AgentBridgeTokensRelationManager, AgentBridgeSettingsSchema.
  • Livewire components: PromptBuilderToolbarAction.
  • Route files: packages/agent-bridge/routes/agent-bridge.php.
  • Extension contracts: CapellAgentBridgeCapabilityAction, CapellAgentBridgeCapabilityProvider.
  • Actions: AuditAgentBridgeCapabilityAction, BuildAgentBridgeCapabilityCatalogAction, BuildAgentBridgePromptAction, ClearCapellCacheCapabilityAction, ConfirmAgentBridgeAdminCapabilityAction, ConfirmAgentBridgeCapabilityAction, CreateAgentBridgeTokenAction, DeleteAgentBridgePromptAction, FindSavedPromptForUserAction, InterpretAgentBridgeCommandAction, InvokeAgentBridgeCapabilityPreviewAction, ListSavedPromptOptionsAction, and 23 more.
  • Data objects: AgentBridgeCommandPlanData, AgentBridgePromptData, AuthenticatedAgentBridgeClientData, ClearCacheCapabilityInputData, ClonePageCapabilityInputData, CreateDraftPageCapabilityInputData, InstallPackageCapabilityInputData, PackageReferenceCapabilityInputData, PageAuthoringOptionsCapabilityInputData, PageIdCapabilityInputData, PageReferenceCapabilityInputData, SearchPackagesCapabilityInputData, and 9 more.
  • Command signatures: capell:agent-bridge-prune-audit.
  • Scheduled commands: capell:agent-bridge-prune-audit (daily).
  • Console command classes: PruneAgentBridgeAuditEntriesCommand.
  • Manifest contributions: admin-page: Capell\AgentBridge\Manifest\AgentBridgeAdminPageContribution, agent-capability: Capell\AgentBridge\Manifest\AgentBridgeBuiltInCapabilitiesContribution, console-command: Capell\AgentBridge\Manifest\AgentBridgeConsoleCommandsContribution, health-check: Capell\AgentBridge\Health\AgentBridgeHealthCheck, migration: Capell\AgentBridge\Manifest\AgentBridgeMigrationsContribution, model: Capell\AgentBridge\Manifest\AgentBridgeModelsContribution, route: Capell\AgentBridge\Manifest\AgentBridgeRoutesContribution, scheduled-job: Capell\AgentBridge\Manifest\AgentBridgeAuditPruneScheduleContribution, schema-extender: Capell\AgentBridge\Manifest\AgentBridgeUserSchemaExtenderContribution, setting: Capell\AgentBridge\Manifest\AgentBridgeSettingsContribution.
  • Health checks: Capell\AgentBridge\Health\AgentBridgeHealthCheck.
  • Blade views: packages/agent-bridge/resources/views/filament/pages/prompt-builder.blade.php, packages/agent-bridge/resources/views/livewire/prompt-builder-toolbar-action.blade.php.
  • Required tables: capell_agent_bridge_tokens, capell_agent_bridge_confirmations, capell_agent_bridge_audit_entries, capell_agent_bridge_saved_prompts.
  • Models: CapellAgentBridgeAuditEntry, CapellAgentBridgeConfirmation, CapellAgentBridgeSavedPrompt, CapellAgentBridgeToken.
  • Core record references in migrations: users via user_id.
  • Migration files: 2026_05_10_190840_01_create_capell_agent-bridge_tokens_table.php, 2026_05_10_190840_02_create_capell_agent-bridge_confirmations_table.php, 2026_05_10_190840_03_create_capell_agent-bridge_audit_entries_table.php, 2026_05_27_000001_create_capell_agent-bridge_saved_prompts_table.php.
  • Migration impact: run host migrations through the package install flow before opening package surfaces.
  • Deletion/retention behaviour: migrations declare cascade-on-delete relationships and null-on-delete relationships; retention is scheduled through capell:agent-bridge-prune-audit (daily).
  • 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; registers AgentBridgeRoutesContribution.
  • 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).
  • Cache tags: none declared.
  • Commands: capell:agent-bridge-prune-audit.
  • Keep required Capell packages on compatible v4 releases: capell-app/admin, capell-app/core.
  • Run migrations before opening package resources or public routes.
  • Review package configuration before production-like verification: config/capell-agent-bridge.php, Capell\AgentBridge\Settings\AgentBridgeSettings.
  • Review middleware, throttling, signatures, and public-output safety in routes/agent-bridge.php before exposing routes.
  • Register the host scheduler so these declared commands run at their documented frequencies: capell:agent-bridge-prune-audit (daily).
  • Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
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
  1. Install the package: composer require capell-app/agent-bridge.
  2. Run the required setup: php artisan migrate.
  3. Open the Agent Bridge prompt builder page and confirm the admin workflow loads.