Hero Light Hero Dark

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.
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

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.

@agenite/agent

Core agent library for orchestrating LLMs and tools
npm install @agenite/agent

@agenite/tool

Tool interface for extending agent capabilities
npm install @agenite/tool

@agenite/llm

LLM abstraction layer and utilities
npm install @agenite/llm

Provider packages

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

@agenite/openai

OpenAI API provider (GPT models)
npm install @agenite/openai

@agenite/anthropic

Anthropic API provider (Claude models)
npm install @agenite/anthropic

@agenite/bedrock

AWS Bedrock provider (Claude, Titan models)
npm install @agenite/bedrock

@agenite/ollama

Ollama provider for local models
npm install @agenite/ollama

MCP package

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

@agenite/mcp

Client implementation for interacting with MCP servers to access external data sources
npm install @agenite/mcp

Middleware packages

Optional packages for enhancing agent functionality.

Typical installation

For a basic setup with OpenAI:
npm install @agenite/agent @agenite/tool @agenite/llm @agenite/openai
For AWS Bedrock with optional pretty logging:
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:
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 to create your first agent
3

Explore examples

Check out our Examples to see Agenite in action
4

Build something amazing

Use our API reference to build your own AI agents