Your privacy choices

We use cookies and similar technologies. The necessary ones keep the site working. With your permission we would also use others, which you can review in the settings. You can change your mind at any time.

Family · 30 packages, one product
PR

Prism

PHP + Python + Node / TypeScript · 30 packages

The Laravel LLM layer the kit builds on, and what makes it an agent platform: durable agent sessions, MCP tools, memory, a guarded browser, sandboxed workspaces, Human+ presence, tracing, and the rest of the Perplexity API.

Backend · renders no UIPHP · Python · Node / TypeScript

LLM layer

3 packages · headless — install and call it · LLM providers for Laravel: text, structured output, streaming and tool calling

prismPHP Backend · renders no UI

Maintained fork of prism-php/prism -- the Laravel LLM integration layer the kit builds on. Unified text / structured / streaming across providers, with the telemetry that makes per-run AI spend attributable. fancy-flow-php's PrismLlmClient adapter targets it, and credentials resolve at call time rather than from env, so DB-backed provider rows and queue workers are first-class.

$composer require particle-academy/prism
prism-ai-corePython Backend · renders no UI

Python port of prism -- Unified text / structured / streaming across providers, with per-run spend attribution.

prismNode / TypeScript Backend · renders no UI

Node/TS port of prism -- Unified text / structured / streaming across providers, with per-run spend attribution.

$npm install @particle-academy/prism

Agent sessions

3 packages · headless — install and call it · LLM agent harness: durable sessions, modes, tool permissions and subagents

prism-harnessPHP Backend · renders no UI

Durable agent sessions for Laravel -- threads, modes, tool permissions and subagents on top of Prism. Where a conversation with an agent stops being one request and becomes state you can resume, inspect and govern.

$composer require particle-academy/prism-harness
prism-ai-harnessPython Backend · renders no UI

Python port of prism-harness -- Durable agent sessions -- threads, modes, tool permissions and subagents.

prism-harnessNode / TypeScript Backend · renders no UI

Node/TS port of prism-harness -- Durable agent sessions -- threads, modes, tool permissions and subagents.

$npm install @particle-academy/prism-harness

Tools

3 packages · headless — install and call it · MCP client: remote MCP tools as Prism tools, across a visible trust boundary

prism-mcpPHP Backend · renders no UI

Model Context Protocol for Prism -- consume remote MCP tools as ordinary Prism tools, across a trust boundary you can see. The boundary is the point: a remote tool is not quietly indistinguishable from a local one.

$composer require particle-academy/prism-mcp
prism-ai-mcpPython Backend · renders no UI

Python port of prism-mcp -- Model Context Protocol -- consume remote MCP tools as ordinary Prism tools.

prism-mcpNode / TypeScript Backend · renders no UI

Node/TS port of prism-mcp -- Model Context Protocol -- consume remote MCP tools as ordinary Prism tools.

$npm install @particle-academy/prism-mcp

Coding-agent CLIs

2 packages · headless — install and call it · Agent Client Protocol: drive an already-authenticated Claude or Codex CLI, no API key

prism-acpPHP Backend · renders no UI

Agent Client Protocol for Prism in PHP -- drive the Claude and Codex CLIs the user has already authenticated, on a subscription or an app API key, with no third-party runtime dependencies. Pre-release (alpha).

$composer require particle-academy/prism-acp
prism-acpNode / TypeScript Backend · renders no UI

Agent Client Protocol for Prism -- speak ACP to a coding-agent CLI the user has already authenticated (Claude, Codex). No API key, no third-party adapter.

$npm install @particle-academy/prism-acp

MCP server

1 package · headless — install and call it · MCP server: serve Prism tools to any MCP client, transport-independent

prism-mcp-serverNode / TypeScript Backend · renders no UI

Transport-independent MCP tool serving for the Prism ecosystem -- expose Prism tools to any MCP client, over whichever transport the host already runs.

$npm install @particle-academy/prism-mcp-server

Memory

3 packages · headless — install and call it · Agent memory: vector store, semantic recall and token-budget-aware retrieval

prism-memoryPHP Backend · renders no UI

Persistent context and semantic recall for Laravel -- vector storage, remember / recall, and token-budget-aware retrieval on top of Prism. The other half of a bounded context window: somewhere for what leaves it to go, so a compacted agent is not simply blind to its own earlier work.

$composer require particle-academy/prism-memory
prism-ai-memoryPython Backend · renders no UI

Python port of prism-memory -- Persistent context and semantic recall -- vector storage, remember / recall.

prism-memoryNode / TypeScript Backend · renders no UI

Node/TS port of prism-memory -- Persistent context and semantic recall -- vector storage, remember / recall.

$npm install @particle-academy/prism-memory

Browser

3 packages · headless — install and call it · Web browsing for agents: guarded, policy-first browser automation

prism-browserPHP Backend · renders no UI

Guarded browser automation for Prism agents -- bounded observations, policy-first navigation, and durable sessions. First-party, so driving a browser from an agent does not start with a third-party approval conversation.

$composer require particle-academy/prism-browser
prism-ai-browserPython Backend · renders no UI

