@baleybots/tools
@baleybots/tools
Baleybots Assembly Language (BAL) — the DSL for composing AI pipelines —
and the web tools an agent uses to search and read the web (webSearchTool,
webFetchTool). The web tools sit in their own module (./web) with no
BAL dependency.
Looking for something else?
- Host coding tools (filesystem, bash, scoped workspace) →
@baleybots/agent-tools tool()/defineZodTool→@baleybots/core
Example
import { Baleybot } from '@baleybots/core';
import { createBALTool, createBalTools } from '@baleybots/tools';
const bot = Baleybot.create({
name: 'composer',
goal: 'Compose multi-step agent pipelines',
tools: createBalTools({ model: 'gpt-5.6-luna' }),
});
Classes
Interfaces
- BALConfig
- BALDiagnostic
- BaleybotMetadata
- BALValidateOptions
- BALValidationError
- BALValidationResult
- EntityMetadata
- InterpretationResult
- OutputSchemaNode
- PageMetadata
- PipelineConfig
- ReadWebPageOptions
- SemanticCheckOptions
- TavilySearchOptions
- WebFallbackPage
- WebFallbackRequest
- WebFetchRequestInit
- WebFetchResult
- WebFetchToolOptions
- WebFetchTransport
- WebPage
- WebSearchOptions
- WebSearchProvider
- WebSearchResponse
- WebSearchResult
- WebSearchToolOptions
Type Aliases
- BALSemanticCheckMode
- DSLToolEvent
- PdfTextReader
- PipelineStructure
- WebFallbackReason
- WebFetchErrorCode
Functions
- assertNoSemanticErrors
- buildZodSchema
- checkBALSemantics
- compileBAL
- createBALTool
- createBalTools
- createValidateBalTool
- evaluate
- evaluateAsBoolean
- executeBAL
- extractBaleybotMetadata
- extractBaleybotMetadataTool
- htmlToText
- interpret
- loadUnpdfReader
- looksLikePdf
- pageMetadata
- parse
- parseExpression
- readWebPage
- runDSL
- tavilySearch
- tokenize
- validateBAL
- webFetchTool
- webSearchTool