Skip to content

astreus-ai/examples

Repository files navigation

Astreus AI Examples

Official examples and tutorials for the Astreus AI Agent framework.

Getting Started

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

Examples

Beginner

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

Intermediate

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

Advanced

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

Requirements

  • Node.js 18+
  • npm or pnpm
  • OpenAI API key (or other supported LLM provider)

📖 Documentation

For detailed documentation and advanced features, visit:

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

📬 Contact

Astreus Team - https://astreus.org

Project Link: https://github.com/astreus-ai/astreus

About

Official examples and tutorials for the Astreus AI Agent framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors