Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By pattern-stackv0.1.0MIT
Streams all 26 Claude Code lifecycle events (tool calls, permissions, subagents, compaction, sessions) into the @pattern-stack/agentic-server dashboard for live observability, and ships the `build-on-agentic-patterns` skill (how to register + build agents on the framework). Pair with `ap playground`. See https://github.com/pattern-stack/agentic-patterns-ts/blob/main/docs/CLAUDE-CODE-PLUGIN-ACTIVATION.md for activation + troubleshooting.
Claude loads one when your task matches it, or you run it by name.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
agents, observability, llm, ai
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A compositional agent framework for TypeScript. Agents are built by composing frozen, immutable primitives upward through layers -- from atoms to organisms -- then executed by a runtime with events, gates, workflows, and exporters.
| Package | Description |
|---|---|
@pattern-stack/agentic-core | Atoms, protocols, molecules, rendering, organisms |
@pattern-stack/agentic-runtime | Runner, events, gates, workflows, transport, multi-agent, exporters |
@pattern-stack/agentic-server | Hono HTTP server — routes, SSE, admin API, Claude Code hook bridge |
@pattern-stack/agentic-cli | ap — discover agents, chat in terminal, launch dashboard |
Runtime depends on core. Server depends on runtime + core. Core never imports runtime.
npm install -g @pattern-stack/agentic-cli
ap init my-agents --provider=anthropic --with-plugin
cd my-agents
cp .env.example .env # add ANTHROPIC_API_KEY
bun install
bun run dev # http://localhost:3456
--with-plugin also drops a Claude Code plugin next to your project — open Claude Code in that directory and every one of the 26 lifecycle events (tool calls, permission prompts, subagent spawns, compaction, etc.) streams live into the dashboard's /claude-code page, grouped by session.
Or, skip the CLI and use the library directly:
bun add @pattern-stack/agentic-core @pattern-stack/agentic-runtime
Anthropic, OpenAI and Google Gemini ship with the runtime — set one key, name a model, go. No provider package to install.
import { Persona, Mission, RoleBuilder, AgentBuilder } from "@pattern-stack/agentic-core";
import { createRunner } from "@pattern-stack/agentic-runtime";
const role = new RoleBuilder("assistant")
.withPersona(new Persona({ identity: "a helpful assistant", tone: "concise" }))
.build();
const agent = new AgentBuilder(role)
.withMission(new Mission({ objective: "Help the user" }))
.build();
// Reads ANTHROPIC_API_KEY / OPENAI_API_KEY / GOOGLE_GENERATIVE_AI_API_KEY.
// Pin an exact model with `modelId` (or the AGENT_MODEL env var).
const { runner } = await createRunner({ modelId: "claude-sonnet-4-5" });
const result = await runner.run(agent, "Hello!");
console.log(result.response);
Any other provider (Groq, Mistral, xAI, DeepSeek, OpenRouter) works the same way once you bun add its @ai-sdk/* package. Or hand createRunner a model you built yourself: createRunner({ model: myModel }).
git clone https://github.com/pattern-stack/agentic-patterns-ts
cd agentic-patterns-ts
bun install
bun run build
bun run test
Agents are composed from small, frozen primitives. Each primitive answers one question about the agent's behavior.
import { Persona } from "@pattern-stack/agentic-core";
const persona = new Persona({
identity: "a research assistant specializing in data analysis",
tone: "professional and precise",
priorities: ["accuracy over speed"],
});
import { Mission } from "@pattern-stack/agentic-core";
const mission = new Mission({
objective: "Analyze the provided dataset and produce a summary.",
successCriteria: [
"Identify top 3 trends",
"Include statistical backing",
],
constraints: ["Only use provided data, no external sources"],
});
import { Judgment } from "@pattern-stack/agentic-core";
const sourceQuality = new Judgment({
domain: "source-quality",
heuristics: [
"Prefer peer-reviewed sources",
"Cross-reference statistics across multiple sources",
],
escalationTriggers: [
"Contradictory data from equally credible sources",
],
});
A Role composes primitives into a reusable template. Build one with
the fluent RoleBuilder.
import { RoleBuilder, Responsibility } from "@pattern-stack/agentic-core";
const role = new RoleBuilder("research-assistant")
.withPersona(persona)
.withJudgment(sourceQuality)
.withResponsibility(new Responsibility({
key: "analysis",
name: "Data Analysis",
description: "Produce accurate, well-sourced quantitative analysis",
}))
.build();
An Agent is a Role instantiated with a Mission and optional context.
import { AgentBuilder } from "@pattern-stack/agentic-core";
const agent = new AgentBuilder(role)
.withMission(mission)
.withModel("claude-sonnet-4-20250514")
.build();
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (pattern-stack/agentic-patterns-ts) — no native marketplace selected
npx claudepluginhub p/pattern-stack-agentic-patternsPlugins from other owners that cover similar ground