> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agenite.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> A modern, modular, and type-safe framework for building AI agents using typescript

![Hero Light](https://mintcdn.com/agenite/KlgXSqKpWDo_NGNz/images/hero-light.png?fit=max\&auto=format\&n=KlgXSqKpWDo_NGNz\&q=85\&s=f5295c648033db8c7c1eda2190220e03)

## What is Agenite?

Agenite is a powerful TypeScript framework designed for building sophisticated AI agents. It provides a modular, type-safe, and flexible architecture that makes it easy to create, compose, and control AI agents with advanced capabilities.

> [!NOTE]
>
> The name Agenite (pronounced as Agen-ite) comes from combining "Agent" with the suffix "-ite", representing a framework that crystallizes best practices for building AI agents.

### Key features

> [accordion] Type safety and developer experience
>
> * Built from the ground up with TypeScript
> * Robust type checking for tools and agent configurations
> * Excellent IDE support and autocompletion

> [accordion] Tool integration
>
> * First-class support for function calling
> * Built-in JSON Schema validation
> * Structured error handling
> * Easy API integration

> [accordion] Provider agnostic
>
> * Support for AWS Bedrock and Ollama
> * Consistent interface across providers
> * Easy extension for new providers

> [accordion] Advanced architecture
>
> * Bidirectional flow using JavaScript generators
> * Step-based execution model
> * Built-in state management with reducers
> * Flexible middleware system

> [accordion] Model context protocol (MCP)
>
> * Standardized protocol for connecting LLMs to data sources
> * Client implementation for interacting with MCP servers
> * Access to web content, filesystem, databases, and more
> * Similar to how USB-C provides universal hardware connections

## Core concepts

### Agents

Agents are the central building blocks in Agenite. An agent:

* Orchestrates interactions between LLMs and tools
* Manages conversation state and context
* Handles tool execution and results
* Supports nested execution for complex workflows
* Provides streaming capabilities for real-time interactions

### Tools

Tools extend agent capabilities by providing specific functionalities:

* Strong type safety with TypeScript
* JSON Schema validation for inputs
* Flexible error handling
* Easy API integration

### Providers

Currently supported LLM providers:

* AWS Bedrock with Claude models
* Local models via Ollama
* Consistent interface for easy provider switching
* Built-in streaming support

## Available packages

Agenite is organized into several modules that you can install based on your needs:

### Core packages

These are the essential packages for building agents with Agenite.

> [card] @agenite/agent
>
> Core agent library for orchestrating LLMs and tools
>
> ```bash theme={null}
> npm install @agenite/agent
> ```

> [card] @agenite/tool
>
> Tool interface for extending agent capabilities
>
> ```bash theme={null}
> npm install @agenite/tool
> ```

> [card] @agenite/llm
>
> LLM abstraction layer and utilities
>
> ```bash theme={null}
> npm install @agenite/llm
> ```

### Provider packages

Choose one or more provider packages based on the LLMs you want to use.

> [card] @agenite/openai
>
> OpenAI API provider (GPT models)
>
> ```bash theme={null}
> npm install @agenite/openai
> ```

> [card] @agenite/anthropic
>
> Anthropic API provider (Claude models)
>
> ```bash theme={null}
> npm install @agenite/anthropic
> ```

> [card] @agenite/bedrock
>
> AWS Bedrock provider (Claude, Titan models)
>
> ```bash theme={null}
> npm install @agenite/bedrock
> ```

> [card] @agenite/ollama
>
> Ollama provider for local models
>
> ```bash theme={null}
> npm install @agenite/ollama
> ```

### MCP package

Integration with the Model Context Protocol (MCP) for standardized data access.

> [card] @agenite/mcp
>
> Client implementation for interacting with MCP servers to access external data sources
>
> ```bash theme={null}
> npm install @agenite/mcp
> ```

### Middleware packages

Optional packages for enhancing agent functionality.

> [card] [@agenite/pretty-logger](https://docs.agenite.com/packages/pretty-logger.md)
>
> Colorful console logging for agent execution
>
> ```bash theme={null}
> npm install @agenite/pretty-logger
> ```

## Typical installation

For a basic setup with OpenAI:

```bash theme={null}
npm install @agenite/agent @agenite/tool @agenite/llm @agenite/openai
```

For AWS Bedrock with optional pretty logging:

```bash theme={null}
npm install @agenite/agent @agenite/tool @agenite/llm @agenite/bedrock @agenite/pretty-logger
```

## Next steps

**1. Install Agenite**

Start by installing the core packages and your preferred provider:

```bash theme={null}
npm install @agenite/agent @agenite/tool
npm install @agenite/bedrock # For AWS Bedrock
# OR
npm install @agenite/ollama  # For local models
```

**2. Learn the basics**

Follow our [Quick start guide](https://docs.agenite.com/quickstart.md) to create your first agent

**3. Explore examples**

Check out our [Examples](https://docs.agenite.com/examples.md) to see Agenite in action

**4. Build something amazing**

Use our [API reference](https://docs.agenite.com/api-reference/agent.md) to build your own AI agents

> [card] [Quick start guide](https://docs.agenite.com/quickstart.md)
>
> Create your first agent in minutes with our step-by-step guide

> [card] [Core concepts](https://docs.agenite.com/core-concepts/overview.md)
>
> Deep dive into agents, tools, and the execution model


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.