Python port of prism-browser -- Guarded browser automation -- bounded observations and policy-first navigation.

prism-browserNode / TypeScript Backend · renders no UI

Node/TS port of prism-browser -- Guarded browser automation -- bounded observations and policy-first navigation.

$npm install @particle-academy/prism-browser

Workspace

3 packages · headless — install and call it · Agent sandbox: a session-scoped filesystem behind a path guard

prism-workspacePHP Backend · renders no UI

Sandboxed, session-scoped agent workspaces for Laravel -- a scoped Storage disk behind a path guard, shipped with the adversarial corpus that proves the boundary holds. Where an agent gets somewhere to write without getting everywhere to write.

$composer require particle-academy/prism-workspace
prism-ai-workspacePython Backend · renders no UI

Python port of prism-workspace -- Sandboxed, session-scoped agent workspaces behind a path guard.

prism-workspaceNode / TypeScript Backend · renders no UI

Node/TS port of prism-workspace -- Sandboxed, session-scoped agent workspaces behind a path guard.

$npm install @particle-academy/prism-workspace

Human+

3 packages · headless — install and call it · Human+ presence: agent sessions joining live Fancy surfaces over MCP relay

prism-human-plusPHP Backend · renders no UI

Human+ participant presence for Prism Harness -- an agent session joins live Fancy surfaces through trusted MCP relay attachments, so the human and the agent are on the same surface rather than trading turns through a transcript.

$composer require particle-academy/prism-human-plus
prism-ai-human-plusPython Backend · renders no UI

Python port of prism-human-plus -- Human+ participant presence -- an agent session joins live Fancy surfaces, across a trust boundary.

prism-human-plusNode / TypeScript Backend · renders no UI

Node/TS port of prism-human-plus -- Human+ participant presence -- an agent session joins live Fancy surfaces.

$npm install @particle-academy/prism-human-plus

Tracing

3 packages · headless — install and call it · LLM tracing: OpenTelemetry GenAI spans for agent runs

prism-opentelemetryPHP Backend · renders no UI

OpenTelemetry bridge for Prism -- turns Prism telemetry events into GenAI-convention spans for Arize Phoenix and any OTLP backend, so agent runs are readable in the tracing you already operate rather than a second place to look.

$composer require particle-academy/prism-opentelemetry
prism-ai-opentelemetryPython Backend · renders no UI

Python port of prism-opentelemetry -- OpenTelemetry bridge -- Prism telemetry as GenAI-convention spans.

prism-opentelemetryNode / TypeScript Backend · renders no UI

Node/TS port of prism-opentelemetry -- OpenTelemetry bridge -- Prism telemetry as GenAI-convention spans.

$npm install @particle-academy/prism-opentelemetry

Perplexity

3 packages · headless — install and call it · Perplexity search, embeddings and async deep research

prism-perplexityPHP Backend · renders no UI

The rest of the Perplexity API for Prism -- embeddings, direct search, and async deep research beyond the Agent API chat surface.

$composer require particle-academy/prism-perplexity
prism-ai-perplexityPython Backend · renders no UI

Python port of prism-perplexity -- The rest of the Perplexity API -- search, embeddings and the Agent API.

prism-perplexityNode / TypeScript Backend · renders no UI

Node/TS port of prism-perplexity -- The rest of the Perplexity API -- embeddings, direct search, deep research.

$npm install @particle-academy/prism-perplexity
Why
Half the suite's server capabilities eventually want to call a model, and the Laravel ecosystem's answer is Prism. We depend on it heavily enough that waiting on upstream for a provider fix is not a position we want to be in, so we maintain a fork and keep it moving — it currently runs ahead of upstream. It is not a Fancy package and does not pretend to be one: it is someone else's excellent library that we carry, patch, and release, and it is listed here because a dependency nobody can see is a dependency nobody maintains. It sat unregistered for months, during which nothing tracked its releases and nothing tracked what it depended on — which is precisely how a vendor deprecation inside one of its providers went unnoticed until a consumer asked an unrelated question.
What
A Laravel integration layer for large language models, giving one API across providers for text generation, structured output against a schema, streaming, embeddings, and tool use. The part the kit leans on hardest is the telemetry: token usage and cost surface per request, which is what makes AI spend attributable per run, per node, and per organisation. A call that goes around Prism is spend a ledger does not have, and per-org billing that is quietly wrong is worse than billing that fails.
How
composer require particle-academy/prism. The kit reaches it through a seam rather than directly: FancyFlow\Capabilities\Adapters\PrismLlmClient implements fancy-flow-php's LlmClient contract, and prism-php/prism stays under composer suggest with every entry point isAvailable()-guarded — so fancy-flow's core keeps its no-runtime-dependencies rule and an app that already uses Prism gets a working llm_router with no glue. Credentials resolve at call time, not at boot. PrismLlmClient takes a callable mapping a host credential reference to provider config, applied through ->using($provider, $model, $config), so API keys living on a database row rather than in .env — and queue workers with no request-scoped config — are the supported case rather than the awkward one.
What next
Install a package and drive it from code or an agent.