🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@open330/oac-budget

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open330/oac-budget

Token estimation and execution planning for OAC

latest
Source
npmnpm
Version
2026.3.6
Version published
Maintainers
1
Created
Source

@open330/oac-budget

Token estimation and execution planning for OAC (Open Agent Contribution).

Install

npm install @open330/oac-budget

What's Inside

  • Token Estimator — per-provider token counting using tiktoken
  • Complexity Analyzer — estimates LOC changes and task difficulty
  • Execution Planner — knapsack-optimized task selection within a token budget (with 10% reserve)

Usage

import { estimateTokens, buildExecutionPlan } from '@open330/oac-budget';

const estimate = estimateTokens(task, 'claude');
const plan = buildExecutionPlan(tasks, { totalBudget: 50_000 });

License

MIT — see the main repo for details.

FAQs

Package last updated on 17 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts