Skip to main content

AutoMagik - Automated workflow management with LangFlow integration

Project description

AutoMagik Logo

Because magic shouldn't be complicated.

AutoMagik is an agent-first automation engine that seamlessly integrates with multiple LangFlow instances. Deploy AI-driven flows, schedule one-time or recurring tasks, and monitor everything with minimal fuss—no coding required.

Create agents using natural language with our dedicated UI available at AutoMagik UI.


Installation

AutoMagik provides two setup options: local production and development environment.

Prerequisites

  • Linux-based system (Ubuntu/Debian recommended)
  • Docker and Docker Compose (will be installed automatically on Ubuntu/Debian if not present)

Local Production Setup

For a production-ready local environment:

./scripts/setup_local.sh

Development Setup

For development with postgres and redis docker containers:

./scripts/setup_dev.sh

Both setup scripts will:

  • Create necessary environment files
  • Install Docker if needed (on Ubuntu/Debian)
  • Set up all required services
  • Install the CLI tool (optional)
  • Guide you through the entire process

Once complete, you'll have:

  • AutoMagik API running at http://localhost:8888
  • PostgreSQL database at localhost:15432
  • Worker service running and ready to process tasks
  • CLI tool installed (if chosen)

Verify Installation

The setup script automatically verifies all services. You can also check manually:

# Access API documentation
open http://localhost:8888/api/v1/docs  # Interactive Swagger UI
open http://localhost:8888/api/v1/redoc # ReDoc documentation

# List flows (if CLI is installed)
source .venv/bin/activate
automagik flow list

What's Included

  • API Server: Handles all HTTP requests and core logic
  • Worker: Processes tasks and schedules
  • Database: PostgreSQL with all required tables automatically created
  • LangFlow (optional): Visual flow editor for creating AI workflows
  • CLI Tool (optional): Command-line interface for managing flows and tasks

Development Setup

For development, use the development setup script instead:

./scripts/setup_dev.sh

This will:

  • Set up a development environment with additional tools
  • Configure git hooks for code quality
  • Install development dependencies
  • Use development-specific configurations

Project Structure

flowchart LR
    subgraph Services
      DB[PostgreSQL]
      LF1[LangFlow Instance 1]
      LF2[LangFlow Instance 2]
    end
    subgraph AutoMagik
      CLI[CLI]
      API[API Server]
      CW[Celery Worker]
      W[Worker]
    end
    API -- uses --> DB
    API -- triggers --> CW
    W -- processes --> API
    API -- integrates with --> LF1
    API -- integrates with --> LF2
    CLI -- controls --> API
    API -- has UI --> UI[Automagik UI]
  • API: Core service handling requests and business logic
  • Worker: Processes tasks and schedules
  • CLI: Command-line tool for managing flows and tasks
  • PostgreSQL: Stores flows, tasks, schedules, and other data
  • LangFlow: Optional service for creating and editing flows

API Endpoints

For complete API documentation, visit:

Next Steps

  1. If you installed LangFlow, visit http://localhost:17860 to create your first flow
  2. Use the API at http://localhost:8888/api/v1/docs to manage your flows and tasks
  3. Try out the CLI commands with automagik --help
  4. Monitor task execution through logs and API endpoints

Roadmap

AutoMagik's future development focuses on:

  • TBA

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automagik-0.2.0.tar.gz (63.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

automagik-0.2.0-py3-none-any.whl (75.3 kB view details)

Uploaded Python 3

File details

Details for the file automagik-0.2.0.tar.gz.

File metadata

  • Download URL: automagik-0.2.0.tar.gz
  • Upload date:
  • Size: 63.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for automagik-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7d053fd3e608f9d5017e4f4d1cbb44e70d9b1bff06fab93b28e7fadcf0d9e693
MD5 a970f00f89f94a32b299476b1b287c2b
BLAKE2b-256 2996be8f456aee0c2cd4bd0b66fbd9eb1f0350c4ff477043cf2975c3ef21fda1

See more details on using hashes here.

File details

Details for the file automagik-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: automagik-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 75.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for automagik-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c27447f1e7514db5394ef660fa35f49c2a39428b0d1ae153f68eca34870e635
MD5 ab060e45970b102f77613992b9bc0bb8
BLAKE2b-256 8b11f6ac3b65c3c04d59a2205e7ce5d2ac43733012b89273eb3146e05fd49405

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page