# Build long-horizon agents with Grok 4.7 on Amazon Bedrock

DevFeed: [Build long-horizon agents with Grok 4.7 on Amazon Bedrock](<https://devfeed.tech/articles/build-long-horizon-agents-with-grok-4-7-on-amazon-bedrock-86369.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/machine-learning/build-long-horizon-agents-with-grok-4-7-on-amazon-bedrock/>)

Author: Suheel Farooq

Published: 2026-10-13T15:52:20Z

Content type: tutorial

Language: en

Sources: [Artificial Intelligence](<https://devfeed.tech/sources/artificial-intelligence.md>)

Topics: [Amazon Bedrock](<https://devfeed.tech/topics/amazon-bedrock.md>), [AI-generated research reports](<https://devfeed.tech/topics/ai-generated-research-reports.md>), [LLM observability](<https://devfeed.tech/topics/llm-observability.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [amazon-machine-learning](<https://devfeed.tech/tags/amazon-machine-learning.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-bedrock](<https://devfeed.tech/tags/aws-bedrock.md>), [cost](<https://devfeed.tech/tags/cost.md>), [foundation-models](<https://devfeed.tech/tags/foundation-models.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [grok-4-7](<https://devfeed.tech/tags/grok-4-7.md>), [production](<https://devfeed.tech/tags/production.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [token-cost](<https://devfeed.tech/tags/token-cost.md>), [tool-calling](<https://devfeed.tech/tags/tool-calling.md>)

## AI overview

The post builds a tool-calling agent with Grok 4.7 on Amazon Bedrock and evaluates it on three search and reasoning tasks. Across 72 runs, the agent answered 67 correctly; the results suggest that higher reasoning effort can improve reliability at the cost of more output tokens. It also describes evaluation methods, production monitoring, and operational controls for agent workloads.

## Source excerpt

Grok 4.7 is now available on Amazon Bedrock. In this post, we build a tool-calling agent on Grok 4.7 and evaluate it on three reasoning tasks at four reasoning effort levels, measuring correctness and token cost per completed task. We show how to tune the trade-off per request and monitor it in production.