Official examples and tutorials for the Astreus AI Agent framework.
Each example is self-contained and can be run independently. Navigate to any example directory and follow the instructions in its README.
cd your-first-agent
npm install
cp .env.example .env
# Add your API keys to .env
npm run dev| Example | Description |
|---|---|
| your-first-agent | Create your first AI agent |
| agent-with-memory | Add persistent memory to agents |
| agent-with-knowledge | Integrate knowledge bases |
| agent-with-vision | Enable vision capabilities |
| Example | Description |
|---|---|
| basic-graphs | Build basic workflow graphs |
| sub-agents-basic | Work with sub-agents |
| task-attachments | Handle task attachments |
| custom-plugins | Create custom plugins |
| agent-persistence | Persist agent state |
| Example | Description |
|---|---|
| complex-workflows | Build complex multi-step workflows |
| graph-sub-agents | Combine graphs with sub-agents |
| sub-agents-advanced | Advanced sub-agent patterns |
| scheduled-workflows | Schedule and automate workflows |
| context-compression | Optimize context usage |
| mcp-integration | Model Context Protocol integration |
- Node.js 18+
- npm or pnpm
- OpenAI API key (or other supported LLM provider)
For detailed documentation and advanced features, visit:
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Astreus Team - https://astreus.org
Project Link: https://github.com/astreus-ai/astreus