SuperAPIAI Directory

agboss

github.com · AI developer platforms

AGBoss is an open-source TypeScript framework for LangGraph AI agents that organizes agents, actions, routes, arbiters, tools, MCP servers, A2A services, and knowledge bases using Spring-like decorator components and dependency injection. It provides compile-time Path Scope structural validation (agboss check), transactional sagas with compensation and automatic LIFO rollback, two-phase human approval pauses, pre-call FinOps budgets, boundary PII redaction, multi-instance SQLite WAL leases and subtask stealing, signed Agent Mesh envelopes, and a five-ring evaluation and testing pipeline. The current version is v0.1.1; the core runtime @agboss/core and the CLI/static compiler @agboss/cli have been published on npm.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

AGBoss is an open-source TypeScript framework for building complex multi-agent workflows on top of LangGraph, with static validation capabilities. It defines agents, actions, routes, arbiters, tools, MCP servers, A2A services, and knowledge bases as strongly typed decorator components, assembled uniformly in the @Application container with dependencies injected via constructors.

Key capabilities include: compile-time structured Path Scope validation (agboss check); declarative action compensation (compensateWith / committedBy), together with explicit rollback-side paths (.onError pointing to undo @Action) and automatic LIFO compensation; two-phase human-in-the-loop pauses (@ToolApproval, @ExternalTask, @Channel); pre-call FinOps budgets (@Budget); boundary PII token redaction (@PiiPolicy); multi-instance SQLite WAL leases and subtask stealing (ChildPlacement.AnyWorker); signed Agent Mesh envelopes (@A2AEndpoint, @A2AAgent, agboss hub); and a five-ring evaluation and testing pipeline (@EvalSuite, testWith, and 10 unit runners).

For usage, you can create a new project with npm exec --yes --package=@agboss/cli@0.1.1 -- agboss create my-app; the scaffold generates package.json, AGENTS.md, and CLAUDE.md; npm install triggers postinstall to run agboss check, generate .agboss/types.d.ts, and unpack 13 version-matched reference guides into .claude/skills/agboss/. You can also add @agboss/core to dependencies and @agboss/cli to devDependencies to integrate with an existing project. @agboss/core is the lightweight production runtime, while @agboss/cli provides the static graph compiler, code generation, development watching, LangGraph Studio bridge, and localvisualization UI service.

The application is the sole entry point, listing workflows, storage (@DatabaseStorage, optionally @ClusterStorage and @ObjectStorage), infrastructure classes (Clock, IdGenerator, etc.), model providers, budgets, and health checks. Model providers are defined via @ModelProvider({ driver, timeout, … }), with drivers including OpenRouterDriver, OpenAiCompatibleDriver, and DecisionsDriver, and keys configured via secret(…). Storage defaults to an in-memory implementation, and the core ships with SqliteDriver; multi-machine deployments can share PostgreSQL via @agboss/postgres and run versioned migrations with agboss migrate.

The framework also supports code routes (no model calls required), parallel startup and join, quorum and arbiters, workflows nested as steps, recursive workflows with depth limits, and more. Time and IDs are abstracted through application-level Clock and IdGenerator; tests can use VirtualClock and SequentialIdGenerator.

It is suited for production-grade LangGraph multi-agent systems that require strict typing, static validation, transactional compensation, human approval, budget control, and testability. Limitations: the materials do not provide pricing, fees, platform support scope, or performance data; the current version is v0.1.1, and some capabilities depend on the LangGraph ecosystem and a Node.js/npm environment.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools