GhostCrab MCP + mindBrain SQLite — structured domain navigation for Agno agents #8041
FrancoisLamotte
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What problem this solves
Agno agents are powerful in isolation. The problem starts the moment two agents share a domain.
Each
Agentwires its own memory backend: session storage, user memories, and summariesall live in separate tables, scoped per agent. On a multi-agent team, no agent sees
what the others know. Facts extracted by
ResearchAgentare invisible toWriterAgent.Context rebuilt from scratch at every run. Knowledge scattered and ephemeral.
This request adds two complementary components that solve this without touching Agno core.
What a domain looks like in practice
A domain is any bounded context where agents need to
reason over structured relationships : not just retrieve text.
mindBrain separates two levels:
Ontology (the model) : the schema of a domain:
entity types, relationship types, constraints, vocabularies.
Defined once, shared across every agent in the team, across every run.
Knowledge Graph (the projected instance) : the populated graph:
real entities, real edges, real state : queryable via projections.
Example: multi-agent project delivery
OrchestratorAgent queries MindBrain:
"what is blocking DevAgent this sprint?" →
returns the full dependency chain in a single call.
No context-window dump. No re-reading artifact files.
Example: ERP domain
A FinanceAgent resolving a billing anomaly navigates
account structure, approval rules, and GL history
without re-injecting 300 rows of CSV each session.
Example: CRM domain
A SalesAgent preparing a renewal call retrieves
account tier, active deals, recent interaction history,
and known constraints in one structured query.
Example: Customer Support domain
A SupportAgent resolving TK-9821 immediately sees
the linked incident, the known issue, and its resolution history —
without searching knowledge bases or escalating blindly.
The meta-ontology: where mindBrain becomes strategic
Each domain above is useful alone. The real leverage is connecting them.
A single Agno team working on a cross-domain task — say, an enterprise renewal
involving a billing dispute, an open support ticket, and a stalled deal —
can query all four domains in one pass from the same structured registry.
The Agno OrchestratorAgent doesn't ask each specialized agent
"what do you know about NovaTech?" — it navigates the graph directly.
Context does not need to transit through natural language.
Relations carry their semantics natively.
That is the difference between memory and ontology.
Two components, one integration
mindBrain (SQLITE : Personal edition)
The data layer. It organizes domain knowledge into three constructs:
Agents don't search through data. They navigate a structured domain
the way a developer navigates a codebase, not a search index.
Embedding search is available for unstructured recall, but it's the fallback,
not the default.
GhostCrab MCP
The gateway layer. An MCP server that gives Agno agents the tools to:
GhostCrab is a protocol bridge. mindBrain exists and operates independently.
Why this belongs outside Agno core
It should stay external.
Agno already exposes clean extension points:
MCPToolsfor tool-level integrationand a pluggable
MemoryDbinterface for deep memory integration.mindBrain uses both without modifying Agno agents, teams, or workflows.
Domain ontologies are specific to each application's context.
Baking a particular schema into the framework would be the wrong abstraction.
GhostCrab's value is precisely that it's optional, composable,
and invisible when not needed.
If GhostCrab is absent : Agno behaves exactly as before.
If mindBrain is empty : agents start with a blank namespace and populate it
through normal tool use during the first run.
Setup
Two integration paths, independently usable and combinable:
Path 1 — MCPTools (preferred, zero friction)
The agent gets tools such as
ontology_query,entity_resolve,graph_traverse,context_pushfrom GhostCrab — without changing the framework.Path 2 — Custom
MemoryDbbackend (deep integration)Agno fact extraction writes directly into the ontology registry —
no explicit tool call needed from the agent.
→ Full configuration, skill files, and tested Agno walkthrough:
https://github.com/mindflight-orchestrator/ghostcrab-personal-mcp/blob/main/ghostcrab-integrations/agno/sop-agno-ghostcrab-mindbrain.md
https://github.com/mindflight-orchestrator/ghostcrab-personal-mcp/blob/main/ghostcrab-integrations/agno/skill_ghostcrab_personal_agno_runtime.md
Scope of this request
agno>=0.7(already available)agno>=0.7, MCPTools + MemoryDb interfaceBeta Was this translation helpful? Give feedback.
All reactions