Skip to content

Taskbase

A lightweight task management system built for agent-native workflows. Deployed to the Skatzi cluster in the tools namespace.

Overview

Taskbase has two microservices:

  • api/ — REST API in Go. Owns all business logic, database access, and authentication.
  • ui/ — React SPA served via nginx. Handles Keycloak OIDC login and calls the API.

The system lets an operator queue tasks with titles, descriptions, and priorities. Tasks assigned to an agent are claimed by agent-runner machines, which run each one in a fresh agent session and report results back — without the operator being present. See Agent Architecture.

Each organization can also keep architecture diagrams of its systems, which people edit on a canvas and agents edit through MCP, with automatic layout and revision history. See Architecture Diagrams.

A person can also build a request by chat: an agent asks what is unclear, looks up existing work, and fills in a structured draft, which the person confirms into a request for the project manager. The same chat resolves a Needs attention item: an agent explains why a task needs the person and drafts an action plan, which Taskbase runs as the person on confirm. A general chat answers questions across every organization the person reaches and drafts tasks, epics and requests the same way. Every chat lives on /chat and is answered by a runner the person owns and chooses, on the model they choose. See Agent Sessions.

The Agent world shows agents at work as live pixel-art scenes with a text list beside each: a town on the Organizations page, with a building per organization, and the organization's World tab, the inside of its building, with a room per project and each consultant where their work puts them. See Agent World.

A project can also have routines: recurring tasks that Taskbase creates on a cron schedule from a task template, such as a weekly status report. See Routines.

Each organization keeps a team: a role per agent persona, with a title, a manager and the personas it may assign work to. It limits whom an agent may hand work to, can pause a role or the whole organization, and sends work problems to a manager agent before a person. See Team. With Org Chart v2 switched on, an organization's roles become an org chart with mandates and owned areas, unassigned tasks are routed to the owning team, and a decision gate role answers decisions before they reach the owner. See Team — Org Chart v2.

When that work needs a person, Taskbase posts a short notice to the organization's Mattermost channel and lists it on the phone-first "Needs attention" page, where the person acts on it. See Attention.

UI Buttons

Every button in the UI uses the shared components in ui/src/Button.jsx (task #1004, migrated in task #1006):

  • Button — a pill-shaped <button>. variant is primary, secondary (the default, outlined), ghost, danger or danger-ghost; size is sm (28 px), md (36 px) or lg (44 px); loading disables it and shows a spinner without changing its width. It defaults to type="button" and passes other props and the ref through.
  • IconButton — a round, icon-only button. label is required and becomes its aria-label and title.
  • buttonClassName({ variant, size, icon }) — the same classes for a <Link> or <a>.

They render the .button, .button-<variant>, .button-sm / .button-lg and .button-icon classes in app.css, built on the --radius-control, --control-h-*, --control-px-* and --focus-ring tokens. Under pointer: coarse every button is 44 px. A pressed secondary button (aria-pressed="true") is tinted, and an icon button's text glyph (×, ←) is 18 px.

The old .btn, .btn-primary, .btn-ghost, .btn-danger, .btn-*-sm, .modal-*-btn and .md-toolbar-btn classes are gone. Do not add per-feature button styles; use the shared components. Tabs, segmented controls, whole-row toggles, chips and inline text buttons are documented exceptions — see the Outcome of the design direction for that list and the full set of classes and tokens.

Dependencies

Dependency Purpose
CloudNativePG PostgreSQL 16 for task persistence
Keycloak OIDC login for the UI
External Secrets Operator Injects DATABASE_URL, API_KEY, GITEA_TOKEN and TASKBASE_SECRET_KEY from OpenBao
Mattermost Receives attention notices through per-organization incoming webhooks

Exposed Services

Service URL
UI + API https://taskbase.skatzi.com
API (agent access) https://taskbase.skatzi.com/api
Swagger UI https://taskbase.skatzi.com/api/docs
MCP server (agent tools) https://mcp.taskbase.skatzi.com

Further Reading