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
- QANode - Question answering node with RAG support
- DocumentNode - Document processing node
- ToolNode - Tool integration node
- APINode - External API integration node
LLM Integration
Provider System
- BaseProvider - Base provider class
- OpenAI - OpenAI integration
- Anthropic - Claude models
- HuggingFace - Hugging Face models
- Ollama - Local model integration
Vector Stores
- VectorStore - Base vector store
- FAISS - FAISS integration
- Chroma - Chroma integration
- Pinecone - Pinecone integration
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.