AutoMagik - Automated workflow management with LangFlow integration
Project description
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:
- Swagger UI: http://automagikurl:8888/api/v1/docs
Next Steps
- If you installed LangFlow, visit http://localhost:17860 to create your first flow
- Use the API at http://localhost:8888/api/v1/docs to manage your flows and tasks
- Try out the CLI commands with
automagik --help - Monitor task execution through logs and API endpoints
Roadmap
AutoMagik's future development focuses on:
- TBA
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file automagik-0.2.1.tar.gz.
File metadata
- Download URL: automagik-0.2.1.tar.gz
- Upload date:
- Size: 65.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8c4c9550a00993acc88f5f5e92c0f9d8292dcdf0709aa1f96ebab22070359ce
|
|
| MD5 |
4629c893de896e41f590ffaa0bc36b24
|
|
| BLAKE2b-256 |
617084fe3e5579e7dad96ac0917c21405f3d694bfef5afa0cde667deb2592578
|
Provenance
The following attestation bundles were made for automagik-0.2.1.tar.gz:
Publisher:
publish-pypi.yml on namastexlabs/automagik
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
automagik-0.2.1.tar.gz -
Subject digest:
d8c4c9550a00993acc88f5f5e92c0f9d8292dcdf0709aa1f96ebab22070359ce - Sigstore transparency entry: 172034030
- Sigstore integration time:
-
Permalink:
namastexlabs/automagik@f095f71198aa6f94efaa15f8fee0a285992835e9 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/namastexlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f095f71198aa6f94efaa15f8fee0a285992835e9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file automagik-0.2.1-py3-none-any.whl.
File metadata
- Download URL: automagik-0.2.1-py3-none-any.whl
- Upload date:
- Size: 77.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c4013c8cca647aa9a27ae277ccf75141dd44aec9805c47ced977df39653c567
|
|
| MD5 |
2df1129941918c4be2ae6949f22c6ccd
|
|
| BLAKE2b-256 |
a1cb5aadf3c2968f06378bf093e96eae9d713edadda11e775e28698011261967
|
Provenance
The following attestation bundles were made for automagik-0.2.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on namastexlabs/automagik
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
automagik-0.2.1-py3-none-any.whl -
Subject digest:
4c4013c8cca647aa9a27ae277ccf75141dd44aec9805c47ced977df39653c567 - Sigstore transparency entry: 172034035
- Sigstore integration time:
-
Permalink:
namastexlabs/automagik@f095f71198aa6f94efaa15f8fee0a285992835e9 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/namastexlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f095f71198aa6f94efaa15f8fee0a285992835e9 -
Trigger Event:
release
-
Statement type: