Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
buildmax
command
Package main is the entry point for the BuildMax CLI.
|
Package main is the entry point for the BuildMax CLI. |
|
buildmax-desktop
command
Package main is the entry point for the BuildMax desktop app (Wails).
|
Package main is the entry point for the BuildMax desktop app (Wails). |
|
buildmax-server
command
Package main is the entry point for the BuildMax HTTP server (backend for portal).
|
Package main is the entry point for the BuildMax HTTP server (backend for portal). |
|
buildmax-worker
command
Package main is the entry point for the BuildMax worker (runs a single task run via API + direct storage).
|
Package main is the entry point for the BuildMax worker (runs a single task run via API + direct storage). |
|
deployment
|
|
|
smoke/mock-llm
command
Command mock-llm serves the deployment smokes a model that never varies.
|
Command mock-llm serves the deployment smokes a model that never varies. |
|
Package desktop holds the desktop app frontend assets.
|
Package desktop holds the desktop app frontend assets. |
|
evaluation
|
|
|
adapter
Package adapter runs a trial against a built BuildMax artifact and returns a canonical bundle.
|
Package adapter runs a trial against a built BuildMax artifact and returns a canonical bundle. |
|
contract
Package contract defines the BuildMax-owned evaluation contract: the task, subject, trial, grader, and experiment shapes every runner, adapter, and viewer agrees on.
|
Package contract defines the BuildMax-owned evaluation contract: the task, subject, trial, grader, and experiment shapes every runner, adapter, and viewer agrees on. |
|
grader
Package grader turns a finished trial into per-dimension verdicts.
|
Package grader turns a finished trial into per-dimension verdicts. |
|
harbor
Package harbor holds what BuildMax needs to be measured by Harbor against Terminal-Bench 2.1: the versions a result depends on, and the Python agent Harbor loads to run the built CLI inside a task container.
|
Package harbor holds what BuildMax needs to be measured by Harbor against Terminal-Bench 2.1: the versions a result depends on, and the Python agent Harbor loads to run the built CLI inside a task container. |
|
runner
Package runner executes an experiment: every task, repeated, against one or more subjects, and turns the resulting bundles into a comparable report.
|
Package runner executes an experiment: every task, repeated, against one or more subjects, and turns the resulting bundles into a comparable report. |
|
trace
Package trace reads the durable JSONL trace a BuildMax run records.
|
Package trace reads the durable JSONL trace a BuildMax run records. |
|
internal
|
|
|
agentapp/job
Package job owns the local background jobs of one AgentApp: identity, state, bounded output, stop, lifecycle events, and shutdown.
|
Package job owns the local background jobs of one AgentApp: identity, state, bounded output, stop, lifecycle events, and shutdown. |
|
agentapp/taskrun
Package taskrun provides task-run execution.
|
Package taskrun provides task-run execution. |
|
bootstrap
Package bootstrap wires process startup dependencies.
|
Package bootstrap wires process startup dependencies. |
|
config
Package config provides configuration loading and defaults.
|
Package config provides configuration loading and defaults. |
|
core/agent
Package agent provides the core AI agent logic: task planning, tool invocation, and conversation.
|
Package agent provides the core AI agent logic: task planning, tool invocation, and conversation. |
|
core/apierr
Package apierr is the vocabulary a service uses to say why it refused.
|
Package apierr is the vocabulary a service uses to say why it refused. |
|
core/hook
Package hook holds the shape of a hooks configuration block and the naming its events and transports use.
|
Package hook holds the shape of a hooks configuration block and the naming its events and transports use. |
|
core/llm
Package llm holds LLM wire types and the Tool contract used across core services and agent execution.
|
Package llm holds LLM wire types and the Tool contract used across core services and agent execution. |
|
core/localproject
Package localproject owns the local Project: the stable identity that groups the sessions of one local unit of work across CLI, TUI, and Desktop, and that will own the first cross-session memory scope.
|
Package localproject owns the local Project: the stable identity that groups the sessions of one local unit of work across CLI, TUI, and Desktop, and that will own the first cross-session memory scope. |
|
core/mcp
Package mcp holds the shape of an mcp.json document and the rules a server definition must satisfy.
|
Package mcp holds the shape of an mcp.json document and the rules a server definition must satisfy. |
|
core/plugin
Package plugin owns the plugin manifest: its format, its rules, and the version arithmetic that decides whether a build may run a release.
|
Package plugin owns the plugin manifest: its format, its rules, and the version arithmetic that decides whether a build may run a release. |
|
core/schema
Package schema is what a database says has been done to it.
|
Package schema is what a database says has been done to it. |
|
core/session
Package session provides the core session model: identity, the linked history journal, the reducer that replays it, recovery analysis, and the persistence seam.
|
Package session provides the core session model: identity, the linked history journal, the reducer that replays it, recovery analysis, and the persistence seam. |
|
core/subagent
Package subagent holds the shape of a subagent definition file and the rules its frontmatter must satisfy.
|
Package subagent holds the shape of a subagent definition file and the rules its frontmatter must satisfy. |
|
core/team
Package team owns what a team's roles may do.
|
Package team owns what a team's roles may do. |
|
e2e/cli
Package clie2e drives the built CLI binary end to end against a scripted model.
|
Package clie2e drives the built CLI binary end to end against a scripted model. |
|
infra/db
Package db provides persistence for BuildMax backend entities (MySQL via GORM).
|
Package db provides persistence for BuildMax backend entities (MySQL via GORM). |
|
infra/flock
Package flock is an advisory file lock that the operating system releases when the holding process exits.
|
Package flock is an advisory file lock that the operating system releases when the holding process exits. |
|
infra/httpclient
Package httpclient decodes the error envelope the BuildMax server writes.
|
Package httpclient decodes the error envelope the BuildMax server writes. |
|
infra/llm
Package llm implements the core/llm.LLMClient contract over the LLM wire protocols BuildMax speaks: OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, and Ollama's native local API.
|
Package llm implements the core/llm.LLMClient contract over the LLM wire protocols BuildMax speaks: OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, and Ollama's native local API. |
|
infra/llmremote
Package llmremote implements the core LLM contract against a BuildMax managed gateway instead of a provider.
|
Package llmremote implements the core LLM contract against a BuildMax managed gateway instead of a provider. |
|
infra/llmwire
Package llmwire is the versioned wire contract for BuildMax managed inference.
|
Package llmwire is the versioned wire contract for BuildMax managed inference. |
|
infra/localprojectstore
Package localprojectstore is the file backend for local Projects: the bundle under projects/<project_id>/, the rebuildable catalog projection beside it, and the writer lock that serializes changes to either.
|
Package localprojectstore is the file backend for local Projects: the bundle under projects/<project_id>/, the rebuildable catalog projection beside it, and the writer lock that serializes changes to either. |
|
infra/log
Package log configures the application's default slog logger.
|
Package log configures the application's default slog logger. |
|
infra/objectstore
Package objectstore provides pluggable blob storage for team workspace files and task-run artifacts.
|
Package objectstore provides pluggable blob storage for team workspace files and task-run artifacts. |
|
infra/pluginarchive
Package archive packs and extracts a plugin package.
|
Package archive packs and extracts a plugin package. |
|
infra/pluginwire
Package pluginwire is the wire contract for the private plugin Marketplace.
|
Package pluginwire is the wire contract for the private plugin Marketplace. |
|
infra/proc
Package proc starts and supervises the OS processes behind local background jobs: process-group spawning, bounded output capture, and process-tree termination.
|
Package proc starts and supervises the OS processes behind local background jobs: process-group spawning, bounded output capture, and process-tree termination. |
|
infra/sandbox
Package sandbox provides the OS-level bash subprocess sandbox.
|
Package sandbox provides the OS-level bash subprocess sandbox. |
|
infra/sessionstore
Package sessionstore is the file backend for local sessions: the JSONL journal codec, the single-writer lock, and tail repair.
|
Package sessionstore is the file backend for local sessions: the JSONL journal codec, the single-writer lock, and tail repair. |
|
infra/trace
Package trace persists a durable, bounded, redacted record of a single Agent run by consuming the core/agent event stream.
|
Package trace persists a durable, bounded, redacted record of a single Agent run by consuming the core/agent event stream. |
|
infra/workerclient
Package workerclient defines the worker API client and HTTP contract types.
|
Package workerclient defines the worker API client and HTTP contract types. |
|
interface/auth
Package auth provides credential persistence and renewal for the BuildMax client.
|
Package auth provides credential persistence and renewal for the BuildMax client. |
|
interface/cli
Package cli: root and subcommands for the BuildMax CLI.
|
Package cli: root and subcommands for the BuildMax CLI. |
|
interface/client
Package client provides an HTTP client for the BuildMax server API.
|
Package client provides an HTTP client for the BuildMax server API. |
|
interface/desktop
Package desktop implements the BuildMax desktop app (Wails) and is used by cmd/buildmax-desktop.
|
Package desktop implements the BuildMax desktop app (Wails) and is used by cmd/buildmax-desktop. |
|
interface/pluginmgr
Package pluginmgr installs plugins from a deployment's Marketplace.
|
Package pluginmgr installs plugins from a deployment's Marketplace. |
|
mock
Package mock provides test-only in-memory implementations for unit tests.
|
Package mock provides test-only in-memory implementations for unit tests. |
|
server
Package server provides the HTTP server for BuildMax.
|
Package server provides the HTTP server for BuildMax. |
|
server/access
Package access owns who a caller is and what they may do.
|
Package access owns who a caller is and what they may do. |
|
server/authtoken
Package authtoken signs and verifies the run token a worker presents to the managed LLM gateway.
|
Package authtoken signs and verifies the run token a worker presents to the managed LLM gateway. |
|
server/handlers/admin
Package admin serves the deployment-scoped routes.
|
Package admin serves the deployment-scoped routes. |
|
server/handlers/artifact
Package artifact serves the durable files a team keeps.
|
Package artifact serves the durable files a team keeps. |
|
server/handlers/auditexport
Package auditexport streams the audit trail as CSV.
|
Package auditexport streams the audit trail as CSV. |
|
server/handlers/auth
Package auth serves the routes that establish a session.
|
Package auth serves the routes that establish a session. |
|
server/handlers/llmhttp
Package llmhttp presents the managed gateway over HTTP.
|
Package llmhttp presents the managed gateway over HTTP. |
|
server/handlers/runterminal
Package runterminal announces a task run that reached a terminal status.
|
Package runterminal announces a task run that reached a terminal status. |
|
server/handlers/team
Package team serves what a team owns: its membership, its agents, its webhook keys, its consumption, and its audit trail.
|
Package team serves what a team owns: its membership, its agents, its webhook keys, its consumption, and its audit trail. |
|
server/handlers/work
Package work serves the surface a team does its work on: issues and their comments, workflows, tasks and the runs that execute them, the conversations that start them, and the files and traces they leave behind.
|
Package work serves the surface a team does its work on: issues and their comments, workflows, tasks and the runs that execute them, the conversations that start them, and the files and traces they leave behind. |
|
server/handlers/worker
Package worker serves the routes a running worker calls back on.
|
Package worker serves the routes a running worker calls back on. |
|
server/scheduler
Package scheduler provides task run scheduling.
|
Package scheduler provides task run scheduling. |
|
server/turnqueue
Package turnqueue serializes the turns of one conversation.
|
Package turnqueue serializes the turns of one conversation. |
|
server/websocket
Package streamhub provides task-scoped stream buffers for worker-push and client subscribe (SSE).
|
Package streamhub provides task-scoped stream buffers for worker-push and client subscribe (SSE). |
|
service/agent
Package agent owns the rules for a team's agent definitions.
|
Package agent owns the rules for a team's agent definitions. |
|
service/artifact
Package artifact keeps durable files on a team's behalf.
|
Package artifact keeps durable files on a team's behalf. |
|
service/audit
Package audit records that a sensitive action happened.
|
Package audit records that a sensitive action happened. |
|
service/identity
Package identity owns what proves who a caller is.
|
Package identity owns what proves who a caller is. |
|
service/llmcatalog
Package llmcatalog owns what a deployment's model catalog will accept and what changing it records.
|
Package llmcatalog owns what a deployment's model catalog will accept and what changing it records. |
|
service/llmgateway
Package llmgateway resolves a model name to an operator-approved upstream target.
|
Package llmgateway resolves a model name to an operator-approved upstream target. |
|
service/plugin
Package plugin owns publication and the catalog lifecycle for the private Marketplace.
|
Package plugin owns publication and the catalog lifecycle for the private Marketplace. |
|
service/plugininspect
Package inspect derives a bounded, sanitized description of what a plugin package contributes.
|
Package inspect derives a bounded, sanitized description of what a plugin package contributes. |
|
service/systemadmin
Package systemadmin owns who holds a deployment-scoped role.
|
Package systemadmin owns who holds a deployment-scoped role. |
|
service/team
Package team owns membership rules: who is in a team, who may change that, and what a member may be.
|
Package team owns membership rules: who is in a team, who may change that, and what a member may be. |
|
testsupport
Package testsupport holds helpers that exist only for tests.
|
Package testsupport holds helpers that exist only for tests. |
|
testsupport/mockllm
Package mockllm serves scripted model replies over the three wire protocols BuildMax speaks, so an end-to-end suite can drive a real run without a provider, a key, or a paid call.
|
Package mockllm serves scripted model replies over the three wire protocols BuildMax speaks, so an end-to-end suite can drive a real run without a provider, a key, or a paid call. |
|
tool
Package tool provides concrete agent tools.
|
Package tool provides concrete agent tools. |
|
util
Package util contains small, cross-layer helpers with no business ownership.
|
Package util contains small, cross-layer helpers with no business ownership. |
|
util/secretscan
Package secretscan recognizes common secret shapes in free text.
|
Package secretscan recognizes common secret shapes in free text. |
|
tools
|
|
|
eval
command
Package main is the entry point for the BuildMax evaluation runner.
|
Package main is the entry point for the BuildMax evaluation runner. |
|
mcp
command
Command mcp is a small MCP server for local testing of BuildMax MCP integration.
|
Command mcp is a small MCP server for local testing of BuildMax MCP integration. |
|
mk
command
License chores: the third-party notice file shipped with every release, and the npm production-dependency license policy.
|
License chores: the third-party notice file shipped with every release, and the npm production-dependency license policy. |
Click to show internal directories.
Click to hide internal directories.