mirror of
https://github.com/hanzoai/tasks.git
synced 2026-11-02 12:22:18 +00:00
snapshot/Cherrys-MacBook-Air-20260523
…
…
Introduction
Hanzo Tasks is a durable execution engine that powers AI agent orchestration in the Hanzo ecosystem. It enables developers to build scalable, fault-tolerant workflows that automatically handle intermittent failures and retry failed operations.
Tasks provides the backbone for:
- Playground spaces -- each space maps to a Tasks namespace
- Agent execution -- each agent runs as a Tasks worker
- Durable cron and batch jobs -- reliable scheduled and bulk operations
Fork of Temporal.io (MIT license).
Getting Started
Build
make tasksd
Run
./tasksd start
Or with a config file:
./tasksd --config-file config/development-sqlite.yaml --allow-no-auth start
Build from source
go build ./cmd/tasksd/
./tasksd start
Module
github.com/hanzoai/tasks
Integration
Hanzo Tasks integrates with the broader Hanzo ecosystem:
- Playground imports
go.temporal.io/sdk(the client SDK) and connects to the Tasks server - Base embeds Tasks for durable cron/batch execution
- Each playground space = a Tasks namespace
- Each agent = a Tasks worker
Repository
This repository contains the source code of the Hanzo Tasks server. To implement Workflows, Activities, and Workers, use the Temporal Go SDK or other supported language SDKs.
Architecture
See docs/architecture/README.md for server architecture details.
Contributing
See CONTRIBUTING.md for development setup and guidelines.
License
Languages
Go
85.4%
TypeScript
12.3%
ZAP
1%
Shell
0.6%
Dockerfile
0.4%
Other
0.2%