Skip to content
snowztechPublic

About

Run a company of AI employees, on your Mac.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

OneCorp

OneCorp

Run a company of AI employees, on your Mac.

Hire a team on Claude Code or Codex, give them tickets, watch them work in your real repo, and approve what ships.

onecorp.dev · Guide

CI Release License: MIT macOS Rust and Tauri

The Company page: departments as rooms of desks, each employee at work, with what needs you and a live feed on the right

Why

AI coding agents are good at a ticket. Running several of them on one product is where it gets messy: who's doing what, which branch, what did it cost, what needs a decision from you.

OneCorp gives that a shape you already know: a small company. Each agent is an employee with a name, a face, a role, a personality and a desk. They work in their own git worktree, ask their lead before they ask you, post in team chat, learn from your reviews, and hand you finished work as a pull request. You stay the founder: you decide what gets built and what ships.

Everything runs locally. There's no account and no server. Your agents use the Claude Code or Codex login you already have.

What it looks like

One inbox for everything that needs you. Plans to approve, questions with a default answer, work to review, runs that stopped.

The Inbox: a plan to start, a stopped run to retry, a blocking question with two answers, and a pull request to review

Every run, step by step. What they read, what they changed, the tests that failed and passed, the commit, and what it cost.

A ticket drawer: the agent's log, from reading the code to a failing test, a fix, a passing run and a commit

A board for the work. Projects with progress, tickets that wait for each other.

The Board, ticket columns from backlog to done, with project chips
Team chat. Channels per department, direct messages, and @mentions that get a reply.

Team chat in #general, the founder asking Tomás a question while he types
Projects, planned for you. Describe a feature, your planner breaks it into tickets with owners.

New project: Stripe billing, with a goal and a planner, next to the Board
A wiki everyone reads. Decisions and conventions, proposed by the team, approved by you.

The company wiki with a convention proposed by Lina waiting for approval
Employees who learn. Their personality, their current run, what they've learned and their tickets.

Tomás's profile: personality, the live run, notes he saved, and his tickets
Spending you can see. Today against a daily budget, two weeks of history, and who spent what.

Spending settings: today's spend, the daily budget, a two-week chart and spend per person
A team in a minute. Start from a template, each person with a role, an agent and a personality.

Onboarding: picking a starting team, each person with a role, department, personality and agent
Light or dark. It follows your Mac, or pick one in Settings.

The Company page in light mode

Install

brew install --cask snowztech/tap/onecorp

Or download OneCorp.dmg and drag OneCorp to Applications. macOS 11 or later, Apple silicon or Intel. After that, OneCorp updates itself: new versions download in the background, and a restart applies them.

Get started

1. Sign in to an agent. Your employees run on Claude Code, Codex, or both. You need at least one.

Agent Install Sign in
Claude Code npm install -g @anthropic-ai/claude-code claude
Codex npm install -g @openai/codex codex

2. Open OneCorp. Setup asks for your name, checks your agents, and sets up your company: its repo (a folder on your Mac, one of your GitHub repos, or a new one) and a starting team.

3. Give them work. Describe a project or write a ticket. Answer what lands in your Inbox, and approve what ships.

For pull requests, install the GitHub CLI and run gh auth login. GitLab works the same way with glab. Without either, approving merges on your Mac.

Everything else, from reviews and routines to spending and backups, is in the guide (docs/GUIDE.md in this repo).

What it costs: your agents' usage, nothing else. Every company has a daily budget ($10 to start) and every run shows what it spent. On a Claude or ChatGPT plan, when the usage limit is hit, work waits and picks up again by itself.

How it works

  • Tickets run in worktrees. Each ticket gets its own branch and git worktree, so your checkout is never touched. When the agent finishes, OneCorp commits the work under the employee's name, like Tomás Reis <[email protected]>.
  • Agents run headless. OneCorp starts claude -p or codex exec for each run, streams what they do, and resumes the same session when you answer a question or ask for changes.
  • They build and test. OneCorp reads your repo (Rust, Node, Python, Go, Ruby, Java, .NET, Swift, Elixir, PHP, Flutter and more) and lets employees run its build and test commands, so work comes back tested. Change the list in Settings.
  • Company tools over MCP. Each run gets a small MCP server with the company's tools: ask the founder, post in chat, create a ticket, propose a wiki change, remember something. Your own MCP servers stay out.
  • Leads answer first. Questions go to the department lead, who settles what the wiki and the code already decide and passes the rest to you with a reason.
  • A shared wiki and personal memory. Every ticket starts with the company wiki and the employee's own notes, so a decision made once is known by everyone.
  • Several repos. A company can work across an app, its api and a site. Each ticket happens in one repo, and the planner splits work that spans them.
  • Shipping. With a GitHub or GitLab remote, finished work opens a pull request and approving merges it. Otherwise approving merges on your Mac.

More in docs/ARCHITECTURE.md. Where it's going: ROADMAP.md.

Command line

Everything the app does, the onecorp command does too. Both run on the same library, so they always agree. For now it installs from source: clone the repo and run scripts/install.sh --cli (needs Rust).

onecorp doctor                                    # check git, the agents and your companies
onecorp new acme --repo ~/dev/acme --team startup # a company with a starting team
onecorp hire "Maya Okafor" --as engineer --personality warm
onecorp plan --brief "A notes app for writers"    # your team turns it into tickets
onecorp approve ACM-1                             # start the plan
onecorp run "add a --version flag" --to maya      # one ticket, right now
onecorp repo add ~/dev/acme-api --name api        # a second repo for the same company
onecorp inbox                                     # what your team is waiting on
onecorp answer 1 "go with 15 minutes"
onecorp diff ACM-2                                # what a ticket changed
onecorp changes ACM-2 "use a match instead"       # send it back, same session
onecorp approve ACM-2                             # merge it, or merge its pull request
onecorp say "@all standup in 5"                   # team chat
onecorp serve                                     # run queued work, several people at a time

onecorp help lists every command. Set ONECORP_HOME to keep data somewhere other than ~/.onecorp.

Build from source

You need Rust and Node.js 22.18 or later. The install script adds the Tauri CLI the first time.

git clone https://github.com/snowztech/onecorp && cd onecorp
scripts/install.sh   # the onecorp command, and OneCorp.app in ~/Applications
make demo            # the app on a throwaway home, to try things safely
make check           # lint, tests, and a walk through onboarding in Chrome
crates/core/   the onecorp library: everything that runs a company
crates/cli/    the onecorp command, a thin shell over the library
app/           the desktop app: Tauri, with its UI in TypeScript in app/ui, built by Vite
docs/          architecture, design rules, brand, screenshots

The UI also opens in a browser on sample data: run make ui, open http://localhost:1420, and add a hash like #inbox or #chat to jump to a screen.

Contributing

Issues and pull requests are welcome. Read CONTRIBUTING.md first: it's short.

Credits

The optional Lorelei faces are by Lisa Wischofsky and the Notionists faces by Zoish, both CC0, drawn with DiceBear (MIT). The OpenAI mark comes from Simple Icons (CC0). Claude Code and Codex are products of Anthropic and OpenAI. OneCorp isn't affiliated with either.

License

MIT

About

Run a company of AI employees, on your Mac.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages