TrustGate
Open-source AI gateway for LLM and agent traffic — multi-provider routing, guardrails, semantic caching and MCP support. Written in Go.
File Explorer
- SKILL.md
- SKILL.md
- AGENT.md
- AGENTS.md
- debug-trustgate.md
- telemetry-event-contract.mdc
- worktrees.json
- bug_report.yml
- config.yml
- feature_request.yml
- metrics-compat-gate.sh
- metrics-compat-lib.sh
- metrics-compat-lib.test.sh
- next-metrics-version.sh
- next-metrics-version.test.sh
- auto-release.yml
- ci.yml
- deploy.yml
- metrics-module-release.yml
- notify-bundle.yml
- release.yml
- dependabot.yml
- GOOD_FIRST_ISSUES.md
- ai-agent-security-hero-trustguard-policies-dashboard-updated-2x.webp
- docs_links_test.go
- main.go
- main_test.go
- main.go
- otel-collector.schema.json
- otel-collector.yaml
- telemetry.example.yaml
- telemetry.hybrid.example.yaml
- telemetry.verify.yaml
- telemetry.yaml
- api-key-auth-and-external-credentials.md
- google-workspace-oauth.md
- openapi.md
- testing-guide.md
- README.md
- sink-1-metadata-otlp.json
- sink-2-raw-otlp.json
- sink-3-mcp-metadata-otlp.json
- sink-3-postgres.json
- otlp-metadata-contract.md
- docs.go
- openapi.go
- openapi.json
- openapi_test.go
- operational-metrics.md
- policies.json
- pricing.md
- swagger.json
- swagger.yaml
- docker-compose.yml
- chat.py
- README.md
- requirements.txt
- first-request.sh
- README.md
- mcp.json.example
- README.md
- chat.py
- README.md
- requirements.txt
- .gitignore
- chat.ts
- package-lock.json
- package.json
- README.md
- tsconfig.json
- .gitignore
- README.md
- smoke.sh
- README.md
- route.ts
- route.ts
- page.tsx
- page.tsx
- page.tsx
- page.tsx
- page.tsx
- page.tsx
- page.tsx
- layout.tsx
- page.tsx
- actions.ts
- globals.css
- layout.tsx
- page.tsx
- providers.tsx
- auth-view.tsx
- config-sync-view.tsx
- consumer-detail.tsx
- consumers-view.tsx
- mcp-registries-view.tsx
- model-policy-editor.tsx
- playground-view.tsx
- policies-view.tsx
- policy-settings-form.tsx
- registries-view.tsx
- roles-view.tsx
- toolkit-editor.tsx
- gateway-context.tsx
- gateway-switcher.tsx
- logo.tsx
- sidebar.tsx
- topbar.tsx
- button.tsx
- dialog.tsx
- field.tsx
- form-bits.tsx
- json-editor.tsx
- list-controls.tsx
- misc.tsx
- page.tsx
- switch.tsx
- table.tsx
- tabs.tsx
- toast.tsx
- onboarding-form.tsx
- active-gateway.ts
- admin-client.ts
- admin-server.ts
- auth-catalog.ts
- capabilities.ts
- cn.ts
- hooks.ts
- jwt.ts
- proxy-server.ts
- types.ts
- .dockerignore
- .env.example
- .gitignore
- Dockerfile
- eslint.config.mjs
- next.config.ts
- package-lock.json
- package.json
- postcss.config.mjs
- README.md
- tsconfig.json
- agentgateway-admin.yaml
- agentgateway-mcp.yaml
- agentgateway-proxy.yaml
- agentgateway-healthchecks.yaml
- agentgateway-admin.yaml
- agentgateway-mcp.yaml
- agentgateway-proxy.yaml
- agentgateway-routes.yaml
- agentgateway-admin.yaml
- agentgateway-mcp.yaml
- agentgateway-proxy.yaml
- agentgateway-admin.yaml
- agentgateway-mcp.yaml
- agentgateway-proxy.yaml
- agentgateway.yaml
- kustomization.yaml
- namespace.yaml
- secrets.env.example
- config-sync-internal-lb-patch.yaml
- config-sync-tls-patch.yaml
- hpa-patch.yaml
- httproute-patch.yaml
- pdb-patch.yaml
- resources-patch.yaml
- sa-annotation-patch.yaml
- agentgateway-secrets.yaml
- config-sync-cert.yaml
- config.env
- kustomization.yaml
- service-configsync-external.yaml
- config-sync-tls-patch.yaml
- hpa-patch.yaml
- httproute-patch.yaml
- pdb-patch.yaml
- resources-patch.yaml
- sa-annotation-patch.yaml
- agentgateway-secrets.yaml
- cloudflare-backendpolicy.yaml
- config-sync-cert.yaml
- config.env
- kustomization.yaml
- service-configsync-external.yaml
- config-sync-tls-patch.yaml
- hpa-patch.yaml
- httproute-patch.yaml
- pdb-patch.yaml
- resources-patch.yaml
- sa-annotation-patch.yaml
- agentgateway-secrets.yaml
- cloudflare-backendpolicy.yaml
- config-sync-cert.yaml
- config.env
- kustomization.yaml
- psc-healthchecks.yaml
- psc-httproutes.yaml
- psc-services.yaml
- service-configsync-external.yaml
- proposal.md
- proposal.md
- design.md
- exploration.md
- proposal.md
- spec.md
- spec.md
- design.md
- proposal.md
- tasks.md
- proposal.md
- proposal.md
- proposal.md
- create_auth_request.go
- create_auth_request_test.go
- list_auth_request.go
- update_auth_request.go
- auth_response.go
- list_auth_response.go
- create_auth_handler.go
- delete_auth_handler.go
- get_auth_handler.go
- list_auth_handler.go
- update_auth_handler.go
- catalog_response.go
- list_mcp_servers_handler.go
- list_models_handler.go
- list_policy_catalog_handler.go
- list_policy_catalog_handler_test.go
- list_providers_handler.go
- connection_response.go
- list_connections_handler.go
- list_connections_handler_test.go
- attach_registry_request.go
- create_consumer_request.go
- create_consumer_request_test.go
- list_consumer_request.go
- update_consumer_request.go
- update_consumer_request_test.go
- consumer_response.go
- list_consumer_response.go
- association_handler.go
- create_consumer_handler.go
- delete_consumer_handler.go
- get_consumer_handler.go
- list_consumer_handler.go
- update_consumer_handler.go
- auth.go
- list_registry_models_handler.go
- list_registry_models_handler_test.go
- test_connection_handler.go
- test_connection_handler_test.go
- create_gateway_request.go
- gateway_request_test.go
- list_gateway_request.go
- update_gateway_request.go
- gateway_response.go
- gateway_response_test.go
- list_gateway_response.go
- create_gateway_handler.go
- delete_gateway_handler.go
- get_gateway_handler.go
- list_gateway_handler.go
- ownership_test.go
- update_gateway_handler.go
- errors.go
- errors_test.go
- params.go
- params_test.go
- response.go
- mcp_handler.go
- mcp_handler_test.go
- rpc_dispatcher.go
- rpc_dispatcher_span_test.go
- rpc_dispatcher_test.go
- server_discover.go
- server_discover_test.go
- stream_handler.go
- stream_handler_test.go
- stream_transport_test.go
- api_key_connect_request.go
- api_key_connect_request_test.go
- api_key_connect_handler.go
- api_key_connect_handler_test.go
- authorization_server_handler.go
- authorize_handler.go
- brands.go
- callback_handler.go
- connect_handler.go
- connect_handler_test.go
- handlers_test.go
- jwks_handler.go
- pages.go
- pages_test.go
- protected_resource_handler.go
- register_handler.go
- token_handler.go
- get_trace_handler.go
- get_trace_handler_test.go
- create_policy_request.go
- list_policy_request.go
- update_policy_request.go
- list_policy_response.go
- policy_response.go
- create_policy_handler.go
- delete_policy_handler.go
- duplicate_policy_handler.go
- get_policy_handler.go
- global_policy_handler.go
- list_policy_handler.go
- update_policy_handler.go
- proxy_handler.go
- proxy_handler_test.go
- azure_validation_test.go
- create_registry_request.go
- gcp_service_account.go
- gcp_service_account_test.go
- health_checks_nil_test.go
- list_registry_request.go
- test_connection_request.go
- update_registry_request.go
- grouped_registry_response.go
- list_registry_response.go
- list_registry_view_response.go
- registry_response.go
- registry_response_test.go
- test_connection_response.go
- create_registry_handler.go
- delete_registry_handler.go
- get_registry_handler.go
- list_registry_handler.go
- list_registry_handler_test.go
- list_registry_tools_handler.go
- test_connection_handler.go
- test_connection_handler_test.go
- update_registry_handler.go
- validate_openapi_handler.go
- validate_openapi_handler_test.go
- role_request.go
- role_request_test.go
- role_response.go
- association_handler.go
- create_role_handler.go
- delete_role_handler.go
- get_role_handler.go
- list_role_handler.go
- update_role_handler.go
- restamp_entitlements_handler.go
- restamp_entitlements_handler_test.go
- health_handler.go
- openapi_handler.go
- openapi_handler_test.go
- version_handler.go
- access_log.go
- access_log_test.go
- admin_auth.go
- admin_auth_test.go
- admin_authz.go
- admin_authz_test.go
- admin_identity.go
- admin_scopes.go
- auth.go
- auth_chain.go
- auth_chain_test.go
- auth_resolver_test.go
- cors.go
- default_idp_chain_test.go
- hybrid_gateway_guard.go
- hybrid_gateway_guard_test.go
- mcp_auth.go
- mcp_auth_test.go
- mcp_metrics.go
- mcp_metrics_test.go
- mcp_pipeline_integration_test.go
- metrics.go
- metrics_functional_test.go
- metrics_test.go
- middleware.go
- oauth_challenge.go
- oauth_challenge_test.go
- ops_metrics.go
- ops_metrics_test.go
- panic_recover.go
- request_id.go
- security_headers.go
- session.go
- session_test.go
- trace_id.go
- api_key_resolver.go
- api_key_source.go
- chained_resolver.go
- gateway_resolver.go
- gateway_resolver_test.go
- oauth2_resolver.go
- oidc_resolver.go
- playground_resolver.go
- playground_resolver_test.go
- proxy_path_resolver.go
- proxy_path_resolver_test.go
- resolver.go
- auth_api_key_finder_mock.go
- auth_client_certificate_extractor_mock.go
- auth_creator_mock.go
- auth_credential_finder_mock.go
- auth_deleter_mock.go
- auth_finder_mock.go
- auth_introspection_validator_mock.go
- auth_jwt_validator_mock.go
- auth_mtls_validator_mock.go
- auth_session_token_verifier_mock.go
- auth_updater_mock.go
- oidc_finder_mock.go
- oidc_verifier_mock.go
- context.go
- creator.go
- creator_test.go
- credential_finder.go
- default_idp.go
- default_idp_test.go
- deleter.go
- deleter_test.go
- finder.go
- finder_test.go
- guard.go
- guard_test.go
- key_finder.go
- key_finder_test.go
- oauth2_verifier.go
- oidc_finder.go
- oidc_verifier.go
- session_verifier.go
- signal_test.go
- updater.go
- updater_test.go
- validators.go
- catalog_model_listing_mock.go
- catalog_serverless_filter_mock.go
- catalog_service_mock.go
- catalog_syncer_mock.go
- pricing_resolver_mock.go
- bedrock_serverless.go
- bedrock_serverless_test.go
- live_availability.go
- live_availability_test.go
- mcp_brands.go
- mcp_brands_test.go
- mcp_servers.go
- mcp_servers_test.go
- model_listing.go
- model_listing_test.go
- pricing.go
- pricing_test.go
- provider_auth.go
- provider_auth_test.go
- provider_options.go
- registry_availability.go
- registry_availability_test.go
- service.go
- service_test.go
- signal_test.go
- slug.go
- slug_test.go
- sync.go
- sync_test.go
- auth_reader.go
- catalog_reader.go
- compiler.go
- compiler_test.go
- consumer_reader.go
- dispatcher.go
- dispatcher_test.go
- gateway_reader.go
- holder.go
- holder_test.go
- policy_reader.go
- publisher.go
- publisher_test.go
- registry_reader.go
- role_reader.go
- scope_test.go
- configsynctest.go
- port.go
- consumer_associator_mock.go
- consumer_creator_mock.go
- consumer_deleter_mock.go
- consumer_finder_mock.go
- consumer_updater_mock.go
- data_finder_mock.go
- path_resolver_mock.go
- associator.go
- associator_test.go
- consumer_data.go
- consumer_data_test.go
- context.go
- creator.go
- creator_test.go
- data_finder.go
- data_finder_test.go
- deleter.go
- deleter_test.go
- finder.go
- finder_test.go
- path_resolver.go
- path_resolver_test.go
- plugin_protocol_resolver.go
- signal_test.go
- updater.go
- updater_test.go
- gateway_creator_mock.go
- gateway_deleter_mock.go
- gateway_entitlements_restamper_mock.go
- gateway_finder_mock.go
- gateway_state_purger_mock.go
- gateway_updater_mock.go
- context.go
- creator.go
- creator_test.go
- deleter.go
- deleter_test.go
- exporter_validation.go
- finder.go
- finder_test.go
- restamper.go
- restamper_test.go
- signal_test.go
- state_purger.go
- updater.go
- updater_test.go
- sts_exchanger_mock.go
- sts_idp_token_client_mock.go
- sts_token_signer_mock.go
- exchanger.go
- exchanger_test.go
- ports.go
- invalidation.go
- invalidation_test.go
- mcp_composer_mock.go
- mcp_credential_resolver_mock.go
- role_scoper_mock.go
- attribute.go
- attribute_test.go
- composer.go
- composer_prompts.go
- composer_resources.go
- composer_test.go
- connection_tool.go
- connection_tool_test.go
- credentials.go
- credentials_test.go
- discovery.go
- discovery_test.go
- errors.go
- introspector.go
- naming.go
- plugin_runner.go
- plugin_runner_test.go
- protocol.go
- protocol_test.go
- request_identity.go
- request_identity_test.go
- role_scope.go
- role_scope_test.go
- target.go
- upstream_retry.go
- upstream_retry_test.go
- google_workspace.go
- google_workspace_test.go
- exporter_factory_mock.go
- worker_mock.go
- builder.go
- builder_mcp_test.go
- builder_test.go
- exporter_cache.go
- exporter_factory.go
- exporter_internal_test.go
- pipeline.go
- worker.go
- worker_test.go
- oauth_api_key_connect_service_mock.go
- oauth_connect_attempt_limiter_mock.go
- oauth_connect_auditor_mock.go
- oauth_connect_service_mock.go
- oauth_provider_client_mock.go
- oauth_upstream_registrar_mock.go
- oauth_userinfo_client_mock.go
- account_ref.go
- account_ref_test.go
- api_key_connect.go
- api_key_connect_test.go
- connect.go
- connect_attempt_limiter.go
- connect_auditor.go
- connect_auditor_test.go
- connect_chain.go
- connect_lifecycle_audit_test.go
- connect_registration.go
- connect_test.go
- connect_types.go
- default_idp_selection_test.go
- idp_transport.go
- idp_transport_test.go
- metadata.go
- metadata_test.go
- ports.go
- proxy.go
- proxy_auth_selection.go
- proxy_functional_test.go
- proxy_session_test.go
- proxy_test.go
- proxy_types.go
- tokens.go
- userinfo.go
- compiler.go
- errors.go
- catalog_service_mock.go
- executor_mock.go
- plugin_mock.go
- registry_mock.go
- catalog.go
- catalog_metadata.go
- catalog_test.go
- chain.go
- enum_options.go
- errors.go
- executor.go
- executor_test.go
- modes.go
- modes_test.go
- plan.go
- plan_test.go
- plugin.go
- protocol.go
- protocol_resolver.go
- protocol_resolver_test.go
- protocol_test.go
- registry.go
- registry_test.go
- stages.go
- throttle.go
- throttle_test.go
- policy_creator_mock.go
- policy_deleter_mock.go
- policy_duplicator_mock.go
- policy_finder_mock.go
- policy_scoper_mock.go
- policy_updater_mock.go
- creator.go
- creator_test.go
- deleter.go
- deleter_test.go
- duplicator.go
- duplicator_test.go
- finder.go
- finder_test.go
- list_slugs.go
- list_slugs_test.go
- scoper.go
- scoper_test.go
- signal_test.go
- updater.go
- updater_test.go
- validate.go
- forwarder_mock.go
- provider_invoker_mock.go
- budget.go
- build_credentials_test.go
- classify.go
- classify_test.go
- forwarder.go
- forwarder_test.go
- list_models.go
- list_models_test.go
- load_balancer_cache.go
- model_exclusions.go
- model_exclusions_internal_test.go
- openai_moderation_functional_test.go
- plugin_error_result_internal_test.go
- plugin_runner.go
- plugin_runner_test.go
- provider.go
- provider_audio_test.go
- provider_cohere_test.go
- provider_continuation_internal_test.go
- provider_embeddings_test.go
- provider_error.go
- provider_files_test.go
- provider_images_test.go
- provider_invoker_test.go
- provider_stream.go
- provider_stream_test.go
- routing.go
- routing_baseline_internal_test.go
- routing_forwarder_test.go
- routing_sequential_test.go
- stream_detect.go
- stream_detect_test.go
- stream_include_usage_test.go
- stream_toolcall_coalesce.go
- stream_toolcall_coalesce_test.go
- checker_mock.go
- counter_mock.go
- gateway_tier_loader_mock.go
- checker.go
- checker_impl.go
- checker_test.go
- gateway_tier.go
- gateway_tier_test.go
- registry_connection_tester_mock.go
- registry_creator_mock.go
- registry_deleter_mock.go
- registry_finder_mock.go
- registry_grouped_finder_mock.go
- registry_updater_mock.go
- connection_tester.go
- connection_tester_test.go
- creator.go
- creator_test.go
- deleter.go
- deleter_test.go
- finder.go
- finder_test.go
- grouped_finder.go
- grouped_finder_test.go
- mcp_catalog_auth.go
- mcp_catalog_auth_test.go
- openapi.go
- signal_test.go
- updater.go
- updater_test.go
- role_associator_mock.go
- role_creator_mock.go
- role_deleter_mock.go
- role_finder_mock.go
- role_updater_mock.go
- associator.go
- associator_test.go
- creator.go
- creator_test.go
- deleter.go
- finder.go
- oidc_resolver.go
- signal_test.go
- updater.go
- routing_resolver_mock.go
- resolver.go
- resolver_test.go
- routes.go
- routes_test.go
- store_mock.go
- service.go
- service_test.go
- .keep
- errors.go
- secret.go
- secret_test.go
- levenshtein.go
- levenshtein_test.go
- config.go
- config_test.go
- configsync_auth_test.go
- api.go
- api_key_connect_test.go
- auth.go
- cache.go
- cache_events.go
- catalog.go
- config_sync_data.go
- config_sync_signal.go
- consumer.go
- control_config_sync.go
- core.go
- core_data.go
- gateway.go
- loadbalancer.go
- mcp.go
- modules.go
- plugins.go
- plugins_test.go
- policy.go
- providers.go
- proxy.go
- ratelimit.go
- registry.go
- role.go
- server_admin.go
- server_mcp.go
- server_proxy.go
- session.go
- telemetry.go
- telemetry_test.go
- container.go
- container_test.go
- di_smoke_test.go
- options.go
- auth_repository_mock.go
- auth.go
- auth_test.go
- config.go
- config_test.go
- errors.go
- repository.go
- catalog.go
- mcp_server.go
- consumer_repository_mock.go
- auth_rules.go
- consumer.go
- consumer_test.go
- consumer_type_validation_test.go
- errors.go
- fallback.go
- fallback_test.go
- lb_config.go
- lb_config_test.go
- mcp_policy.go
- model_policy.go
- model_policy_test.go
- repository.go
- slug.go
- slug_test.go
- toolkit.go
- toolkit_test.go
- embedding_creator_mock.go
- embedding_repository_mock.go
- config.go
- creator.go
- embedding.go
- errors.go
- repository.go
- search_result.go
- gateway_repository_mock.go
- entitlements.go
- entitlements_test.go
- errors.go
- gateway.go
- gateway_test.go
- repository.go
- slug.go
- audience.go
- audience_test.go
- principal.go
- principal_test.go
- ids.go
- listing.go
- listing_test.go
- policy_repository_mock.go
- errors.go
- mode.go
- mode_test.go
- plugin.go
- policy.go
- policy_test.go
- repository.go
- provider.go
- errors.go
- tier.go
- tier_test.go
- registry_repository_mock.go
- embedding_config.go
- embedding_config_test.go
- error.go
- errors.go
- health_checks.go
- llm_target.go
- mcp_target.go
- mcp_target_test.go
- pricing.go
- pricing_test.go
- registries.go
- registry.go
- registry_test.go
- repository.go
- resolve_secrets_test.go
- smart_routing_config.go
- smart_routing_config_test.go
- target.go
- role_repository_mock.go
- errors.go
- model_policy.go
- model_policy_test.go
- oidc_mapping.go
- oidc_mapping_test.go
- repository.go
- role.go
- algorithm.go
- algorithm_test.go
- match.go
- match_test.go
- pattern.go
- pattern_test.go
- candidate.go
- candidate_test.go
- errors.go
- intent.go
- intent_test.go
- route.go
- route_test.go
- session_repository_mock.go
- repository.go
- session.go
- telemetry.go
- telemetry_test.go
- vault_encrypter_mock.go
- vault_repository_mock.go
- credential.go
- credential_test.go
- encrypter.go
- .keep
- validator.go
- validator_internal_test.go
- validator_test.go
- jwt_manager_mock.go
- service_verifier_mock.go
- jwt_manager.go
- jwt_manager_test.go
- playground_verifier.go
- playground_verifier_test.go
- service_verifier.go
- service_verifier_test.go
- validator.go
- validator_test.go
- discovery.go
- errors.go
- jwk.go
- jwks_cache.go
- jwks_cache_test.go
- oauth2_validator.go
- oauth2_validator_test.go
- verifier.go
- verifier_test.go
- verifier.go
- verifier_test.go
- bedrock_controlplane_client_mock.go
- client.go
- client_test.go
- bedrock_client_mock.go
- client.go
- client_test.go
- messages.go
- channel.go
- events.go
- invalidate_gateway_data_event.go
- invalidate_registry_cache_event.go
- snapshot_dirty_event.go
- client_mock.go
- event_publisher_mock.go
- store_mock.go
- factory.go
- factory_test.go
- memory_store.go
- memory_store_test.go
- pgvector_store.go
- pgvector_store_test.go
- store.go
- store_test.go
- invalidate_gateway_data_event_subscriber.go
- invalidate_gateway_data_event_subscriber_test.go
- invalidate_registry_cache_event_subscriber.go
- invalidate_registry_cache_event_subscriber_test.go
- snapshot_dirty_event_subscriber.go
- snapshot_dirty_event_subscriber_test.go
- auth.go
- auth_test.go
- client.go
- client_test.go
- event_listener.go
- event_publisher.go
- event_subscriber.go
- redis_event_listener.go
- redis_event_listener_test.go
- redis_event_publisher.go
- redis_event_roundtrip_test.go
- redis_index_creator.go
- redis_message.go
- tls_client.go
- ttlmap.go
- ttlmap_manager.go
- ttlmap_test.go
- client.go
- client_test.go
- client.go
- client_test.go
- otel_test.go
- types.go
- buf.gen.yaml
- buf.yaml
- configsync.pb.go
- configsync.proto
- configsync_grpc.pb.go
- snapshot.pb.go
- snapshot.proto
- codec.go
- codec_secret_test.go
- codec_test.go
- distributed_signaler.go
- distributed_signaler_test.go
- authenticator.go
- authenticator_test.go
- client.go
- client_test.go
- connstore.go
- credentials.go
- credentials_test.go
- hub.go
- hub_test.go
- interceptor.go
- interceptor_test.go
- scope.go
- scope_test.go
- server.go
- server_test.go
- service.go
- service_test.go
- context_keys.go
- request_context.go
- request_context_test.go
- response_context.go
- stream_metrics.go
- cipher.go
- cipher_test.go
- secret.go
- secret_test.go
- 20260528113134_create_initial_schema.go
- 20260601090000_add_gateway_session_config.go
- 20260602140000_add_model_policies_and_catalog.go
- 20260603100000_rename_backends_to_registries.go
- 20260603120000_collapse_policy_into_plugin.go
- 20260603140000_add_auth_key_hash.go
- 20260604120000_add_policy_description.go
- 20260608090000_add_policy_mode.go
- 20260609200000_add_mcp_registry_and_toolkit.go
- 20260610090000_add_roles_and_routing_mode.go
- 20260610130000_add_idp_auth.go
- 20260610130000_add_vault_credentials.go
- 20260610140000_add_gateway_slug.go
- 20260610140000_add_gateway_slug_test.go
- 20260610150000_add_oauth2_client_auth.go
- 20260611100000_add_gateway_domain.go
- 20260611120000_consumer_slug_replaces_path.go
- 20260611150000_consumer_registry_cascade_on_registry_delete.go
- 20260615100000_move_weight_to_consumer_registry.go
- 20260615110000_clamp_consumer_registry_weight.go
- 20260616000000_remove_oauth2_client_auth.go
- 20260616120000_add_gateway_metadata.go
- 20260616130000_add_registry_enabled.go
- 20260617000000_purge_openrouter_catalog.go
- 20260617180000_restrict_consumer_auth_on_auth_delete.go
- 20260618120000_rename_idp_to_oidc.go
- 20260622120000_enforce_junction_same_gateway.go
- 20260622120000_enforce_junction_same_gateway_test.go
- 20260623120000_cleanup_cross_gateway_consumer_registry.go
- 20260623120000_cleanup_cross_gateway_consumer_registry_test.go
- 20260626000000_registry_auth_to_text.go
- 20260629120000_drop_gateway_name.go
- 20260630000000_config_snapshot_outbox.go
- 20260708000000_config_sync_connections.go
- 20260710120000_backfill_gateway_tenant_id.go
- 20260713000000_add_model_release_date_and_modalities.go
- 20260716120000_add_gateway_entitlements.go
- 20260723110000_add_consumer_registry_position.go
- 20260723110000_add_consumer_registry_position_test.go
- 20260729110000_drop_auths_gateway_name_unique.go
- 20260729120000_add_auth_key_preview.go
- 20260805120000_add_list_filter_indexes.go
- 20260805140000_add_policies_gateway_slug_idx.go
- 20260823120000_add_registry_pricing.go
- 20260826120000_add_catalog_cache_prices.go
- 20260827120000_backfill_catalog_cache_prices.go
- 20260827120000_backfill_catalog_cache_prices_test.go
- 20260902120000_trustguard_direction_only.go
- doc.go
- auth.go
- auth_test.go
- connection.go
- connection_iam_dsn_test.go
- migrations_manager.go
- provider.go
- tx.go
- embedding_locator_mock.go
- locator.go
- creator.go
- creator_test.go
- token.go
- token_test.go
- keystore.go
- keystore_test.go
- signer.go
- signer_test.go
- token_client.go
- token_client_test.go
- exclude.go
- least_connections.go
- random.go
- round_robin.go
- semantic.go
- semantic_cache_test.go
- smart_routing.go
- smart_routing_test.go
- strategies_test.go
- weighted_round_robin.go
- base_factory.go
- base_factory_test.go
- health_internal_test.go
- health_status.go
- load_balancer.go
- load_balancer_close_test.go
- load_balancer_health_test.go
- strategy.go
- strategy_asserts.go
- credential_redact_handler.go
- credential_redact_handler_test.go
- logger.go
- redact.go
- redact_test.go
- cached_dialer.go
- cached_dialer_test.go
- client.go
- client_test.go
- handshake_transport.go
- protocol.go
- dialer.go
- dialer_test.go
- cost_test.go
- decimal_float.go
- event.go
- event_test.go
- sanitize.go
- sanitize_test.go
- views.go
- views_test.go
- store.go
- store_test.go
- event_context.go
- httpclient.go
- httpclient_test.go
- otel.go
- otel_test.go
- provider.go
- provider_test.go
- uptime.go
- uptime_test.go
- connect_store.go
- connect_store_test.go
- dcr_registrar.go
- dcr_registrar_test.go
- provider_client.go
- provider_client_authorize_test.go
- provider_client_cc_test.go
- provider_client_token_test.go
- store.go
- store_test.go
- userinfo_client.go
- userinfo_client_test.go
- compiler.go
- compiler_test.go
- client.go
- client_test.go
- config.go
- config_test.go
- data.go
- data_test.go
- plugin.go
- plugin_test.go
- reject.go
- anonymize.go
- anonymize_test.go
- assess.go
- assess_test.go
- client.go
- client_test.go
- config.go
- config_test.go
- data.go
- data_test.go
- plugin.go
- plugin_test.go
- reject.go
- reject_test.go
- costcap.go
- costcap_test.go
- downgrade.go
- downgrade_test.go
- glob.go
- glob_test.go
- pricing.go
- pricing_test.go
- config.go
- config_test.go
- data.go
- plugin.go
- plugin_test.go
- client.go
- client_test.go
- config.go
- config_test.go
- data.go
- data_test.go
- evaluate.go
- evaluate_test.go
- extract.go
- extract_test.go
- plugin.go
- plugin_test.go
- reject.go
- config.go
- data.go
- plugin.go
- plugin_test.go
- decode.go
- decode_test.go
- compress.go
- compress_test.go
- config.go
- config_test.go
- data.go
- plugin.go
- plugin_test.go
- rewrite.go
- safety.go
- safety_test.go
- body.go
- body_test.go
- config.go
- config_test.go
- data.go
- jwt.go
- jwt_test.go
- modea.go
- modea_test.go
- modeb.go
- modeb_test.go
- plugin.go
- plugin_test.go
- render.go
- render_test.go
- validate.go
- validate_test.go
- variables.go
- variables_test.go
- config.go
- data.go
- plugin.go
- plugin_test.go
- config.go
- config_test.go
- data.go
- plugin.go
- plugin_test.go
- replace.go
- replace_test.go
- config.go
- data.go
- plugin.go
- plugin_test.go
- config.go
- config_test.go
- data.go
- plugin.go
- plugin_test.go
- budget.go
- budget_test.go
- config.go
- config_test.go
- costcap_test.go
- data.go
- downgrade_test.go
- keys.go
- keys_test.go
- plugin.go
- plugin_budget_test.go
- plugin_test.go
- pricing_test.go
- responses.go
- scripts.go
- config.go
- config_test.go
- data.go
- plugin.go
- plugin_test.go
- config.go
- data.go
- inject.go
- plugin.go
- plugin_test.go
- attachments.go
- attachments_test.go
- client.go
- client_test.go
- config.go
- config_test.go
- data.go
- data_test.go
- llm.go
- llm_test.go
- mcp.go
- mcp_rewrite.go
- mcp_test.go
- metrics.go
- otel_test.go
- plugin.go
- plugin_test.go
- reject.go
- reject_test.go
- rewrite.go
- rewrite_test.go
- stream_text.go
- stream_text_test.go
- token.go
- token_test.go
- adapter_test.go
- anthropic_adapter.go
- anthropic_adapter_test.go
- bedrock_adapter.go
- bedrock_adapter_test.go
- bedrock_titan_embed_adapter.go
- bedrock_titan_embed_adapter_test.go
- canonical.go
- cohere_adapter.go
- cohere_adapter_test.go
- cohere_embed_adapter.go
- cohere_rerank_adapter.go
- format.go
- gemini_adapter.go
- gemini_adapter_test.go
- groq_adapter_test.go
- helpers.go
- mistral_adapter.go
- mistral_adapter_test.go
- model.go
- model_enforce_test.go
- model_test.go
- normalize.go
- normalize_groq_test.go
- normalize_test.go
- normalize_tokens.go
- openai_adapter.go
- openai_completions_adapter.go
- openai_completions_adapter_test.go
- openai_responses_adapter.go
- openai_responses_adapter_test.go
- openai_responses_sse_test.go
- openrouter_adapter.go
- openrouter_adapter_test.go
- provider_error.go
- provider_error_test.go
- registry.go
- stream.go
- stream_flag_test.go
- vertex_embed_adapter.go
- vertex_embed_adapter_test.go
- client.go
- client_test.go
- connection.go
- models.go
- client.go
- client_test.go
- connection.go
- models.go
- client.go
- client_test.go
- connection.go
- client.go
- client_test.go
- connection.go
- models.go
- client.go
- client_test.go
- connection.go
- connection_test.go
- models.go
- urls.go
- client.go
- client_test.go
- connection.go
- models.go
- provider_locator_mock.go
- locator.go
- locator_test.go
- client.go
- client_test.go
- connection.go
- models.go
- client.go
- client_test.go
- connection.go
- models.go
- client.go
- client_test.go
- connection.go
- models.go
- client_mock.go
- connection_tester_mock.go
- chat_completions_client.go
- client.go
- client_test.go
- connection.go
- connection_test.go
- models.go
- client.go
- client_test.go
- connection.go
- connection_test.go
- models.go
- client.go
- client_test.go
- connection.go
- connection_test.go
- models.go
- client.go
- client_test.go
- connection.go
- connection_test.go
- token.go
- token_test.go
- client.go
- client_test.go
- connection.go
- models.go
- audio.go
- audio_test.go
- capabilities.go
- capabilities_test.go
- client.go
- connection_tester.go
- connection_tester_test.go
- credentials.go
- credentials_test.go
- files.go
- files_test.go
- http_client.go
- http_client_test.go
- images.go
- images_test.go
- model_lister.go
- model_lister_test.go
- options.go
- otel_test.go
- stream.go
- stream_test.go
- validate.go
- validate_test.go
- connect.go
- connect_test.go
- store.go
- store_test.go
- repository.go
- repository.go
- repository.go
- repository_integration_test.go
- repository.go
- repository_test.go
- repository.go
- repository_test.go
- purger.go
- purger_test.go
- repository.go
- repository_integration_test.go
- repository.go
- repository.go
- repository_test.go
- repository.go
- repository.go
- repository_test.go
- durability.go
- durability_test.go
- redis_repository.go
- redis_repository_test.go
- repository.go
- loader.go
- loader_test.go
- exporter.go
- exporter_test.go
- exporter.go
- exporter_test.go
- mapping.go
- mapping_mcp_test.go
- mapping_test.go
- provider.go
- settings.go
- settings_test.go
- template.go
- template_test.go
- exporter.go
- exporter_test.go
- migrate.go
- migrate_integration_test.go
- settings.go
- settings_test.go
- template.go
- template_test.go
- exporter_locator.go
- exporter_locator_test.go
- kafka_base.go
- publishlog.go
- context.go
- span.go
- trace.go
- trace_test.go
- migration.go
- migration_0001_create_trustgate_data.go
- migration_test.go
- allowlist.go
- column.go
- column_test.go
- doc.go
- go.mod
- record.go
- schema.go
- schema_test.go
- version.go
- adapters.go
- adapters_test.go
- auth_repository.go
- catalog_repository.go
- consumer_repository.go
- gateway_repository.go
- playground_keys.go
- playground_keys_test.go
- policy_repository.go
- registry_repository.go
- role_repository.go
- snapshot.go
- snapshot_test.go
- aesgcm_crypto.go
- aesgcm_crypto_test.go
- configsync.go
- errors.go
- helpers_test.go
- lkg.go
- lkg_test.go
- memory_store.go
- memory_store_test.go
- readiness.go
- readiness_test.go
- worker.go
- worker_test.go
- admin_router.go
- mcp_router.go
- mcp_router_test.go
- proxy_router.go
- router.go
- http_server.go
- server.go
- version.go
- TrustGate-TrustGuard-E2E.postman_collection.json
- TrustGate.postman_collection.json
- verify_three_sinks.sh
- check-comments.sh
- generate_jwt_token.sh
- install.sh
- pre-commit.sh
- setup-local-subdomains.sh
- aha.png
- ahrefs.png
- airbyte.svg
- airtable.svg
- algolia.svg
- amplitude.png
- apify.png
- apollo.ico
- arcade.png
- asana.svg
- assemblyai.ico
- atlan.png
- atlassian.svg
- attio.ico
- aws.svg
- axiom.ico
- betterstack.svg
- box.svg
- braintrust.svg
- brex.svg
- brightdata.png
- browserbase.ico
- builderio.ico
- buildkite.svg
- caldotcom.svg
- calendly.svg
- canva.ico
- chargebee.png
- checkr.png
- clickhouse.svg
- clickup.svg
- close.png
- cloudflare.svg
- cloudinary.svg
- coda.svg
- coinbase.svg
- composio.jpg
- contentful.svg
- cube.ico
- customerio.png
- daloopa.png
- databricks.svg
- datadog.svg
- dbtlabs.ico
- deepwiki.png
- devexpress.svg
- digitalocean.svg
- docusign.png
- dropbox.svg
- dynatrace.svg
- egnyte.svg
- elastic.svg
- endorlabs.png
- exa.png
- excalidraw.svg
- fathom.png
- fibery.png
- figma.svg
- firecrawl.png
- fireflies.ico
- freshworks.png
- front.png
- githubcopilot.svg
- gitlab.svg
- glean.png
- globalping.png
- gmail.svg
- gooddata.ico
- googlecalendar.svg
- googledrive.svg
- gorgias.png
- grafana.svg
- granola.png
- guru.png
- halo.png
- hex.png
- holded.png
- honeycomb.png
- hubspot.svg
- huggingface.svg
- incidentio.png
- infobip.png
- intercom.svg
- invideo.ico
- jam.ico
- jfrog.svg
- jinaai.png
- jotform.svg
- jumpcloud.png
- klaviyo.png
- langfuse.png
- launchdarkly.ico
- linear.svg
- lithic.png
- mailchimp.svg
- make.svg
- mem0.png
- mercury.ico
- microsoft.ico
- microsoftsentinel.ico
- miro.svg
- mixpanel.svg
- moderntreasury.png
- mollie.png
- mondaycom.png
- montecarlo.png
- motherduck.ico
- mux.ico
- n8n.svg
- neon.svg
- netsuite.ico
- newrelic.svg
- normanfinance.png
- notion.svg
- paddle.svg
- pagerduty.svg
- pandadoc.png
- paypal.svg
- pendo.jpg
- pinecone.ico
- pipedream.png
- plaid.png
- planetscale.svg
- port.png
- posthog.svg
- postman.svg
- prisma.svg
- prismic.svg
- railway.svg
- ramp.ico
- razorpay.svg
- render.svg
- replicate.svg
- rootly.ico
- salesforce.ico
- sanity.svg
- scrapingant.ico
- sectigo.svg
- semgrep.png
- semrush.svg
- sentry.svg
- serpapi.png
- servicenow.ico
- shopify.svg
- shortcut.svg
- slack.svg
- smartbear.png
- smartsheet.png
- snowflake.svg
- socket.svg
- sonarqube.ico
- sonatype.svg
- square.svg
- statsig.png
- storyblok.png
- stripe.svg
- stytch.ico
- supabase.svg
- tavily.ico
- teamwork.png
- telnyx.ico
- thoughtspot.png
- tinybird.ico
- todoist.svg
- twilio.png
- vanta.png
- vercel.svg
- vimeo.svg
- vonage.svg
- webflow.svg
- weightsandbiases.svg
- wix.svg
- workato.ico
- zapier.svg
- zoom.svg
- azure_devops.svg
- github.svg
- google_cloud.svg
- mcp.svg
- embed.go
- enterprise-servers.json
- repository_test.go
- repository_test.go
- repository_test.go
- repository_test.go
- repository_test.go
- repository_test.go
- repository_test.go
- audio_provider_test.go
- cohere_provider_test.go
- common_test.go
- consumer_associations_test.go
- create_auth_test.go
- create_consumer_test.go
- create_gateway_test.go
- create_policy_test.go
- create_registry_test.go
- dbless_data_plane_test.go
- dbless_mcp_vault_test.go
- delete_auth_test.go
- delete_consumer_test.go
- delete_gateway_test.go
- delete_policy_test.go
- delete_registry_test.go
- diagnostics_registry_models_e2e_test.go
- diagnostics_test_connection_e2e_test.go
- duplicate_policy_test.go
- embeddings_provider_test.go
- files_provider_test.go
- firewall_complexity_stub_test.go
- gateway_discovery_test.go
- get_auth_test.go
- get_consumer_test.go
- get_gateway_test.go
- get_policy_test.go
- get_registry_test.go
- hybrid_gateway_guard_e2e_test.go
- images_provider_test.go
- lb_strategies_e2e_test.go
- list_auth_test.go
- list_consumer_test.go
- list_gateway_test.go
- list_policy_test.go
- list_registry_test.go
- list_role_test.go
- mcp_api_key_connect_test.go
- mcp_e2e_test.go
- mcp_oauth_shared_host_test.go
- mcp_plugin_chain_test.go
- mcp_trustguard_both_legs_test.go
- model_allowlist_wildcard_test.go
- models_discovery_test.go
- payload_normalization_test.go
- playground_trace_e2e_test.go
- plugin_azure_content_safety_test.go
- plugin_bedrock_guardrail_test.go
- plugin_e2e_common_test.go
- plugin_model_allowlist_test.go
- plugin_parallel_body_safety_test.go
- plugin_per_tool_rate_limiter_test.go
- plugin_policy_composition_test.go
- plugin_prompt_template_test.go
- plugin_rate_limiter_test.go
- plugin_regex_replace_test.go
- plugin_request_size_test.go
- plugin_semantic_cache_test.go
- plugin_token_rate_limiter_downgrade_test.go
- plugin_token_rate_limiter_test.go
- plugin_tool_allowlist_test.go
- plugin_tool_injection_test.go
- plugin_trustguard_test.go
- proxy_e2e_test.go
- report_test.go
- route_aware_lb_e2e_test.go
- routing_intent_test.go
- setup_test.go
- smart_routing_e2e_test.go
- trustguard_stub_test.go
- update_auth_test.go
- update_consumer_test.go
- update_gateway_test.go
- update_policy_test.go
- update_registry_test.go
- tools.go
- .dockerignore
- .env.example
- .env.functional.example
- .gitattributes
- .gitignore
- .gitleaks.toml
- .gitleaksignore
- .golangci.yml
- commits.txt
- CONTRIBUTING.md
- docker-compose.api.yaml
- docker-compose.frontend.yaml
- docker-compose.telemetry.yaml
- docker-compose.yaml
- Dockerfile
- go.mod
- go.sum
- LICENSE
- Makefile
- NOTICE
- package-lock.json
- README.md
- request.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Link
Example
// repository documentation
Was this content helpful?
(0 ratings)
