Chronologic, an AI chief of staff
Users described a routine in plain English and Chronologic built an AI agent that ran it in their Google and Microsoft accounts. I built most of it and took it to Azure.
- Role
- Founding Engineer
- When
- Feb – Jun 2025
The problem
People lose hours to routines that span their apps: pulling a weekly report from a spreadsheet, scheduling around a calendar, sending the same follow-ups. Automation tools can do this, but only if you build the workflow yourself, step by step. Chronologic's idea was to let you describe the routine in plain English and have an AI build and run it for you.
What I built
The product, end to end, and its deployment. A user describes what they want, and Chronologic turns it into an editable plan and then into a "specialist": an agent team that runs on a schedule or a trigger, working in the user's Google and Microsoft accounts. I wrote 382 of the repository's 400 commits: the backend, the agent system, the job queue, the account connections, all of the Azure and CI work, and most of the frontend. Another engineer built early tools and the dashboard's design.
How it works
- A chatbot and a "prompt breaker" turn the request into a task graph the user can review and edit before anything runs.
- Each specialist is a LangGraph hierarchy: a supervisor delegates to team leads, which delegate to expert agents with 16 tools across Google Calendar, Gmail, Docs, Sheets and Maps, and Outlook Calendar.
- Slow work never blocks a request. The API puts jobs on Redis and Celery workers pick them up, with four queues: building plans, running specialists, checking triggers, and maintenance. A scheduler checks every minute for specialists that are due.
- Users connect Google and Microsoft through OAuth. Plans have daily and monthly run limits, enforced on the backend and reset by the maintenance queue.
- About 50 API routes and 38 unit tests on the backend.
- In production the frontend, API and workers each run as their own container on Azure Container Apps, with Azure Database for PostgreSQL and Azure Cache for Redis. Connection strings come from environment variables, never from the repository.
What broke and how I caught it
Getting it onto Azure took three tries over ten weeks.
App Service. I started with Azure's App Service, using the workflow the Azure portal generates. Its build passed and its deploy failed, a dozen times over three days. Each failure log showed a different problem. The workflow installed dependencies from the repository root, but the code lived in a subfolder. The server ran FastAPI under plain gunicorn without the async worker it needs. And my startup scripts had Windows line endings and lost their execute permission on the way. I fixed each one, and wrote down the steps for the next person.
Container Apps, first pass. App Service is built to run one web app, and the Celery workers aren't web servers, so I moved everything to Container Apps, one container per service. The worker deploy then failed within 34 seconds, every time. It never got past logging in to Azure, because it was using credentials created for the App Service. Once it logged in, it turned out the worker was created with a public port, which a worker doesn't need. And the auto-generated pipeline built the worker from the API's Dockerfile, so the "worker" started the API.
What fixed it. A separate worker image, multi-stage builds, SSL for Postgres and Redis (including escaping special characters in the database password), and a release script that builds all three images, tags them with a timestamp and pushes them to the container registry. I turned off the broken auto-generated pipelines; they showed one last burst of failures in June, caused by disabling them, not by a deploy.
The lesson I kept: let each service fail on its own. Separate images and separate pipelines meant every red build pointed at one service and one cause.
Result
- Live at app.chronologic.me on Azure Container Apps for a small invite-only beta, under ten users.
- The team then turned what it learned into Sckry, where I led engineering.
Built with
Built with Python, FastAPI, LangGraph, Celery, Redis, PostgreSQL, Next.js, Docker, Azure Container Apps, GitHub Actions