amodal connect & sync
connect
Add a connection to your agent. Connections give the agent API access and documentation for external systems.
# Install a pre-built plugin
amodal connect slack
amodal connect datadog
amodal connect github
# List available plugins
amodal search --type connectionThis creates a directory in .amodal/connections/ with the plugin's spec and access configuration.
sync
Sync API specifications from remote sources. Useful for custom APIs or keeping specs up to date.
# Sync from an OpenAPI spec
amodal sync --from https://api.example.com/openapi.json
# Sync from a GraphQL schema
amodal sync --from https://api.example.com/graphql
# Check for drift without updating (useful in CI)
amodal sync --checkDrift Detection
The --check flag compares your local specs against the remote source and reports differences without making changes. This is useful in CI pipelines to catch API changes early.
Connection Structure
Each connection directory contains:
.amodal/connections/slack/
├── spec.json ← endpoints, auth config, entity list
├── access.json ← field restrictions, action tiers, scoping rules
└── credentials ← (gitignored) API keys, tokensspec.json
Machine-readable configuration:
- source — API base URL and type
- auth — Authentication method (bearer, OAuth, API key)
- entities — Available API entities and endpoints
- sync — Sync configuration and filters
access.json
Security rules:
- Field restrictions — which fields are readable/writable
- Action tiers — confirm/review/never for different operations
- Scoping rules — tenant-level access control
Available Plugins
See Plugins for the full list of 20+ pre-built connection plugins.