Intro
Open-source AI agent framework for building autonomous systems that solve real-world tasks effectively.
Astreus is the developer-friendly AI agent framework that lets you build powerful, production-ready agents in minutes. Rapidly develop sophisticated AI systems with full control over capabilities while maintaining clean, maintainable code.
Installation
npm install @astreus-ai/astreus
Basic Usage
import { Agent } from '@astreus-ai/astreus';
const agent = await Agent.create({
name: 'Assistant',
model: 'gpt-4o',
memory: true
});
const response = await agent.ask('How can you help me?');
Core Features
Sub-Agents
Intelligent task delegation with specialized agent coordination, hierarchical workflows, and LLM-powered assignment.
Advanced Memory System
Per-agent persistent memory with automatic context integration and vector search capabilities.
Task Orchestration
Structured task execution with status tracking, dependency management, and streaming support.
Graph Workflows
Complex workflow orchestration with conditional execution, parallel processing, and sub-agent integration.
MCP Integration
Model Context Protocol support for seamless external tool and service connections.
Plugin System
Extensible tool integration with JSON schema validation and automatic LLM function calling.
Vision Processing
Built-in image analysis and document processing capabilities for multimodal interactions.
Knowledge Base
RAG integration with document chunking, vector embeddings, and similarity search.
How is this guide?