Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
OpenClaw includes a bundled Amazon Bedrock Mantle provider that connects to the Mantle OpenAI-compatible endpoint. Mantle hosts open-source and third-party models (GPT-OSS, Qwen, Kimi, GLM, and similar) through a standard
/v1/chat/completions| Property | Value |
|---|---|
| Provider ID | text amazon-bedrock-mantle |
| API | text openai-completionstext anthropic-messages |
| Auth | Explicit text AWS_BEARER_TOKEN_BEDROCK |
| Default region | text us-east-1text AWS_REGIONtext AWS_DEFAULT_REGION |
Choose your preferred auth method and follow the setup steps.
text<Steps> <Step title="Set the bearer token on the gateway host"> ```bash} export AWS_BEARER_TOKEN_BEDROCK="..." ``` Optionally set a region (defaults to `us-east-1`): ```bash} export AWS_REGION="us-west-2" ``` </Step> <Step title="Verify models are discovered"> ```bash} openclaw models list ``` Discovered models appear under the `amazon-bedrock-mantle` provider. No additional config is required unless you want to override defaults. </Step> </Steps>
text<Steps> <Step title="Configure AWS credentials on the gateway host"> Any AWS SDK-compatible auth source works: ```bash} export AWS_PROFILE="default" export AWS_REGION="us-west-2" ``` </Step> <Step title="Verify models are discovered"> ```bash} openclaw models list ``` OpenClaw generates a Mantle bearer token from the credential chain automatically. </Step> </Steps> <Tip> When `AWS_BEARER_TOKEN_BEDROCK` is not set, OpenClaw mints the bearer token for you from the AWS default credential chain, including shared credentials/config profiles, SSO, web identity, and instance or task roles. </Tip>
When
AWS_BEARER_TOKEN_BEDROCK/v1/models| Behavior | Detail |
|---|---|
| Discovery cache | Results cached for 1 hour |
| IAM token refresh | Hourly |
us-east-1us-east-2us-west-2ap-northeast-1ap-south-1ap-southeast-3eu-central-1eu-west-1eu-west-2eu-south-1eu-north-1sa-east-1If you prefer explicit config instead of auto-discovery:
json5{ models: { providers: { "amazon-bedrock-mantle": { baseUrl: "https://bedrock-mantle.us-east-1.api.aws/v1", api: "openai-completions", auth: "api-key", apiKey: "env:AWS_BEARER_TOKEN_BEDROCK", models: [ { id: "gpt-oss-120b", name: "GPT-OSS 120B", reasoning: true, input: ["text"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 32000, maxTokens: 4096, }, ], }, }, }, }
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine