Vekrun AI Factory
Give it an outcome.Get engineering, not just code.
An intelligent engineering team that plans, builds, tests, repairs and delivers software. Coordinated by Vekrun. Directed by you.
Your models · Your infrastructure · Your engineering standards
Your outcome
Add team billing with per-seat subscriptions, invoices and permissions.
Agreed outcome
- Owners and admins can add and remove seats
- Invites stop at the seat limit, even when sent at once
- Invoices list every seat change
- Annual plans prorate correctly
- Only owners and admins see billing
- Existing subscriptions are unchanged
Plan · 4 Work Items3 in parallel
- Billing APIDone
- Database migrationDone
- Seat permissionsRepaired · verified
- Team settings UIDone
Team settings UI waits for the Billing API and the migration.
Independent verification
Outcome verified · 6 of 6
Concurrent invites exceeded the seat limit. Returned to Seat permissions, repaired, re-checked.
Team billing · Settings
Seats10 of 10
Invite a teammateSeat limit reached
PlanAnnual · prorated
Pull request #512
Add team billing with seats, invoices and permissions
4 Work Items · waits for your review
Proof Pack
6 of 6 criteria verified
412 tests · 6 screenshots · independent review · a41c9e2
You define the outcome. Vekrun coordinates the engineering. You review the evidence.
One front door for all your engineering work
Work comes from everywhere. It moves forward here.
Start from a sentence, a ticket, a production error, a client’s Live Share comment, a Claude Code or Codex session, or a design. Its context arrives with it, next to your skills, references and attachments. You don’t restructure how you work; the Factory becomes where it all gets done.
Typed or dictated in Vekrun
Describe the outcome
- Plain language, as you’d brief a colleague.
- Vekrun asks when something important is unclear.
Linear · ENG-482
Team billing for the portal
- Per-seat subscriptions with monthly and annual plans.
- Acceptance: admins manage seats; invoices list changes.
Honeybadger · 14 occurrences
SeatLimitExceeded in InvitesController#create
- app/controllers/invites_controller.rb:18
- First seen after release 3f0d2aa
Live Share · client review
“The seat count doesn’t update after I invite someone.”
- Pinned on Billing settings, iPhone 15
- Waiting for a developer to accept
Guests suggest. Only a developer starts work, within your project’s policies.
Claude Code · handed off through MCP
Continue team billing in the Factory
- The plan and constraints from your session
- 4 files already identified
Figma · Team billing
Billing settings frame
- Seats, plan and invoice history
- With the spec it was designed against
AI Factory
Add team billing with per-seat subscriptions, invoices and permissions.
Implement ENG-482: team billing with seats, invoices and permissions.
Fix the seat-limit error teams hit when inviting teammates.
Update the seat count as soon as an invite is sent.
Take the team billing plan from my Claude Code session and build it.
Build the billing settings from the Figma frame and the spec.
- Skill/rails-conventions
- Reference@app/models/team.rb
- Attachmentbilling-rules.pdf
- TicketENG-482
- Context3 acceptance notes
- Reference@app/models/team.rb
- ErrorStack trace
- Release3f0d2aa
- Reference@invites_controller.rb:18
- FeedbackPinned screenshot
- Page/settings/billing
- DeviceiPhone 15
- HandoffPlan and constraints
- Files4 identified
- AgentClaude Code
- DesignBilling settings frame
- Documentbilling-spec.pdf
- Skill/design-system
Adaptive intelligence
Not every task needs an engineering committee.
The Coordinator sizes every request. A small fix goes straight to work. A complex project gets architecture analysis, clarifying questions, the Council and dependency-aware Work Items. Appropriate intelligence, not maximum agent usage.
Request
Change “Save” to “Save changes” on the billing settings page.
Coordinator
Small and low-risk
One agent, a direct path, and still independently verified.
Request
Show each seat change on the team’s invoices.
Coordinator
A contained feature
Scope and requirements first, then a plan sized to the work.
Request
Add team billing with per-seat subscriptions, invoices and permissions.
Coordinator
Complex: billing, data and permissions
More reasoning, coordination and verification, because this work needs it.
The agreed criteria travel with the work, through planning, execution, retries and recovery.
- Understand the requestOne file, one stringInvoices and seat eventsFour areas of the portal
- Engineering MemoryHow invoices are built today3 decisions and a verified lesson
- Architecture analysisBilling, accounts, jobs and the web app
- Clarifying questionsShould annual plans prorate? You answer: yes
- Council deliberationConcurrent invites could exceed the seat limit
- Acceptance criteria1 criterion3 criteria6 criteria, one from the Council
- Plan2 Work Items in order4 Work Items, dependencies mapped
- ImplementationOne agent2 Work Items3 in parallel, 1 waits for its prerequisites
- Independent verificationA quick, focused checkEvery criterion checkedEvery criterion, regressions and the browser
- DeliveryA small pull requestPull request with evidencePull request with its Proof Pack
Better decisions before implementation
Let different minds challenge the same problem.
Models from different AI developers examine the plan before anyone writes code. One proposes, another finds the weakness, a third fixes it, and the objection becomes an acceptance criterion the finished work must prove.
ClaudeProposes
A dedicated billing service owns subscriptions and seats, so the rest of the app never counts seats itself.
GrokChallenges
Two invites sent at the same moment can both see a free seat. As planned, a team can exceed its limit.
Local modelAmends
Check and take the seat inside one transaction, and prove it with invites sent in parallel.
Engineering planVersion 2
How should team billing enforce per-seat subscriptions?
- Count seats in each controller
- A billing service owns subscriptions and seats
- Concurrent invites can exceed the seat limitResolved
- Seat limit enforced transactionally, with a concurrency test
- Acceptance criterion: invites stop at the seat limit, even when sent at onceFrom the challenge
A stronger decision. The objection that changed it stays on the record.
Parallel engineering, coordinated intelligently
More work moving forward. Less work managing it.
Independent Work Items run at the same time. Dependent work waits for what it needs. Everything integrates in order, and when verification finds a gap, only the work responsible goes back. Open any stage to see its goal, agent, files and evidence.
AI Factory MapTeam billing · acme/portal
4/4 Work Items done6/6 criteria verified
The verified outcome becomes pull request #512, ready for your review with its Proof Pack.
Agreed outcome6 criteria agreed
- Asked for
- Team billing with seats, invoices and permissions
- Acceptance criteria
- 6, agreed with you before work started
- Includes
- Concurrent invites can’t exceed the seat limit
Adaptive plan4 Work Items · 1 waits
- Depends on
- The prepared environment
- Coordinator
- Splits the outcome into Work ItemsPlanning…Split the outcome into 4 Work Items
- Dependencies
- Mapped while planningTeam settings UI waits for the Billing API and the migration
- Engineering Memory
- Recalled while planning3 decisions and 1 verified lesson recalled
EnvironmentRails · Postgres · Redis
- Depends on
- The agreed outcome
- Prepares
- Dependencies, test database and services
- Detected
- Read from the repositoryReading the repository…Rails 7.2 · PostgreSQL 16 · Redis
- Baseline
- The existing tests, before any change412 existing tests passing before any change
Billing API31 tests passing
- Depends on
- The plan
- Goal
- Subscriptions, seats and plan changes behind one API.
- Agent
- Vekrun agent
- Planned checks
- Unit and request tests for subscriptions and seats
- Progress
- QueuedBuilding in its own VM…Done · commit collected
- Result
- Reported when it finishes31 tests passing
- Files
- Listed when the work is collected
app/models/subscription.rbapp/controllers/billing_controller.rbtest/models/subscription_test.rb
Database migrationRollback rehearsed
- Depends on
- The plan
- Goal
- Seats and invoice lines in the schema, reversibly.
- Agent
- Codex
- Planned checks
- Migrate and roll back on a copy of the data
- Progress
- QueuedBuilding in its own VM…Done · commit collected
- Result
- Reported when it finishesRollback rehearsed on a copy
- Files
- Listed when the work is collected
db/migrate/20261128_add_team_billing.rbdb/schema.rb
Seat permissionsRepaired · 13 tests
- Depends on
- The plan
- Goal
- Roles decide who manages billing; invites respect the seat limit.
- Agent
- Claude Code
- Planned checks
- Policy tests and the seat limit
- Progress
- QueuedBuilding in its own VM…Done · commit collectedRepairing the seat limit…Repaired · new commit collected
- Result
- Reported when it finishes12 tests passing12 tests passing · seat limit failed verification13 tests, 1 added by the repair
- Files
- Listed when the work is collected
app/policies/team_policy.rbapp/controllers/invites_controller.rbtest/integration/seat_limit_test.rb
Team settings UIChecked at 3 screen sizes
- Depends on
- Billing API and Database migration
- Goal
- Billing settings where owners manage seats and invoices.
- Agent
- Vekrun agent
- Planned checks
- Browser checks at 3 screen sizes
- Progress
- QueuedWaits for Billing API and Database migrationBuilding in its own VM…Done · commit collected
- Result
- Reported when it finishesChecked at 3 screen sizes
- Files
- Listed when the work is collected
app/views/teams/billing/show.html.erbapp/javascript/controllers/seats_controller.js
IntegrationRepair integrated · a41c9e2
- Depends on
- Team settings UI and Seat permissions
- Order
- WI-2, WI-1, WI-4, then WI-3, as the plan requires
- Progress
- Waits for every Work ItemIntegrating in order…4 integrated · revision c58e1b4Repair integrated · revision a41c9e2
- Conflicts
- Reported after integrationNone: each Work Item had its own workspace
Verification6 of 6 on a41c9e2
- Depends on
- The integrated outcome
- Checks
- All 6 criteria, in a fresh environment
- Revision
- The integrated outcomec58e1b4a41c9e2, after the repair
- Result
- Not checkedChecking 6 criteria…5 of 6: concurrent invites exceeded the seat limitResults from c58e1b4 don’t count for a41c9e2Seat limit re-tested; the rest confirmed to still apply…6 of 6 verified on a41c9e2
- Checked by
- An independent evaluator, not the agents
RepairSeat limit enforced
- Depends on
- Verification
- Fixes
- Only what verification finds
- Found
- Waits for verificationConcurrent invites exceed the seat limit
- Sent to
- Waits for verificationSeat permissions only; the rest stays as it was
- Result
- Reported after the repairSeat count locked in the invite, with a 20-invite test
DeliveryPR #512 with its Proof Pack
- Depends on
- Verification
- Pull request
- Opened once the outcome is verified#512 on GitHub, from acme/portal
- Evidence
- A Proof Pack for the verified revisionProof Pack on revision a41c9e2
- Merge
- Waits for your review and approval
Four perspectives. One engineering workflow.
See the big picture. Inspect every detail.
Follow the work without supervising every action. The Map shows how it’s coordinated, the Workspace exactly what changed, the Timeline what happened and the Conversation why.
Done Status4 of 4 integrated6 of 6 criteriavekrun/team-billing branch
- WI-2Database migrationstarts at onceIntegrated and verifiedat 81c4d2e
- WI-1Billing APIstarts at onceIntegrated and verifiedat 3e1f0a9
- WI-4Seat permissionsstarts at once · repaired onceIntegrated and verifiedat a41c9e2
- WI-3Team settings UIafter WI-1, WI-2Integrated and verifiedat 5b7a0f3
- app/models/subscription.rb
- app/controllers/billing_controller.rb
- test/models/subscription_test.rb
- db/migrate/20261128_add_team_billing.rb
- db/schema.rb
- app/views/teams/billing/show.html.erb
- app/javascript/controllers/seats_controller.js
- app/policies/team_policy.rb
- app/controllers/invites_controller.rb
- test/integration/seat_limit_test.rb
DiffTerminalTestsBrowser
app/controllers/invites_controller.rb · WI-4 repair
def create- return seat_limit_reached! if team.seats_full?+ team.with_lock do+ return seat_limit_reached! if team.seats_full? invite = team.invites.create!(invite_params)+ end
Terminal · Seat permissions
$ bin/rails test test/integration/seat_limit_test.rb13 runs, 44 assertions, 0 failures
- Outcome agreed: 6 acceptance criteria, one from the Council
- Plan: 4 Work Items. Team settings UI waits for WI-1 and WI-2
- Environment ready: Rails 7.2, PostgreSQL 16, Redis. Baseline: 412 tests
- WI-1, WI-2 and WI-4 start in parallel
- WI-3 starts: its prerequisites are integrated
- Verification: 5 of 6. Concurrent invites exceed the seat limit
- WI-4 returned for repair
- Re-checked on a41c9e2: 6 of 6 criteria verified
- Pull request #512 opened with its Proof Pack
- You
Add team billing with per-seat subscriptions, invoices and permissions.
- Coordinator
Should annual plans prorate when seats are added mid-term?
- You
Yes, prorate to the day.
- Council
Concurrent invites could exceed the seat limit. Added as an acceptance criterion.
- Coordinator
Verification found that 20 invites sent at once can pass the limit. Seat permissions is being repaired; nothing else changes.
- Coordinator
All 6 criteria verified. #512 is ready for your review.
- MapHow the work is coordinated
- WorkspaceExactly what changed
- TimelineWhat happened, in order
- ConversationThe decisions behind it

Your codebase stays protected
Give agents room to work. Keep your workspace yours.
Every Work Item runs in its own isolated environment with its own workspace. Agents get only the access you authorize, your checkout stays exactly as you left it, and changes come back as collected commits for review.
main: unchanged. You keep working.Vekrun execution boundary
Authorized agents, with only the access you allowBilling API
bin/rails test · 31 passing
Commit collected
Database migration
rollback rehearsed
Commit collected
Seat permissions
seat checks in place
Commit collected
3 commits collected for integration and your review. Nothing is written over your working copy.
Works with the projects you already have.
Vekrun reads your repository’s configuration and prepares the runtimes, dependencies, databases, services and tests it needs. Where a native platform needs something on your Mac, such as Xcode for iOS, it tells you.
Runtime
Ruby 3.3
Dependencies
142 gems installed
Database
PostgreSQL 16, test database created
Services
Redis for background jobs
Tests
Minitest: 412 tests run
Needs you
Ready Engineering starts in a working environment.
The Factory doesn’t trust its own work
An agent saying it’s done is where verification begins.
Every agreed criterion is checked independently on the integrated result, with browser, mobile and desktop checks where your app runs. A failure goes back for repair and is checked again. Vekrun delivers evidence, not an AI-generated completion message.
The agents report
- Billing APIDone
- Database migrationDone
- Team settings UIDone
- Seat permissionsRepaired
$ bin/rails test413 runs, 0 failures
“Done. All tests pass.”
Independent verification
Team billing · 6 acceptance criteria · a fresh environment
- Owners and admins can add and remove seatsVerifiedBrowser run · 4 screenshots
- Invites stop at the seat limit, even when sent at onceVerifiedConcurrency test · 20 parallel invites
- Invoices list every seat changeVerifiedRequest test · invoices_test.rb:58
- Annual plans prorate correctlyVerifiedUnit tests · 9 proration cases
- Only owners and admins see billingVerifiedRequest tests · 3 roles rejected
- Existing subscriptions are unchangedVerifiedRegression suite · 412 tests
Outcome verified · 6 of 6
Every required criterion has its own evidence, checked independently on revision a41c9e2.
The Proof Pack. Every claim has a receipt.
Acceptance evidence, tests, screenshots, the independent review, the tested revision and what remains unchecked, in one place you review before you merge.
a41c9e2- Owners and admins can add and remove seatsBrowser run · 4 screenshots
- Invites stop at the seat limit, even when sent at onceConcurrency test · 20 parallel invites
- Invoices list every seat changeRequest test · invoices_test.rb:58
- Annual plans prorate correctlyUnit tests · 9 proration cases
- Only owners and admins see billingRequest tests · 3 roles rejected
- Existing subscriptions are unchangedRegression suite · 412 tests
- Unit and request tests398 passed · 2m 41s
- Browser checks14 passed · 3 screen sizes
- Mutation challenge18 of 18 caught
- Concurrent invites at the seat limitfailed on 7c2e01b · passed after repair on a41c9e2

