Observed since 20 Oct, 22:29 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Core abstractions for Agentivium agent-native systems.
agentivium-core defines the small, domain-neutral contracts shared by
Agentivium agent-native systems. It provides typed schemas and abstract
interfaces for intent parsing, policy validation, planning, tool adaptation,
provider-neutral LLM calls, execution tracing, evaluation, and stateful
assistant runtimes. Version 0.6.0 hardens the formal verification kernel with
strict critical-check aggregation, typed counterfactuals, deterministic output,
and explicit component composition on top of the 0.5 memory and retrieval layer.
It is not an agent runtime, a provider-specific LLM wrapper, or a domain implementation. Schedulers, provider clients, policies, and orchestration belong in extension packages.
pip install agentivium-core
For local development:
pip install -e ".[dev]"
Domain packages subclass schemas and implement interfaces:
from agentivium_core.intent import IntentIR, IntentParser
class MyIntentIR(IntentIR):
domain: str = "my_domain"
task: str
class MyIntentParser(IntentParser):
def parse(
self,
request: str,
context: dict[str, object] | None = None,
) -> MyIntentIR:
return MyIntentIR(raw_request=request, task=request)
The dependency direction stays one-way: domain packages import
agentivium_core; the core never imports a domain package.
The 0.4.0 kernel keeps domain semantics in extensions while core provides the mechanism:
Intent + snapshots + candidate decision + evidence
→ verification checks
→ intent-decision relation
→ admissibility
→ approval / escalation
→ guarded domain execution
→ audit trace
The default policy fails closed: unsupported hard constraints, unknown policy compliance, missing required evidence, contradictions, expired snapshots, and provider exceptions cannot produce an accepted decision. Admissibility remains separate from authorization and approval.
Stable cross-package imports are documented in the 0.4 compatibility note. See the verifiable-intent guide for a complete non-domain extension example and strictness behavior. The additive formal verification contract documents strict aggregation, typed counterfactuals, deterministic output, and provider APIs.
The additive public changes and migration notes are documented in the 0.6 compatibility note.
The 0.5.0 memory layer makes lifecycle and authority boundaries explicit. Records declare scope, namespace, provenance, confidence, expiry, and supersession. Retrieval excludes expired or superseded records by default. Compaction is an application-replaceable contract; the offline reference implementation preserves recent turns verbatim and produces a traceable summary without storing hidden reasoning.
from agentivium_core.memory import InMemoryMemoryStore, MemoryQuery, MemoryRecord
from agentivium_core.retrieval import MemoryRetriever
store = InMemoryMemoryStore()
store.add(
MemoryRecord(
memory_id="preference-1",
memory_type="preference",
text="Prefer concise answers",
content={"response_style": "concise"},
thread_id="thread-1",
)
)
matches = store.query(MemoryQuery(text="concise", thread_id="thread-1"))
results = MemoryRetriever(store, thread_id="thread-1").retrieve("concise")
Vector retrieval remains optional: applications inject an EmbeddingClient
and a VectorStore; Core includes only an in-memory cosine adapter for tests
and small local deployments. See the 0.5 compatibility note.
from agentivium_core.intent import IntentIR, IntentParser
from agentivium_core.planner import ActionPlan, Planner
from agentivium_core.policy import (
PolicyValidator,
ValidationIssue,
ValidationResult,
)
from agentivium_core.tools import ToolAdapter
from agentivium_core.trace import ExecutionTrace
from agentivium_core.eval import EvaluationRecord
Agentivium Core 0.3.0 added reusable abstractions for multi-turn assistant systems: conversation state, context packs, memory, retrieval, ambiguity modeling, clarification requests, intent updates, tool permissions, trace events, and multi-turn evaluation records.
from agentivium_core.clarification import (
BlockingFirstClarificationPlanner,
IntentAmbiguity,
)
ambiguities = [
IntentAmbiguity(
field="policy.account",
ambiguity_type="missing_required",
severity="blocking",
reason="Account is required.",
question="Which account should I use?",
)
]
planner = BlockingFirstClarificationPlanner()
request = planner.plan_clarification(ambiguities)
print(request.questions[0].question)
Domain packages specialize these contracts. For example, hpc-claw can build
HPC-specific context providers, policy checks, and tool adapters on top of the
core assistant-runtime interfaces without adding scheduler logic to core.
agentivium-core defines LLMClient, LLMRequest, LLMResponse,
PromptTemplate, StructuredOutputSpec, and LLMCallTrace so downstream
packages can use LLMs without coupling core to OpenAI, Anthropic, Gemini,
Ollama, vLLM, llama.cpp, or any other provider.
from agentivium_core.llm import (
LLMClient,
LLMRequest,
LLMResponse,
PromptTemplate,
)
class MyLocalLLMClient(LLMClient):
def generate(self, request: LLMRequest) -> LLMResponse:
return LLMResponse(content='{"intent": "example"}', model="local")
template = PromptTemplate(
name="intent_parser",
system="You extract structured intent.",
user_template="Request: {request}",
)
messages = template.render({"request": "Run a small MPI job."})
client = MyLocalLLMClient()
response = client.generate(LLMRequest(messages=messages))
print(response.content)
Production provider clients live in domain or provider packages. Core only
defines the contracts and a MockLLMClient for tests and demos.
See the concepts, API reference, extension guide, and examples. The complete v0.1 rationale and boundaries are preserved in the original design guideline.
pypistats · 54 observations shown. Missing days are unknown. Source category: overall: without mirrors.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-20 – 2026-10-20 | 3 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-19 – 2026-10-19 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-18 – 2026-10-18 | 4 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-17 – 2026-10-17 | 11 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-16 – 2026-10-16 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-15 – 2026-10-15 | 6 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-14 – 2026-10-14 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-13 – 2026-10-13 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-12 – 2026-10-12 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-10 – 2026-10-10 | 10 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-09 – 2026-10-09 | 2 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-07 – 2026-10-07 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-06 – 2026-10-06 | 10 | 2026-10-21T14:33:35.0048228Z |
| 2026-10-02 – 2026-10-02 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-30 – 2026-09-30 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-28 – 2026-09-28 | 2 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-27 – 2026-09-27 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-26 – 2026-09-26 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-23 – 2026-09-23 | 2 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-22 – 2026-09-22 | 3 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-20 – 2026-09-20 | 12 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-19 – 2026-09-19 | 4 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-16 – 2026-09-16 | 13 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-15 – 2026-09-15 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-14 – 2026-09-14 | 12 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-13 – 2026-09-13 | 13 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-10 – 2026-09-10 | 2 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-07 – 2026-09-07 | 5 | 2026-10-21T14:33:35.0048228Z |
| 2026-09-01 – 2026-09-01 | 2 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-31 – 2026-08-31 | 2 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-28 – 2026-08-28 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-24 – 2026-08-24 | 7 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-23 – 2026-08-23 | 4 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-19 – 2026-08-19 | 3 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-17 – 2026-08-17 | 2 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-15 – 2026-08-15 | 2 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-14 – 2026-08-14 | 4 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-11 – 2026-08-11 | 10 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-10 – 2026-08-10 | 2 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-09 – 2026-08-09 | 6 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-06 – 2026-08-06 | 15 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-04 – 2026-08-04 | 2 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-03 – 2026-08-03 | 6 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-02 – 2026-08-02 | 7 | 2026-10-21T14:33:35.0048228Z |
| 2026-08-01 – 2026-08-01 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-07-31 – 2026-07-31 | 5 | 2026-10-21T14:33:35.0048228Z |
| 2026-07-30 – 2026-07-30 | 10 | 2026-10-21T14:33:35.0048228Z |
| 2026-07-29 – 2026-07-29 | 2 | 2026-10-21T14:33:35.0048228Z |
| 2026-07-28 – 2026-07-28 | 7 | 2026-10-21T14:33:35.0048228Z |
| 2026-07-27 – 2026-07-27 | 6 | 2026-10-21T14:33:35.0048228Z |
| 2026-07-26 – 2026-07-26 | 7 | 2026-10-21T14:33:35.0048228Z |
| 2026-07-25 – 2026-07-25 | 9 | 2026-10-21T14:33:35.0048228Z |
| 2026-07-24 – 2026-07-24 | 1 | 2026-10-21T14:33:35.0048228Z |
| 2026-07-23 – 2026-07-23 | 18 | 2026-10-21T14:33:35.0048228Z |
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.6.0 | 18 Jul 2026 | 4 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:29 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:2a4d18449f5030ac234da269f4ccff6173a205d72e2372251dfd89bc6e858cdd