Five drop-in components that bring Semantica’s KG, vector memory, and decision intelligence into any Agno agent or team.

Installation

# Core integration
pip install "semantica[agno]"

# With a graph store backend
pip install "semantica[agno,graph-neo4j]"
pip install "semantica[agno,graph-falkordb]"

# Full stack
pip install "semantica[agno,graph-neo4j,vectorstore-pgvector]"

Components at a Glance

AgnoContextStore

AgentMemory(db=…): Replaces Agno’s flat storage with hybrid vector + context graph memory. Adds decision tracking and precedent search to any agent.

AgnoKnowledgeGraph

Agent(knowledge=…): Documents flow through the full Semantica extraction pipeline into a queryable ContextGraph with multi-hop GraphRAG.

AgnoDecisionKit

Agent(tools=[…]): 6 decision intelligence tools: record decisions, find precedents, trace causal chains, analyze impact, check policies, summarize history.

AgnoKGToolkit

Agent(tools=[…]): 7 KG construction tools: extract entities, extract relations, add to graph, query graph, find related, infer facts, export subgraph.

AgnoSharedContext

Team-level: A single ContextGraph shared across all agents. Each agent gets a role-scoped view via bind_agent(). Writes are tagged by role.

Component Details

Replaces Agno’s flat conversation storage with a hybrid vector + context graph memory store. Implements agno.memory.db.base.MemoryDb.
from agno.agent import Agent
from agno.memory import AgentMemory
from agno.models.openai import OpenAIChat
from semantica.context import ContextGraph
from semantica.vector_store import VectorStore
from integrations.agno import AgnoContextStore

store = AgnoContextStore(
    vector_store=VectorStore(backend="faiss"),
    knowledge_graph=ContextGraph(advanced_analytics=True),
    decision_tracking=True,
    graph_expansion=True,
    session_id="user_session_42",
)

agent = Agent(
    model=OpenAIChat(id="gpt-4o"),
    memory=AgentMemory(db=store),
    description="A financially aware assistant with persistent decision intelligence.",
)
MethodDescription
upsert_memory()Store text in AgentContext (vector index + graph node)
read_memories()Hybrid retrieval: vector similarity + graph hop expansion
record_decision()Record a structured decision with reasoning and outcome
find_precedents()Return semantically similar historical decisions

API Reference

from integrations.agno import (
    AgnoContextStore,    # MemoryDb implementation
    AgnoKnowledgeGraph,  # AgentKnowledge implementation
    AgnoDecisionKit,     # Decision intelligence Toolkit
    AgnoKGToolkit,       # Knowledge graph Toolkit
    AgnoSharedContext,   # Team-level shared context
    AGNO_AVAILABLE,      # bool: True if agno is installed
)
All five classes are usable without agno installed: they carry the full Semantica API and degrade gracefully.

See Also

Context Module

AgentContext and ContextGraph backing the integration.

Knowledge Graph

KG construction used by AgnoKnowledgeGraph.

LLMs

Configure LLM providers for Agno agents.

Vector Store

Vector backend for AgnoContextStore.