Oneirocom / Magick

Magick is a cutting-edge toolkit for a new kind of AI builder. Make Magick with us!
https://magickml.com
Other
719 stars 115 forks source link

✨ Magick Grimoire Framework ✨ #1488

Open parzival418 opened 4 months ago

parzival418 commented 4 months ago

We are beginning a migration to a new approach to Magick. This includes a full rewrite of our core agent library, with a design consideration for developer usage and consumption. We are wrapping this into a Nitro module which will allow developers to rapidly add functionality to their agents, including custom nodes, service dependencies for use in the node graph, and a standalone instance of the Magick IDE for customization and modifying Agent behaviour.

We are actively developing this as we clean up our repository and our dependencies. This will be a leaner, cleaner, and more open source developer friendly approach. As we develop, we invite anyone interested to help out and make this project their own. Once we hit an early release point, we will be updating all of our documentation, and giving easy steps to get started with our framework.

We will be using this space for posting design docs, discussion points on architecture, and other topics.

Tasks

I will keep track here of high level things we need to do as we prepare this migration

[] First pass at high level technical documentation [] Define new agent class interface [] Define core dependencies and interfaces [] Establish baseline for running editor as is locally [] Establish patterns for plugins and agent extensions [] Detail nitro module interaction [] Update IDE to improve standalone functionality [] Audit all agent redis events and communication to prepare for migration [] Audit all NX packages and project dependencies [] Audit feather server and services for what can be cut out [] Develop migration strategy for old systems like agent worker/manager runtime [] Theia IDE migration discovery plan and roadmap

July 25, 2024

Grimoire Framework and NitroJS Extension: Next-Gen AI Agent Development

Project Overview

The Grimoire Framework and NitroJS Extension represent a paradigm shift in AI agent development, aiming to democratize the creation of sophisticated AI agents while pushing the boundaries of what's possible in the JavaScript ecosystem.

Key Features:

  1. Extensible Agent Core: A powerful, event-driven foundation for building AI agents.
  2. Modular Plugin System: Easily extend agent capabilities through a flexible plugin architecture.
  3. Advanced Event Bus: Facilitates complex, reactive behaviors across multiple agents and systems.
  4. Robust State Management: Efficiently handle and synchronize agent state across distributed systems.
  5. Visual Programming IDE: Seamlessly blend code-based and visual programming paradigms.
  6. Folder-based Architecture: Intuitive project structure with auto-loading capabilities.
  7. Standalone Runtime: Deploy agents as independent applications with minimal configuration.

Architecture Highlights

Grimoire Framework:

NitroJS Extension:

Improved IDE

The Magick IDE will be migrating over to use the Theia IDE toolkit. This will let us focus more on our graph editor and less on the rest of the UX for tool development. It will require some lift, but the benefits will be a fully fleshed out code editing experience seamlessly integrated with our graph based coding approach. It will be easy for developers to extend functionality of the graph with nodes and services without having to modify or edit our core code base.

Goals and Objectives

  1. Create a unified, extensible codebase for AI agent development.
  2. Provide scalable architecture for handling complex, multi-agent workflows.
  3. Offer an intuitive interface accessible to developers of all skill levels.
  4. Foster a vibrant ecosystem of shared agent functionalities.
  5. Enable easy deployment of standalone, efficient agents.
  6. Maintain and enhance our advanced visual programming environment.
  7. Ensure seamless integration with existing systems and data sources.

Get Involved

We're excited to bring this vision to life and invite the community to contribute. Whether you're interested in core framework development, creating plugins, or building agents, there's a place for you in this project.

Stay tuned for updates, and feel free to ask questions or share ideas in the comments below.

DanM3rcurius commented 4 months ago

Love it. Keep course and let me know where i can be of help!

DezraDiamond commented 3 months ago

I have an AI agency start up called Magnum Opus Ai this is the exact concept, I am a prompt engineer, so naturally briding the verbage of technowizardry with the witcraft and spellware of today it was surprising delightful to have my first wizbot correct people their concept of magick. I would live to be involved and incorporate this into my agency. I was going to call my knowledgebase for the platform the grimoire, the community section The Guild, and maintain the concept straight faced and professional cause it is, and we are. Magnum Opus AI "Where Magick Meets Machine Learning". Still quite a lot of things to do on my start up, but I got promps and agent instruction sets for you.

Creator of Experience & Manipulator of Reality

Dezra Diamond

DanM3rcurius commented 3 months ago

I have an AI agency start up called Magnum Opus Ai this is the exact concept, I am a prompt engineer, so naturally briding the verbage of technowizardry with the witcraft and spellware of today it was surprising delightful to have my first wizbot correct people their concept of magick. I would live to be involved and incorporate this into my agency. I was going to call my knowledgebase for the platform the grimoire, the community section The Guild, and maintain the concept straight faced and professional cause it is, and we are. Magnum Opus AI "Where Magick Meets Machine Learning". Still quite a lot of things to do on my start up, but I got promps and agent instruction sets for you.

Creator of Experience & Manipulator of Reality

Dezra Diamond

Hi Dezra,

seems synergies are available. What's your team size and where are you incorporated?

Sincerely, Dan