cd /news/open-source/building-ai-digital-employees-with-m… Β· home β€Ί topics β€Ί open-source β€Ί article
[ARTICLE Β· art-5880] src=dev.to β†— pub= topic=open-source verified=true sentiment=↑ positive

Building AI Digital Employees with Markus: An Open-Source AI Workforce Platform

Markus is an open-source (AGPL-3.0) platform that functions as an operating system for creating and managing AI digital employees, allowing users to hire agents with specific skills and assign them autonomous tasks within a hierarchical organizational structure. The platform features a Kanban-style workflow with quality gates, five memory layers for persistent learning, and an agent-to-agent communication protocol that enables collaboration, delegation, and task execution without human intervention.

read6 min views17 publishedMay 21, 2026

I've been building software solo for a while. And if you've done the same, you know the pain: there's never enough time for everything. Code, review, docs, deployments, content, customer support β€” the list never ends.

I looked at AI copilots and assistants, but most of them are just chat wrappers. They don't do things autonomously. They don't remember context across sessions. They certainly don't collaborate with each other.

Then I found Markus β€” an open-source platform for building AI digital employees. Not another chatbot. A real multi-agent workforce you can deploy, manage, and grow.

Let's dig in.

What is Markus? #

Markus is an open-source (AGPL-3.0) AI Digital Employee Platform. Think of it as an operating system for your AI workforce. You define roles, hire agents with specific skills, give them projects and tasks, and they execute β€” autonomously, in parallel, with quality gates.

GitHub:github.com/markus-global/markus - Website:markus.global - License: AGPL-3.0 - Stack: Node.js, TypeScript, pnpm monorepo - Install: One command, no Docker required, zero config

curl -fsSL https://markus.global/install.sh | bash

That's it. No Docker. No PostgreSQL. No npm install. It ships as a standalone binary.

Key Concepts #

Markus has a clear, hierarchical organizational model that maps naturally to how real companies work.

Organizations, Teams, and Agents

Organization
  └── Team (e.g., "Engineering")
        β”œβ”€β”€ Agent: Developer (skills: typescript, react, api-design)
        β”œβ”€β”€ Agent: Reviewer  (skills: code-review, testing)
        └── Agent: DevOps    (skills: docker, ci-cd, terraform)

Organization: Your company or project. Top-level container. - Team: A group of agents with a shared mission and governance rules. - Agent: An AI employee with a role, skills, memory, and workspace. - Skills: Composable capabilities β€” file I/O, git, web search, MCP servers, or any custom tool.

Projects and Tasks

Work flows through a Kanban-style system:

Requirement β†’ Task (with review) β†’ Subtask β†’ Deliverable

Every task has an assignee, a reviewer, and quality gates (build, lint, test). Nothing ships without review.

Memory System

This is where Markus stands out from most agent frameworks. It has five memory layers:

Session Memoryβ€” Active conversation context - Working Memoryβ€” Current task state and priorities - Daily Logsβ€” What happened today, date-stamped - Long-term Memoryβ€” Facts, procedures, learnings that persist across restarts - Identity Memoryβ€” The agent's own character, goals, and behavioral rules

This means agents actually learn. If a developer agent figures out a better way to structure a project, it remembers β€” even after a restart.

A2A (Agent-to-Agent) Protocol

Agents talk to each other. Not through shell commands β€” through a structured communication protocol. A Developer agent can ask a Reviewer agent for a code review. A PM agent can assign tasks to a Writer agent. They coordinate, delegate, and escalate.

Getting Started #

Let's walk through a realistic onboarding flow.

1. Install and Start

curl -fsSL https://markus.global/install.sh | bash
markus start

A dashboard opens at http://localhost:3000

. The system comes with a built-in Secretary agent that handles onboarding.

2. Define Your Organization and Team

You can use pre-built team templates (there are 5 out of the box) or build custom ones. The Secretary agent guides you through the setup conversationally.

3. Hire Agents

Agents are hired with specific roles and skills. Markus ships with 20+ built-in agent roles including Developer, Reviewer, QA Engineer, Writer, Researcher, SEO Agent, and more.

// Conceptual: Hiring a developer agent via the API
const agent = await markus.hireAgent({
  name: "Alice",
  role: "developer",
  team: "engineering",
  skills: ["typescript", "react", "api-design", "testing"],
  llm: {
    provider: "anthropic",
    model: "claude-sonnet-4-20250514"
  }
});

4. Create a Task

Work starts as a requirement, which gets broken into tasks.

// Conceptual: Creating a task through the API
const task = await markus.createTask({
  title: "Implement user authentication API",
  description: "Build JWT-based auth endpoints (login, register, refresh, logout)",
  priority: "high",
  assignedTo: "Alice",
  reviewer: "Bob",
  requirements: [
    "POST /auth/register - create user account",
    "POST /auth/login - return JWT tokens",
    "POST /auth/refresh - refresh access token",
    "POST /auth/logout - invalidate refresh token"
  ],
  qualityGates: ["lint", "test", "build"]
});

The system handles lifecycle automatically: task starts β†’ agent works β†’ submits for review β†’ reviewer approves or requests changes β†’ done.

5. Monitor and Review

The dashboard shows real-time progress. You can see which agents are working, what they're producing, and intervene when needed.

Architecture Highlights #

Let's talk about what's happening under the hood.

Monorepo Structure

packages/
  core/           # Agent runtime, heartbeat, workspace isolation
  org-manager/    # REST API, governance, task lifecycle
  web-ui/         # React dashboard, Agent Builder, Chat UI
  storage/        # SQLite / PostgreSQL adapters
  a2a/            # Agent-to-Agent protocol
  comms/          # Feishu, Slack, WhatsApp bridges
  cli/            # Command-line interface
  shared/         # Types, constants, utilities
  gui/            # VNC-based GUI automation

Local-first by default with SQLite. PostgreSQL for production. No external dependencies for local dev.

Heartbeat Architecture

Each agent runs on a heartbeat β€” a periodic cycle where the agent checks its queue, picks up work, and executes. This is how agents stay "always on" without keeping an expensive LLM connection open.

LLM Provider Abstraction

You can plug in any LLM provider β€” Anthropic, OpenAI, Google, DeepSeek, MiniMax, or run Ollama locally. There's a circuit breaker with automatic fallback.

// Conceptual: LLM provider configuration
{
  "providers": {
    "primary": { "provider": "anthropic", "model": "claude-sonnet-4-20250514" },
    "fallback": { "provider": "openai", "model": "gpt-4o" }
  },
  "circuitBreaker": {
    "failureThreshold": 3,
    "resetTimeoutMs": 60000
  }
}

Self-Evolving Agents

Agents can learn from experience and even create new skills. If a Developer agent notices it repeats the same pattern, it can abstract that into a reusable skill. Over time, your workforce becomes more capable without manual intervention.

Use Cases #

Solo Founder Shipping Features Overnight

Describe a feature to the Secretary agent. It spawns a PM agent who breaks it into subtasks. A Developer agent writes code. A Reviewer agent checks for issues. By morning, it's merged.

Content Pipeline That Never Stops

A Researcher agent scans 200+ sources for trends. A Writer agent produces articles. An Editor agent refines tone. An SEO agent optimizes. All posted to X/Twitter, LinkedIn, Zhihu, Xiaohongshu β€” automatically.

Incident Response in Minutes

Monitor flags an anomaly. An Analyst agent correlates logs. A Triage agent classifies severity. A Developer agent pushes a hotfix. A Reviewer agent approves in under 3 minutes.

Why Open Source Matters #

You own your dataβ€” local-first SQLite, no data leaves your infrastructure - No API taxβ€” bring your own LLM API keys - Extensibleβ€” add custom skills, new agent roles, custom bridges - Community-drivenβ€” 20+ roles and growing, contributed by real users

Getting Involved #

Star the repoβ€”github.com/markus-global/markus - Try itβ€”curl -fsSL https://markus.global/install.sh | bash

Join the communityβ€” the project is actively developed with real users shipping real work

I've been running Markus for a few weeks now. The "describe and approve" workflow takes some getting used to β€” it feels weird to not micromanage. But the productivity boost is real. My solo output now looks like what a small team would ship.

Give it a shot. Your future AI employees are waiting to be hired.

── more in #open-source 4 stories Β· sorted by recency
── more on @markus 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/building-ai-digital-…] indexed:0 read:6min 2026-05-21 Β· β€”