Skip to content

yajatns/Feb27Hackathon

Repository files navigation

backoffice.ai

One AI that runs your entire back office. You talk. It handles the tools.

πŸ† Built at the Render x Friends Hackathon β€” Feb 27, 2026

🌐 Live Demo · API Docs


What is backoffice.ai?

Founders spend 40% of their time on operational busywork β€” hiring, compliance, payroll, IT provisioning. All manual. All fragmented across dozens of tools.

backoffice.ai replaces that with a team of autonomous AI agents. You tell it to hire someone. It handles everything β€” salary benchmarking, policy compliance, benefits enrollment, IT provisioning, system integrations β€” and explains every decision it makes.

How It Works

CEO: "Hire Sarah Chen as Senior Engineer, $180K, San Francisco"

πŸ€– Orchestrator β†’ Delegates to 5 specialist agents:

πŸ‘©β€πŸ’Ό Maya (HR)       β†’ Queries Senso for salary bands & onboarding policy
πŸ“Š Sam (Finance)    β†’ Researches market rates via Tavily ($131K-$204K range)
βš–οΈ Compliance       β†’ Checks labor regulations & internal policies
πŸ’» Alex (IT)        β†’ Provisions accounts via Yutori portal automation
πŸ”— Aria (Integrations) β†’ Syncs to Notion/Salesforce/Stripe via Airbyte

βœ… Final Decision: "APPROVE β€” salary within band, all checks passed"

Every agent is a real LLM with tools (not scripted functions). They reason independently, call real APIs, and explain their logic.


Key Features

πŸ€– Autonomous Multi-Agent Pipeline

  • Orchestrator decides which specialists to invoke using OpenRouter function calling
  • Each specialist has its own system prompt, tools, and multi-turn reasoning loop
  • Agents run in parallel where possible, sequentially when there are dependencies

🧠 Self-Improvement Loop

When a human overrides an agent's decision:

  1. Override recorded as LEARNED edge in Neo4j
  2. Local policy store updated immediately
  3. Cron detects patterns (3+ overrides same direction)
  4. Generates updated policy β†’ next hire gets smarter

πŸ•ΈοΈ System of Reasoning (Neo4j)

Every delegation, tool call, completion, and override is traced as a knowledge graph. Full auditability β€” when the CEO asks "why did you offer $195K?", we show the exact reasoning chain.

🚨 Red Flag Detection

Sam (Finance) cross-references salary offers against real market data. Lowball offers (>15% below market) are flagged as CRITICAL and blocked from proceeding.

πŸ”— 600+ System Integrations

Aria (Airbyte agent) discovers and connects to any system β€” Notion, Salesforce, Stripe, Jira, GitHub, and 600+ more via PyAirbyte.


Sponsor Integrations

Sponsor How We Use It Agent
OpenRouter Powers ALL agent LLM calls (Claude 3.5 Sonnet with function calling) All
Senso Policy knowledge base β€” salary bands, compliance, benefits. Self-improvement target Maya, Compliance
Neo4j Aura System of Reasoning β€” traces every delegation, tool call, override as a graph All
Tavily Real-time salary benchmarking from salary.com, ZipRecruiter, levels.fyi Sam
Yutori Portal automation for benefits enrollment & account provisioning Alex
Reka Vision API for document analysis and video compliance auditing Query endpoint
Airbyte Universal connector β€” 600+ systems, connector discovery & data sync Aria
Render Infrastructure β€” API (FastAPI), Dashboard (Next.js), PostgreSQL β€”

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    CEO / User                        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                       β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚   Orchestrator  β”‚ ← OpenRouter (Claude 3.5 Sonnet)
              β”‚   (LLM Agent)   β”‚
              β””β”€β”€β”€β”¬β”€β”€β”¬β”€β”€β”¬β”€β”€β”¬β”€β”€β”¬β”˜
                  β”‚  β”‚  β”‚  β”‚  β”‚
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚  β”‚  β”‚  └────────┐
         β–Ό           β–Ό  β–Ό  β–Ό           β–Ό
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β” β”Œβ”€β”€β” β”Œβ”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”
    β”‚  Maya   β”‚ β”‚Sam β”‚ β”‚βš–οΈβ”‚ β”‚Alexβ”‚ β”‚ Aria β”‚
    β”‚  (HR)   β”‚ β”‚(Fin)β”‚ β”‚  β”‚ β”‚(IT)β”‚ β”‚(Int) β”‚
    β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜ β””β”€β”€β”¬β”€β”˜ β””β”¬β”€β”˜ β””β”€β”€β”¬β”€β”˜ β””β”€β”€β”€β”¬β”€β”€β”˜
         β”‚         β”‚    β”‚      β”‚        β”‚
    β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β” β”Œβ”€β”€β–Όβ”€β”€β” β”‚  β”Œβ”€β”€β”€β–Όβ”€β”€β” β”Œβ”€β”€β”€β–Όβ”€β”€β”€β”€β”
    β”‚  Senso  β”‚ β”‚Tavilyβ”‚ β”‚  β”‚Yutoriβ”‚ β”‚Airbyte β”‚
    β”‚(Policy) β”‚ β”‚(Mkt) β”‚ β”‚  β”‚(Auto)β”‚ β”‚(600+)  β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”˜ β”‚  β””β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                    β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”
                    β”‚  Senso  β”‚
                    β”‚+ Tavily β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                         β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚      Neo4j Aura     β”‚
              β”‚  (Reasoning Graph)  β”‚
              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                         β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚   Self-Improvement  β”‚
              β”‚  Cron β†’ Senso Uploadβ”‚
              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Demo

AlexSaaS is our demo customer β€” a 50-person SaaS startup using backoffice.ai.

Try It Live

  1. Dashboard β†’ https://backoffice-dashboard-kqya.onrender.com
  2. New Hire β†’ Submit an employee β†’ Watch 5 agents reason autonomously
  3. Pipeline View β†’ See every agent's tools, reasoning, and decisions
  4. Neo4j Graph β†’ Visual trace of the entire reasoning chain
  5. Query β†’ Ask anything: "What's our salary band for engineers in SF?"
  6. API Docs β†’ https://backoffice-api-ep7k.onrender.com/docs

Tech Stack

Backend: Python, FastAPI, SQLAlchemy, asyncpg, PostgreSQL, httpx, Pydantic Frontend: Next.js 16, TypeScript, Tailwind CSS, vis-network AI: OpenRouter (Claude 3.5 Sonnet), function calling, multi-turn agent loops Data: Neo4j Aura (graph), PostgreSQL on Render (persistence) APIs: Senso, Tavily, Yutori, Reka, Airbyte (PyAirbyte) Infra: Render (3 services β€” Web API, Static Site, PostgreSQL)


Project Structure

β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ agents/           # AI agents (orchestrator, HR, finance, compliance, IT, airbyte)
β”‚   β”‚   β”œβ”€β”€ base.py       # BaseAgent β€” LLM reasoning loop with tools
β”‚   β”‚   β”œβ”€β”€ orchestrator.py # Orchestrator β€” delegates via function calling
β”‚   β”‚   β”œβ”€β”€ hr_agent.py   # Maya β€” Senso policy search
β”‚   β”‚   β”œβ”€β”€ finance_agent.py # Sam β€” Tavily salary benchmarking
β”‚   β”‚   β”œβ”€β”€ compliance_agent.py # Compliance β€” regulations + internal policy
β”‚   β”‚   β”œβ”€β”€ it_agent.py   # Alex β€” Yutori portal automation
β”‚   β”‚   └── airbyte_agent.py # Aria β€” 600+ connector discovery
β”‚   β”œβ”€β”€ integrations/     # API clients (OpenRouter, Senso, Tavily, Neo4j, Yutori, Reka, Airbyte)
β”‚   β”œβ”€β”€ models/           # SQLAlchemy models + Pydantic schemas
β”‚   β”œβ”€β”€ routes/           # FastAPI routes (hire, query, graph, override, chat, crons, airbyte)
β”‚   └── main.py           # App entry point
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ app/              # Next.js app router (dashboard, hire, graph, query)
β”‚   β”œβ”€β”€ components/       # React components (HireForm, PipelineView, GraphViewer, etc.)
β”‚   └── lib/              # API client + WebSocket
└── render.yaml           # Render Blueprint (Infrastructure as Code)

Setup

# Clone
git clone https://github.com/yajatns/Feb27Hackathon.git
cd Feb27Hackathon

# Backend
cp .env.example .env  # Fill in API keys
cd backend
pip install -r requirements.txt
uvicorn main:app --reload

# Frontend
cd frontend
npm install
npm run dev

Environment Variables

OPENROUTER_API_KEY=     # LLM calls (all agents)
SENSO_API_KEY=          # Policy knowledge base
NEO4J_URI=              # Graph database
NEO4J_USER=             # Graph auth
NEO4J_PASSWORD=         # Graph auth
TAVILY_API_KEY=         # Market research
YUTORI_API_KEY=         # Portal automation
REKA_API_KEY=           # Vision API
DATABASE_URL=           # PostgreSQL connection string

Team

Electrons in a Box πŸ”Œ

Member Role
Nag (@nagaconda) Product & Strategy
Yajat (@yajatns) Engineering Lead
Chhotu πŸ€– Frontend & Demo
Cheenu 🐿️ Backend & API

Yes, half our team is AI agents. That's the point.


License

MIT

About

autonomous agents hackathon repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors