neuron-symfony-integration

neuron-symfony-integration is a skill for Claude Code, Codex from neuron-core/neuron-ai. It costs 233 tokens per session (14,946 once invoked), scanned A, original, MIT.

A setup guide for running Neuron AI agents inside a Symfony 8 application. Symfony is a PHP web framework; the guide covers configuration, database storage, web requests, background jobs, streaming, approvals, and tests.

In plain words
What is it for?
Use it to integrate Neuron into Symfony, bind agents to conversation threads, expose chat endpoints, run jobs, and handle streamed responses.
Why use it?
It removes the guesswork involved in connecting Neuron's agent features to Symfony services, requests, workers, and data storage.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to integrate Neuron into Symfony, bind agents to conversation threads, expose chat endpoints, run jobs, and handle streamed responses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neuron-core/neuron-ai/neuron-symfony-integration
About the project

Neuron AI is a PHP framework for building AI applications in which agents connect language models, tools, data loaders, vector databases, memory, and user interfaces. PHP developers use it to create and manage applications with agent workflows, multi-agent coordination, streaming, monitoring, and human involvement.

neuron-core/neuron-ai · 2,186 stars · on GitHub · neuron-ai.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add neuron-core/neuron-ai --skill neuron-symfony-integration
Clone the repo
git clone --depth 1 https://github.com/neuron-core/neuron-ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for neuron-symfony-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/neuron-core/neuron-ai/neuron-symfony-integration/github.svg)](https://agentmods.dev/skills/neuron-core/neuron-ai/neuron-symfony-integration)
Your own site
<a href="https://agentmods.dev/skills/neuron-core/neuron-ai/neuron-symfony-integration"><img src="https://agentmods.dev/badge/skills/neuron-core/neuron-ai/neuron-symfony-integration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for neuron-symfony-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/neuron-core/neuron-ai/neuron-symfony-integration"><img src="https://agentmods.dev/badge/skills/neuron-core/neuron-ai/neuron-symfony-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 233 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,946 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00233 $0.14946
Opus 5.5 $0.00093 $0.05978
Sonnet 5.5 $0.00047 $0.02989
Haiku 4.5 $0.00023 $0.01495

Measured 2d ago against content hash d61b693a1bbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

neuron-symfony-integration scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `StreamedResponse` takes the generator as chunks and flushes each one: frames reached `curl` one at a time, as `text/event-stream; charset=UTF-8` with `X-Accel-Buffering: no`. `frames()` ends a failure after the first
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/neuron-symfony-integration/SKILL.md · 803 lines

How it starts

The opening of the file, as written. The whole thing — 803 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Neuron AI Symfony Integration

This skill wires Neuron into a Symfony 8 application: first the foundations every feature stands on (packages, layout, keys, tables, container wiring, error mapping, the evaluation command), then the features users ask for, from the agent and the controllers that run it inside a request to the Messenger handler that runs it in a worker, the Stop button, observability, evaluation and tests. Every snippet comes from a reference app (Symfony 8.1, Doctrine DBAL 4, Messenger on Redis) that ran on SQLite, MySQL 8.4, MariaDB 11.7 and PostgreSQL 17. What the agent, the protocols, the approval flow and evaluators mean is owned by the skills under Related; this one owns the Symfony shape.

The Mental Model

The container holds definitions; every request or message works on a bound copy. The agent is a shared service. A controller or handler calls $this->agent->for($threadId), which returns a copy bound to the thread and leaves the shared agent unbound. Per-request pieces (stream adapter, channel, frontend tools) go on the copy. Never call setThreadId() on the injected agent: the second thread served by the same container (the next message in a worker, the next request under a worker runtime or a test client that does not reboot) throws WorkflowException: This workflow is bound to 't-a' and cannot be re-pointed to 't-b'.

Hooks run once per copy, so anything holding a connection is resolved there. The agent pulls its stores through service closures of shared: false services built on Doctrine's current PDO. The shared agent never resolves them; each copy gets its own instances.

Piece Where Lifetime
SupportAgent: provider hook, instructions, tools() hook src/Neuron/Agents, autowired Shared service, never bound
Bound copy + adapter, channel, frontend tools Controller action, message handler One request or one message
Tools, scoped to the thread's customer Built by tools() on each copy One copy
MessageStoreInterface, PersistenceInterface, neuron.pdo config/packages/neuron.yaml shared: false: new per resolution, current PDO
WorkflowEngine Autowired, shared: false Reads runs without building the agent
Provider wrapped in StoppableHttpClient Agent provider() hook Built for every execution segment
Stop flags Cache pool neuron.stop_signals Raised by Stop, cleared by the next turn (5 minutes at most)
Thread ownership ThreadVoter + #[IsGranted] Every Neuron route
Neuron exceptions to statuses NeuronExceptionListener kernel.exception
Background turn RunSupportAgent message + handler Run ID minted at dispatch
Evaluators src/Neuron/Evaluators, run by bin/console neuron:evaluate One copy with in-memory stores per dataset item

Read the full file on GitHub · 803 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +12 tokens per session d61b693a1bbb
  2. 25d ago Changed e6815cd5a4f6
  3. 27d ago Changed 971ace029da7
  4. 1mo ago Changed d7a8d1dfa1b1
  5. 1mo ago Changed 6e003b0ce0fd
  6. 1mo ago Changed · +2 lines 5ade2a8402f9
  7. 1mo ago Changed · +6 lines 456c7012793a
  8. 2mo ago First seen · 795 lines · 221 tokens per session scan A a91cf4f4ed16

Subscribe to this mod's changes

neuron-symfony-integration is a skill published in the GitHub repository neuron-core/neuron-ai (2,186 stars, last pushed 2d ago), licensed MIT. It adds 233 tokens to every session and 14,946 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-01.

Related

neuron-symfony-integration compared with skills from other repositories

neuron-symfony-integration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neuron-symfony-integrationneuron-core/neuron-aiSkill2.2k2d agoMITA233Claude Code, Codex
neuron-laravel-integrationneuron-core/neuron-laravelSkill12412d agoMITA236Claude Code, Codex
neuron-symfony-integrationneuron-core/neuron-laravelSkill12412d agoMITA221Claude Code, Codex
neuron-agentneuron-core/neuron-laravelSkill12412d agoMITA48Claude Code, Codex
laravelericrisco/rsc-harnessSkill6824d agoMITA75Claude Code, Codex
php-laravelWrongStack/WrongStackSkill444todayMITA85Claude Code
mvc-expertroedyrustam/vibes-plugSkill1293d agoMITA30Cursor