Docs/Introduction

AgentCore Overview

AgentCore is a lightweight, type-safe TypeScript framework for building composable AI agents. It decouples model routing, safety guardrails, tool execution, and benchmark evaluations into standalone building blocks—giving developers full architectural control without framework lock-in or heavy runtime overhead.

4 Decoupled Architecture Primitives

AgentCore modularizes agent infrastructure into four clean, independent primitives:

Key Architectural Advantages

  • Zero Vendor Lock-in: Switch between cloud LLMs and local open-source runtimes seamlessly.
  • Universal JavaScript Support: Works across Node.js, Next.js, Bun, Deno, and Edge runtimes.
  • First-Class Tooling: Native support for third-party NPM tool packages and Zod schema validation.
  • End-to-End Type Safety: Comprehensive TypeScript inference for prompt inputs, streaming, and tool execution.