- Independent review: no blocking objectionsa model from another AI developer
- Suggestion: index invoices by teamkept as a follow-up Work Item
- Tested revision
a41c9e2- Branch
vekrun/team-billing- Base
mainat9b61375- Evidence matches the pull request head
- Yes
- Load under peak trafficnot checked: no load profile configured
What wasn’t checked is listed, never hidden.
Close your laptop. Keep your progress.
Life interrupts. Your engineering work doesn’t have to start over.
Restart your Mac or update Vekrun mid-run, and the same Work Item is ready to continue from the step that stopped, reusing the work that still applies instead of repeating it.
WI-1 · Billing APITeam billingDone
- Prepare environment
- Baseline tests
- Subscription model
- Billing API
- Run test suite
- Collect commit
- Hand to verification
Step 7 of 7 · Hand to verification3 steps kept, not redone
Work interrupted
At step 4 of 7, while building the Billing API. A restart or an update can happen any time.
Continue Work Item
- Existing planSame Work Item, same goal and criteria
- Compatible environmentRails, PostgreSQL and Redis, as prepared
- Collected commits2 commits, kept
- Applicable baseline results412 tests, still valid for this revision
Continues from the stopped step.
Heavier work? Run it on a server you control.
With Work Anywhere, supported execution moves off your laptop to your own server, and you follow every Work Item from your Mac.
Vekrun on your laptop
Sending “Rebuild search index” to your serverWork Item sent
Private connection
Connecting over your private networkAuthenticated, not public
Your VPS
Checking the server’s security settingsInbound closed · SSH private only
Isolated Factory run
Building and testing in its own environment412 tests pass · build 6 min
Verified result
Returning the Proof Pack to your laptopProof Pack ready for review
Build your own AI engineering team
Choose the intelligence. Vekrun handles the coordination.
Keep Claude Code, Codex and the models you trust. Give each role the intelligence that suits it, from Vekrun’s own agent to model providers and local models. We use those coding agents. We coordinate the engineering around them.
Model for Coordinator
Mix providers freely. A different model reviewing and verifying catches what the builder missed.
Powerful, never uncontrolled.
Every goal has a budget. Confirmed spending, reservations for calls awaiting their final price and what remains are always in view, and a paid call that wouldn’t safely fit is stopped before it runs. You define the boundaries.
Goal budget · Team billing
$40.00 authorized
- Confirmed
- $17.50
- Reserved
- $14.00
- Remaining
- $8.50
- Plan and CouncilClaude via OpenRouter$3.10
- WI-1 Billing APIVekrun agent · local modelRuns locally · no charge
- WI-2 Database migrationCodex subscriptionIncluded in subscription
- WI-4 Seat permissionsClaude Code subscriptionIncluded in subscription
- Independent reviewGrok via xAI$4.60
- VerificationClaude via OpenRouter$9.80
- WI-3 Team settings UIReserved for implementation$14.00 reserved
- Blocked before it ran: a $22.00 model callIt would exceed your budget. Vekrun is asking you.Needs you
Faster execution without weaker verification
Less waiting. The same proof.
Vekrun overlaps stages that used to queue, prepares the proof environment while the work is built, reuses what’s still valid and uses the computing power you have. Every check still runs.
Small engineering tasks · Vekrun 0.7.9
36–44 secondsfrom Start to verified proof, in measured Codex runs on previously prepared projects.No verification check was removed to make it faster. The time went from waiting, not from checking.
Less waiting. More engineering.Which stages overlap, not how long each takes
Stage by stage
Vekrun 0.7.13
- VMs sized to the work
- Tests spread across available CPU cores
- Compatible baselines reused
- Baseline tests overlap implementation and proof
- Proof environment prepared during implementation
- Completed work kept when a Work Item resumes
Delivery is part of engineering
Verified software. Ready for your review.
The Factory doesn’t stop when the agents do. Verified work becomes a pull request or merge request with the evidence to review it, stays looked after on GitHub, and reaches deployment only with your separate approval.
- Verified Work Items4 of 4, independently checked
- IntegrationIn dependency order, on one branch
- Delivery decisionRequired gates and approvals
- Pull or merge request#512, with its Proof Pack
Delivery decision
- All 6 criteria verified
- Evidence matches the branch head
- Branch protection respected
- Your review and approval
Tested on a41c9e2. Nothing merges without you.
PR GuardianGitHub
- GitHub Actions: Billing tests failed on a41c9e2
- Returned to the Factory as a repair Work Item
- Fix verified independently, then pushed as 7d3e91f
- GitHub Actions running on 7d3e91f…
- GitHub Actions passed
Deployment preparation
- Destination detected: Render
- Configuration and variables ready
- Waiting for approval of this exact plan
A separate approval. Merging the pull request doesn’t grant it.
More about deploymentEvery outcome makes the next one smarter
Engineering that compounds.
The Factory creates engineering outcomes. Engineering Memory keeps what they teach. Before work starts, the Factory recalls the code, decisions and verified lessons that apply; when it’s verified, the outcome joins Memory for the next request.
1 of 5
Engineering Memory
Billing’s decisions, the verified webhook lesson and its tests, linked to the code.
2 of 5
Relevant knowledge
“Add annual billing” recalls two files, one decision and one verified fix.
3 of 5
Factory execution
WI-214 changes billing_service.rb and invoices/renew.rb in parallel Work Items.
4 of 5
Independent verification
Checked against the request, with a Proof Pack: tests, screenshots and review.
5 of 5
Verified outcome
WI-214 joins the graph, linked to the code, tests and decision it touched.
Connected Factories with Vekrun Teams. Each developer’s Factory runs on their own Mac; with Teams, what one proves and learns reaches everyone, and Work Items can be handed from one developer to another.
Outcome-driven AI engineering
You define what success looks like.Vekrun coordinates the work.The evidence tells you when it’s done.
Questions.
What is the Vekrun AI Factory?
The part of Vekrun that turns an outcome into verified software. It plans the work, coordinates agents across parallel Work Items in isolated environments, verifies the result independently against the criteria you agreed, repairs what fails and delivers a pull request with its evidence.
How is it different from a coding agent?
A coding agent writes code in a session and tells you it’s done. The Factory coordinates the whole engineering process around agents like Claude Code and Codex: requirements, planning, dependencies, isolated execution, independent verification, repair and governed delivery. You get evidence, not a completion message.
Can it work with my existing repository?
Yes. Vekrun reads your project’s configuration and prepares what it needs, such as runtimes, dependencies, databases, services and tests, for Rails, Laravel, Django, Next.js, Expo, Flutter, Cloudflare Workers and more. Native platforms that need tools like Xcode say so up front.
Does every request require multiple agents?
No. The Coordinator sizes the work. A small fix takes a direct path with one agent and a focused check; complex work gets architecture analysis, clarifying questions, the Council and parallel Work Items only where they pay off.
Can several Work Items run in parallel?
Yes. Independent Work Items run at the same time, each in its own isolated environment. Work that depends on others waits for its prerequisites, and everything integrates in dependency order.
Can I use Claude Code and Codex?
Yes. Connected coding agents like Claude Code and Codex can take roles in the Factory, alongside Vekrun’s own agent, model providers and local models. You choose who does what, within each role’s eligibility.
How does Vekrun verify engineering work?
Independently. After the agents finish, Vekrun checks the integrated result against every acceptance criterion with tests, browser runs and an independent review, and records the evidence in a Proof Pack tied to the tested revision. Passing tests alone is never treated as a verified outcome.
What happens when verification fails?
The outcome isn’t verified. The failure goes back to the Work Item responsible as a repair, the relevant checks run again, and only a revision that meets every required criterion is delivered.
What happens if I close Vekrun or restart my Mac?
Local work stops while Vekrun is closed. When it opens again, the same Work Item continues from the step that stopped, reusing its plan, a compatible environment, collected commits and baseline results that still apply.
Can I run engineering work on my own server?
Yes. With Work Anywhere, supported execution runs on a server you control, so heavier work happens away from your laptop while you follow it from your Mac.
Can I control AI spending?
Yes. Set a budget for each goal. Confirmed spending and amounts reserved for calls awaiting their final price are always visible, and a paid call that wouldn’t safely fit is stopped before it runs. Usage covered by a subscription you already have is shown as included.
Does Vekrun automatically merge or deploy software?
It merges only when you allow it. Vekrun opens a pull request or merge request with its evidence. On GitHub, PR Guardian can merge automatically when you’ve explicitly authorized it and your repository’s policies, branch protection and required checks permit it; otherwise merging follows your review. Deployment is separate: it’s prepared on its own and needs your approval of the exact plan. Merging a pull request never approves a deployment.
Is the AI Factory included in Vekrun Free?
Yes. The personal AI Factory is part of Vekrun Free, with your choice of AI. There’s no separate Factory subscription and no per-agent pricing. Connecting Factories across a team is part of Vekrun Teams.
Vekrun AI Factory
Stop coordinating agents.Start directing engineering.Ship with evidence.
One intelligent engineering workspace, from the outcome you define to the software you deliver.
Included in Vekrun Free · Your choice of AI · Early access is by email.