API Reference

This section provides detailed documentation for all major components of the Manas framework.

Core Components

Agents and Flows

  • Agent - Base agent class for creating autonomous agents
  • Flow - Flow orchestration and management
  • Node - Base node class for all specialized nodes

Node Types

LLM Integration

Provider System

Vector Stores

RAG System

  • RAG - Retrieval augmented generation
  • RAGConfig - RAG configuration
  • RAGNode - RAG node implementation

Utilities

  • Tool - Tool definition and management
  • Memory - Memory management
  • Middleware - Provider middleware
  • Errors - Error types and handling

Using the API Reference

Each component’s documentation includes:

  • Description and purpose
  • Configuration options
  • Constructor parameters
  • Available methods
  • Usage examples
  • Important notes

For example, see the QANode documentation for a comprehensive reference of a specific component.