This repository has been archived on 2026-03-09. You can view files and clone it, but cannot push or open issues or pull requests.
php-agentic/config.php
Snider 02cc11d2cf
Some checks failed
CI / PHP 8.3 (push) Failing after 2s
CI / PHP 8.4 (push) Failing after 2s
chore: update default brain URLs to *.lthn.lan convention
Ollama and Qdrant defaults now use ollama.lthn.lan and
qdrant.lthn.lan to match the homelab service mesh naming.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-03 13:19:59 +00:00

91 lines
2.8 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| MCP Portal Domain
|--------------------------------------------------------------------------
|
| The domain where the MCP Portal is served. This hosts the server registry,
| documentation, and discovery endpoints for AI agents.
|
| Production: mcp.host.uk.com
| Local dev: mcp.host.test (Valet)
|
*/
'domain' => env('MCP_DOMAIN', 'mcp.host.uk.com'),
/*
|--------------------------------------------------------------------------
| Registry Path
|--------------------------------------------------------------------------
|
| Where to find MCP server definitions. Each server has its own YAML file
| in the servers subdirectory.
|
*/
'registry_path' => resource_path('mcp'),
/*
|--------------------------------------------------------------------------
| Plan Templates Path
|--------------------------------------------------------------------------
|
| Where agent plan templates are stored. These define structured workflows
| for common development tasks.
|
*/
'templates_path' => resource_path('plan-templates'),
/*
|--------------------------------------------------------------------------
| Content Generation Paths
|--------------------------------------------------------------------------
|
| Paths for the ContentService batch generation system.
|
*/
'content' => [
'batch_path' => 'app/Mod/Agentic/Resources/tasks',
'prompt_path' => 'app/Mod/Agentic/Resources/prompts/content',
'drafts_path' => 'app/Mod/Agentic/Resources/drafts',
],
/*
|--------------------------------------------------------------------------
| Cache Keys
|--------------------------------------------------------------------------
|
| Namespaced cache keys used by agentic endpoints. Override these in your
| application config to prevent collisions with other modules.
|
*/
'cache' => [
'for_agents_key' => 'agentic.for-agents.json',
'for_agents_ttl' => 3600,
],
/*
|--------------------------------------------------------------------------
| OpenBrain (Shared Agent Knowledge Store)
|--------------------------------------------------------------------------
|
| Configuration for the vector-indexed knowledge store. Requires
| Ollama (for embeddings) and Qdrant (for vector search).
|
*/
'brain' => [
'ollama_url' => env('BRAIN_OLLAMA_URL', 'https://ollama.lthn.lan'),
'qdrant_url' => env('BRAIN_QDRANT_URL', 'https://qdrant.lthn.lan'),
'collection' => env('BRAIN_COLLECTION', 'openbrain'),
'embedding_model' => env('BRAIN_EMBEDDING_MODEL', 'embeddinggemma'),
],
];