Skip to content

All Modules

Install personaforge once and import the module you need from that package.

bash
npm install personaforge

Headline API

ts
import { agent, defineAgent, compose, pipe, tool } from 'personaforge';

Public module map

Import pathWhat it exposes
personaforgeHeadline agent APIs, SDK helpers, custom tool helpers
personaforge/toolsIntegrations and toolkits
personaforge/sessionSession stores
personaforge/knowledgeKnowledge engine, loaders, retrieval
personaforge/memoryMemory stores and embedding-backed recall
personaforge/guardrailsSafety validators and built-in rules
personaforge/productionProduction wrappers such as withResilience()
personaforge/guardCircuit breaker, rate limiter, health checks
personaforge/runtimeHTTP runtime, auth, WebSocket transport
personaforge/orchestrationSupervisor, routing, consensus, A2A
personaforge/workflowWorkflow control-flow helpers
personaforge/graphDurable DAG execution
personaforge/schedulerCron scheduling
personaforge/reasoningReasoning engines
personaforge/dbFramework-managed persistence backends
personaforge/observabilityLogging, tracing, metrics, eval helpers
personaforge/llmProvider classes and routing helpers
personaforge/modelopenai(), anthropic(), ollama() shorthand factories
personaforge/skillsPre-built skill bundles
personaforge/processorsMastra-style input/output/error processor pipeline
personaforge/durableLong-running, resumable agent execution with replay
personaforge/goalsDurable, thread-scoped judge-scored objectives
personaforge/code-modeSandboxed multi-tool computation
personaforge/approvalHuman-in-the-loop approval + suspended runs
personaforge/gatewaycreateEnterpriseGateway() — multi-tenant, policy-enforced HTTP gateway with compliance dashboard
personaforge/eventsTyped event bus + core event vocabulary
personaforge/registryAgent registration, discovery, delegation toolkit
personaforge/harnessevaluate() — A/B harness over agents/tasks/workflows

Example imports

ts
import { agent } from 'personaforge';
import { TavilySearchTool } from 'personaforge/tools/search';
import { createSqliteStore } from 'personaforge/session';
import { GuardrailValidator } from 'personaforge/guardrails';
import { withResilience } from 'personaforge/production';
import { CircuitBreaker } from 'personaforge/guard';
import { createHttpService } from 'personaforge/runtime';
import { createGraph } from 'personaforge/graph';
import { ScheduleManager } from 'personaforge/scheduler';
import { ReasoningManager } from 'personaforge/reasoning';
import { createAgentDb } from 'personaforge/db';
import { ConsoleLogger } from 'personaforge/observability';
import { openai } from 'personaforge/model';
import { webResearchSkill } from 'personaforge/skills';

Guidance

Use root imports for the common getting-started flow.

Use personaforge/<module> when you want a narrower import surface or a clearer ownership boundary in app code.

The repository is still implemented as a monorepo, so contributor docs and migration notes may refer to @personaforge/* workspace package names. Those internal names are not the public install story.

Released under the MIT License.