Skip to main content

Nexus

Cognitive strategy engine — self-hosted Mistral 7B, zero external AI cost

1 min read


Nexus analyzes sites and synthesizes optimal extraction plans. Use it when you don't know which modules to use or the site has complex structure requiring multiple steps.

NEXUS uses a self-hosted Mistral 7B model — zero external AI cost, zero data leaves your infrastructure.

analyze

result = client.nexus.analyze("https://example.com")
print(result.page_type, result.complexity_level, result.strategy)

synthesize

plan = client.nexus.synthesize(
    perception_id=result.perception_id,
    timeout=90,
)
print(plan.strategy_id, plan.strategy_name, plan.generated_code)

verify

result = client.nexus.verify(strategy_id=plan.strategy_id)
print(result.is_safe, result.risk_score, result.violations)

execute

result = client.nexus.execute(
    strategy_id=plan.strategy_id,
    url="https://example.com",
)
print(result.success, result.records)

knowledge

kb = client.nexus.knowledge(
    execution_result_id=result.execution_result_id,
)
print(kb.learned_concepts, kb.learned_patterns)

Next steps

Was this page helpful?