PHPackages                             dappcore/agent - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. dappcore/agent

ActiveLibrary

dappcore/agent
==============

AI agent orchestration and MCP tools for Laravel

v0.22.0(2mo ago)020↑2900%EUPL-1.2GoPHP ^8.2CI failing

Since Mar 12Pushed yesterdayCompare

[ Source](https://github.com/dAppCore/agent)[ Packagist](https://packagist.org/packages/dappcore/agent)[ RSS](/packages/dappcore-agent/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (6)Versions (23)Used By (0)

core/agent
==========

[](#coreagent)

> AI agent orchestration platform for the Core ecosystem — dispatch, verify, sync, fleet — with first-class Claude / Codex / Hermes / Google provider integrations.

[![CI](https://github.com/dappcore/agent/actions/workflows/ci.yml/badge.svg?branch=dev)](https://github.com/dappcore/agent/actions/workflows/ci.yml)[![Quality Gate](https://camo.githubusercontent.com/ae054a9028bd343863c920fbc3e7a4c82c1a5a1363c519de2c15836add58a1dd/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d64617070636f72655f6167656e74266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=dappcore_agent)[![Coverage](https://camo.githubusercontent.com/04fd62f1d79d1450db9196cfe67f472624f66a6452b52c55ad42eccdbc37f41b/68747470733a2f2f636f6465636f762e696f2f67682f64617070636f72652f6167656e742f6272616e63682f6465762f67726170682f62616467652e737667)](https://codecov.io/gh/dappcore/agent)[![Security Rating](https://camo.githubusercontent.com/599604e7ccf9a9a7ef297bec41ce8e6dfd68ee6a7f6d46ac2377cec16a7ffa96/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d64617070636f72655f6167656e74266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/dashboard?id=dappcore_agent)[![Maintainability Rating](https://camo.githubusercontent.com/f26a493d2179ec6a52ec7f2a6d8683cae18d5c3616c58f62f7f9732ff6ba0584/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d64617070636f72655f6167656e74266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/dashboard?id=dappcore_agent)[![Reliability Rating](https://camo.githubusercontent.com/2e47b5fd5d7b30a349ea4c7c0183b7c1bfee2141687104899958d668c685acb8/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d64617070636f72655f6167656e74266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=dappcore_agent)[![Code Smells](https://camo.githubusercontent.com/7e171f5b602242f3da62fe0230efa50cb360296badad8524d76cb3bb644119a0/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d64617070636f72655f6167656e74266d65747269633d636f64655f736d656c6c73)](https://sonarcloud.io/dashboard?id=dappcore_agent)[![Lines of Code](https://camo.githubusercontent.com/f5a1912978387791707d8a73f165c8b8dd9db04ea9b913a21eea95c77a5ca9a9/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d64617070636f72655f6167656e74266d65747269633d6e636c6f63)](https://sonarcloud.io/dashboard?id=dappcore_agent)[![Go Reference](https://camo.githubusercontent.com/a603eeeb0221736232c649f272bd6ebbe08e145b8d271129d7ec8fca0469690f/68747470733a2f2f706b672e676f2e6465762f62616467652f64617070636f2e72652f676f2f6167656e742e737667)](https://pkg.go.dev/dappco.re/go/agent)[![License: EUPL-1.2](https://camo.githubusercontent.com/3b7871a41ea959dc3dcb73b77db0dd13b838353d6ffc04e3b2ecd170f15e4212/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4555504c2d2d312e322d626c75652e737667)](https://eupl.eu/1.2/en/)

What it is
----------

[](#what-it-is)

A single Go binary that runs as an MCP server (stdio for Claude Code integration, HTTP for cross-agent communication) plus a CLI that dispatches work across multiple AI providers.

The binary ships under two names — `core-agent` (legacy) and `lthn-agent` (the lthn-{mlx,cuda,amd,agent} family naming per [plans/project/lthn/RFC.system-architecture.md](../host-uk/core/plans/project/lthn/RFC.system-architecture.md)). The binary detects its invocation name from `argv[0]` and identifies accordingly in version output, banners, and admin token prefixes. Either build name produces the same behaviour; `lthn-agent` is the forward-going family-consistent name.

It owns:

- **Dispatch** — fan out a Mantis ticket to a sandboxed worker (Claude / Codex / Hermes / Google) running in `.core/workspace/`.
- **Fleet sync** — pull / merge / push across the Core ecosystem repos per `agents.yaml`.
- **OpenBrain** — durable memory + cross-agent messaging via Postgres + Qdrant + Ollama (homelab stack).
- **Provider integrations** — per-provider plugin trees under `provider/{claude,codex,hermes,google}/`. Claude's tree is the most fleshed out (8 plugins shipped via Claude Code marketplace).

Repository Layout
-----------------

[](#repository-layout)

```
agent/
├── go/                          Go module — module path: dappco.re/go/agent
│   ├── cmd/core-agent/          Binary entry point (mcp + serve) —
│   │                              builds `core-agent` or `lthn-agent`
│   │                              via `go build -o lthn-agent ./cmd/core-agent/`
│   ├── pkg/agentic/             Dispatch, prep, verify, scan, remote, mirror, plans/phases/sessions
│   ├── pkg/brain/               OpenBrain client (recall, remember, forget, list, messaging)
│   ├── pkg/lemma/               Local lthn-mlx client — chat sessions + /v1/admin control
│   ├── pkg/chathistory/         Per-user portable DuckDB chat archive
│   ├── pkg/monitor/             Background monitor + repo sync
│   ├── pkg/runner/              Local + container runners + dispatch queue
│   ├── pkg/setup/               Project detection + .core/ scaffolding
│   ├── pkg/lib/                 Embedded personas, prompt + flow + workspace templates
│   └── pkg/messages/            Typed IPC message definitions
├── php/                         PHP package — Laravel module + Boot, Actions,
│                                Agentic for the lthn.ai hosted service
├── provider/
│   ├── claude/                  Claude Code plugin sources (marketplace at
│   │   ├── core/                .claude-plugin/marketplace.json)
│   │   ├── core-go/             — 8 plugins: core, core-go, core-php,
│   │   ├── core-php/            devops, infra, research, hermes_runner_mcp,
│   │   ├── devops/              camofox_mcp
│   │   ├── infra/
│   │   ├── research/
│   │   ├── hermes_runner_mcp/
│   │   ├── camofox_mcp/
│   │   └── plugins/             marketplace-flavoured subset
│   ├── codex/                   codex-cli configs + harness
│   ├── hermes/                  Hermes plugin sources + skills
│   └── google/                  Google Gemini integration scaffolding
├── vm/docker/                   Containerised dev stack (Dockerfile + compose)
├── .core/                       Runtime workspace seed (agents.yaml + workspace.yaml)
├── docs/                        RFCs, onboarding, audits
├── go.work + external/          Dev workspace mode (see CLAUDE.md)
├── Taskfile.yaml                Build orchestration (module-graph refresh, etc.)
└── module-graph.json            Authoritative dappco.re/go/* dep snapshot

```

Quickstart
----------

[](#quickstart)

### As a Go module

[](#as-a-go-module)

```
go get dappco.re/go/agent@latest
```

### As a binary

[](#as-a-binary)

```
cd go
go install ./cmd/core-agent/
core-agent mcp        # MCP stdio mode for Claude Code
core-agent serve      # HTTP daemon mode
```

### As a Claude Code plugin marketplace

[](#as-a-claude-code-plugin-marketplace)

```
claude plugin marketplace add https://github.com/dappcore/agent
claude plugin install core-agent
```

The provider/claude/\* tree is the source for the plugins. The `.claude-plugin/marketplace.json` at repo root publishes them.

Build + Test
------------

[](#build--test)

```
cd go
GOWORK=off go test -count=1 ./...
GOWORK=off go vet ./...
golangci-lint run --timeout=5m --tests=false ./...
bash /Users/snider/Code/core/go/tests/cli/v090-upgrade/audit.sh .
```

Cross-compile for Charon (homelab Linux box):

```
cd go
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o core-agent-linux ./cmd/core-agent/
```

`module-graph.json` at repo root is the authoritative `dappco.re/go/*` dep snapshot — regenerate via `task module-graph:refresh` after dep bumps.

Configuration
-------------

[](#configuration)

Runtime config lives at `.core/agents.yaml` (also extracted into `~/Code/.core/agents.yaml` on first run via `core-agent setup`). Tunes dispatch concurrency, default agent type, container runtime, image, GPU passthrough, and per-provider quotas.

The repo seeds workspace template at `.core/workspace.yaml` — extracted into per-task workspaces under `~/Code/.core/workspace//`.

CI
--

[](#ci)

- **Internal** (homelab, full sonar.lthn.sh detail): Woodpecker pipeline defined in `.woodpecker.yml`.
- **Public** (badges + mirror analytics): GitHub Actions workflow at `.github/workflows/ci.yml` — pushes coverage to Codecov + analysis to SonarCloud.

Branch Model
------------

[](#branch-model)

- `dev` — active development. All Cladius / codex lane work lands here first.
- `main` — squash-stable. Promoted via the squash-and-push gate on the public mirror only.

Licence
-------

[](#licence)

EUPL-1.2 — see [LICENCE](LICENCE).

Authorship
----------

[](#authorship)

Maintained by Cladius (Snider's in-house Opus persona) via the `agent/cladius` workspace at `forge.lthn.sh/agent/cladius`. Most substantive commits land via the codex lane pattern documented in `factory/`. Per-provider integration owners:

- claude/ Cladius
- codex/ Codex (cloud) + Cyclops (lane runner persona)
- hermes/ Hermes (homelab agent at chat.lthn.sh)
- google/ reserved for Gemini integration

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance93

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

22

Last Release

88d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/268332193?v=4)[dappcore](/maintainers/dappcore)[@dAppCore](https://github.com/dAppCore)

---

Top Contributors

[![Snider](https://avatars.githubusercontent.com/u/631881?v=4)](https://github.com/Snider "Snider (1157 commits)")

---

Tags

mcpaiagentsorchestration

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/dappcore-agent/health.svg)

```
[![Health](https://phpackages.com/badges/dappcore-agent/health.svg)](https://phpackages.com/packages/dappcore-agent)
```

###  Alternatives

[vizra/vizra-adk

Vizra Agent Development Kit - A comprehensive Laravel package for building intelligent AI agents.

29434.2k](/packages/vizra-vizra-adk)[wordpress/mcp-adapter

Adapter for Abilities API, letting WordPress abilities to be used as MCP tools, resources or prompts

887184.7k8](/packages/wordpress-mcp-adapter)[php-mcp/laravel

Laravel SDK for building Model Context Protocol (MCP) servers - Seamlessly integrate MCP tools, resources, and prompts into Laravel applications

473153.0k4](/packages/php-mcp-laravel)[mischasigtermans/laravel-toon

Token-Optimized Object Notation encoder/decoder for Laravel with intelligent nested object handling

14238.4k](/packages/mischasigtermans-laravel-toon)[mischasigtermans/laravel-altitude

Claude Code agents for the TALL stack, powered by Laravel Boost

12216.4k](/packages/mischasigtermans-laravel-altitude)[symfony/ai-mate

AI development assistant MCP server for Symfony projects

28170.6k34](/packages/symfony-ai-mate)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
