Cafes, shops, clinics and workshops still track attendance in paper books, shared spreadsheets or a fingerprint machine at one door, and someone turns those records into overtime pay by hand at the end of the month. Absentra moves clock-in to each employee's own phone, flags doubtful records for the owner instead of refusing them, and applies the Indonesian overtime rules in the payroll recap.
The problem
Many small businesses still track attendance in a paper book, a shared spreadsheet or a fingerprint machine at the door. The book and the spreadsheet are easy to fill in for a friend, and a fingerprint machine costs money, sits in one place and does not help a business with several outlets.
At the end of the month someone has to turn those records into pay. Indonesian overtime is not a flat rate: PP 35/2021 sets the hourly wage at the monthly wage divided by 173, with different multipliers for the first hour, later hours, rest days and public holidays, and different tiers for 5 and 6 day weeks. Done by hand, it is slow and easy to get wrong.
Phone attendance has its own trap. Browser GPS can be weak indoors, and a strict app that refuses every doubtful clock-in punishes honest workers. The owner needs to see doubtful cases and decide, not have the app decide for them.
| Before | With Absentra |
|---|---|
| BeforeA paper book or a fingerprint machine at one door | With AbsentraEach employee clocks in from their own phone, at any branch with its own fence |
| BeforeAnyone can sign the book for a friend | With AbsentraLocation and a selfie on every clock-in, with a trust score the owner can review |
| BeforeOvertime pay worked out by hand at month end | With AbsentraA payroll recap that applies PP 35/2021, late deductions and meal allowance |
| BeforeShift rotations a paper book cannot keep straight | With AbsentraShift templates assigned in bulk, with each employee's schedule on their phone |
| BeforeThe owner opens a dashboard to find out who is late | With AbsentraThe owner can ask an AI agent, and any change it makes is confirmed first |
Who uses it
| Who | What they do |
|---|---|
| WhoOwner | What they doSets up the company, branches with their fence, divisions, shifts and wages, approves requests, reads the dashboard and runs the payroll recap |
| WhoHR or branch admin | What they doManages employees and schedules and decides leave and overtime, limited to the branches in their scope |
| WhoEmployee | What they doClocks in and out from a phone, sees the next two weeks of shifts and their own history, and requests leave or overtime |
| WhoThe owner's AI agent | What they doConnects over MCP to answer questions such as who has not clocked in, prepares recaps, and decides requests only after the owner confirms |
From setup to payroll
The phone gives instant feedback, but the server makes every decision.
Set up
Business, work week, first location and hours
Invite
Staff join by email, link or QR and give consent
Clock in
Location and a selfie from the phone
Score
Fence check, trust score, on time or late
Approve
Leave, overtime and automatic overtime drafts
Recap
Payroll numbers exported to CSV
A new owner goes through a four-step wizard: the business and its work week (5 or 6 days, which selects the overtime tier), the first work location from the phone's position or a pasted Google Maps link with a radius slider, the working hours, and a ready screen that leads to inviting staff. Time zones cover WIB, WITA and WIT. A person who opens an invite link joins as staff instead of creating a company.
The landing page served by the app itself.
Clocking in from the phone

The employee screen is built for a low-end phone, and there is nothing to install. Clocking in is a short sequence: check today's shift, get the location, take a selfie, review, send.
- Distance from the branch point and GPS accuracy are shown before sending.
- The selfie comes from the front camera and is shrunk on the phone before upload.
- Without signal, the clock-in is kept on the phone with its real time and an idempotency key, so a retry never makes a second record.
- Location and photos are collected only after the employee gives consent.
The server then checks the fence, scores the clock-in and marks it on time or late against the shift. Flag, do not block is the rule: each clock-in gets a trust score from 0 to 100, and weak GPS or a position outside the fence lowers the score and puts the record on the owner's review list. The owner opens it and sees the photo, position, accuracy and the reasons it was flagged.
Inside the product
The home screen answers the owner's first question of the day: who is in, who is late, who has not clocked in, who is on leave and who works overtime, filtered by branch, with a seven-day chart of presence and lateness. Opening someone else's photo and location is written to the audit log.
Overtime by the rule book
The payroll recap turns a period of attendance into the numbers needed to pay wages: days present, late minutes and deductions, meal allowance, approved overtime hours and overtime pay. The hourly wage is basic wage plus fixed allowance divided by 173, and the PP 35/2021 multipliers follow the day type: workday, weekly rest, public holiday or shortest workday. Only approved overtime and approved leave count. A worked example, a monthly wage of Rp4,000,000 with 2 hours of overtime giving Rp80,924, is asserted in the server test suite.
The owner's agent, with a confirmation step
Absentra exposes the same data to AI agents through an MCP server with 30 tools (17 read-only and 13 that write), 5 read-only resources and 3 workflow prompts for onboarding a company, a weekly review and running payroll. After purchase, AgentBuff connects the app to the owner's own agent on its own, so the owner can ask "who has not clocked in today" from chat without copying a token. Other MCP clients get a token with chosen scopes, optionally limited to some branches.

How an agent changes data
- The agent calls a write tool without a token.
- The server returns a preview and a single-use token.
- The agent shows the preview to the owner.
- The same call with the token runs the change.
- The call is written to the audit log as an agent action.
An agent's own confirm flag proves nothing, so the token is bound on the server to the tool, the exact arguments and the preview the owner saw. A connection is limited to 20 calls per minute, every write and every read of attendance or payroll data is audited, and the owner can revoke a connection at any time.
How it is built
I designed and built Absentra as a business app on the AgentBuff marketplace. It is a TypeScript monorepo: a React 18 app built with Vite, and an Express API with SQLite that also serves the built app and the MCP endpoint from one Node process on one port. In a local run on 26 Nov 2026, 238 server tests and 43 web tests passed, and the type checks passed for both packages.
One permission check
Every REST route and every MCP tool calls the same can() function, so an agent has no path the web app does not have.
Company scope
Every tenant table carries company_id, and each route takes the company from the session, never from the request.
Pure domain engines
Geofence, trust scoring, the clock-in steps and the PP 35/2021 payroll are plain functions shared by the phone and the server.
Hardened sessions
httpOnly cookies, rotating refresh tokens that revoke the whole family on reuse, a strict CSP and a CSRF origin guard.
Privacy by default
Location and photos only after consent, photos erased after the retention period, and viewing another person's record audited.
Small to run
One Docker image and one database file on a volume, with a maintenance job every 6 hours for expired photos and sessions.
Attendance your team already carries
Absentra is live at absentra.agentbuff.id, and the repository on GitHub shows how it is built.
Questions people ask
- A web attendance app for Indonesian small businesses on the AgentBuff marketplace: clock-in from the phone with location and selfie, shifts, leave and overtime, and a payroll recap under PP 35/2021.
- No. Employees use the browser on their own phone, on Android or iPhone, with no fingerprint machine.
- The clock-in is still recorded, but with a lower trust score, and it appears on the owner's review list with the photo, position and reasons. The owner decides.
- No. Every write needs a single-use confirmation token bound to the exact arguments and the preview the owner saw, and every agent action is audited.





