Skip to content

IntentusNet - Deterministic intent routing runtime for agent execution, with explicit fallback, transport abstraction, and clear operational boundaries.

License

Notifications You must be signed in to change notification settings

Balchandar/intentusnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

76 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

IntentusNet

Deterministic Execution Runtime for Intent Routing and Multi-Agent Systems

Deterministic β€’ Transport-Agnostic β€’ EMCL-Ready β€’ MCP-Compatible

IntentusNet is an open-source, language-agnostic execution runtime for multi-agent and tool-driven systems.
It makes routing, fallback, and failure handling deterministic, replayable, explainable, and production-operable.

IntentusNet focuses strictly on execution semantics (not planning, reasoning, or prompt intelligence) β€” ensuring that execution behavior remains predictable even when models are not.


License Python MCP Architecture


Documentation

πŸ“š Docs site: https://intentusnet.com

Start here:

  • Introduction β€” what IntentusNet is (and isn’t)
  • Guarantees β€” the execution contract
  • Architecture β€” routing, execution, recording, replay
  • CLI β€” inspect, trace, replay, diff

Quickstart

Install the Python runtime:

pip install intentusnet

Run a deterministic intent execution:

from intentusnet.runtime import IntentRuntime
from intentusnet.intent import Intent

runtime = IntentRuntime.load_default()

result = runtime.execute(
    Intent(
        name="summarize_text",
        payload={"text": "Hello world"},
    )
)

print(result.output)

Inspect and replay the execution (no model re-run):

intentusnet executions list
intentusnet executions show <execution-id>
intentusnet executions replay <execution-id>

Why IntentusNet

Modern LLM systems are observable, but not debuggable.

In real production systems, failures are often:

  • irreproducible
  • incorrectly blamed on models
  • hidden behind retries and fallback logic
  • impossible to replay or audit

IntentusNet enforces deterministic execution semantics around LLMs and tools, so failures become:

  • Replayable
  • Attributable
  • Explainable

Guarantees at a Glance

IntentusNet provides an explicit execution contract:

Guarantee Status Description
Deterministic Routing Provided Same input β†’ same agent selection order
Execution Recording Provided Every execution captured with stable hash
Replay Without Re-execution Provided Recorded output returned, no model calls
Policy Filtering Provided Partial allow/deny with continuation
Structured Errors Provided Typed error codes, no silent failures
Crash Recovery Provided (v1.3.0) WAL-backed execution state & recovery

➑️ Full guarantee details: https://intentusnet.com/docs/guarantees


Execution Recording & Deterministic Replay

IntentusNet treats executions as immutable facts, not transient logs.

Each execution is:

  • recorded as a first-class artifact
  • replayable deterministically (without re-running models)
  • inspectable after crashes or upgrades

This enables:

  • reliable root-cause analysis
  • auditability and compliance
  • safe model iteration without rewriting history

The model may change.
The execution must not.

This design is formalized in:
RFC-0001 β€” Debuggable Execution Semantics for LLM Systems
β†’ rfcs/RFC-0001-debuggable-llm-execution.md

Non-goals: IntentusNet does not plan tasks, reason about goals, evaluate outputs, or optimize prompts.


Core Capabilities

  • Deterministic intent routing
  • Explicit fallback chains
  • Execution recording (WAL-backed)
  • Deterministic replay & verification
  • Crash-safe recovery
  • Typed failures & execution contracts
  • Operator-grade CLI
  • Transport-agnostic execution

Intent-Oriented Routing

  • Capability-driven routing
  • Explicit fallback sequences
  • Sequential or parallel execution
  • Priority-based routing
  • Auditable routing decisions
  • Trace spans with execution metadata

Routing decisions are deterministic and replayable, not heuristic.


EMCL Secure Envelope (Optional)

IntentusNet supports EMCL (Encrypted Model Context Layer):

  • AES-GCM authenticated encryption
  • HMAC-SHA256 signing (demo provider)
  • Identity-chain propagation
  • Anti-replay protections

EMCL is optional and transport-agnostic.


MCP Compatibility

IntentusNet is MCP-compatible by design:

  • Agents can be wrapped as MCP tools
  • MCP tool requests can be accepted
  • MCP-style responses can be emitted
  • Optional EMCL-secured MCP envelopes

IntentusNet provides deterministic execution semantics around MCP tools, not a replacement for MCP.

πŸ“˜ MCP Documentation:
https://intentusnet.com/docs/mcp

πŸ“¦ MCP Adapter Source:
https://github.com/Balchandar/intentusnet/tree/main/src/intentusnet/mcp


Language-Agnostic Design

Agents can be implemented in any language that supports:

  • HTTP / JSON
  • ZeroMQ
  • WebSocket

Including: Python, C#, Go, TypeScript, Rust.


SDK Status

Included β€” Python Runtime SDK

  • Intent router & fallback engine
  • Agent base classes
  • Agent registry
  • Multi-transport execution
  • Execution recorder & replay engine
  • WAL-backed crash recovery
  • EMCL providers
  • MCP adapter
  • CLI tooling
  • Example agents & demos

Note: Higher-level ergonomic SDKs (decorators, auto-registration) and C#/TypeScript SDKs are planned next.


Demos

All demos are runnable, deterministic, and replayable.

πŸ“‚ Demo Index:
https://intentusnet.com/docs/demos


deterministic_routing_demo

Compares three approaches using identical capabilities:

  • without β€” ad-hoc production glue code
  • with β€” deterministic routing via IntentusNet
  • mcp β€” routing backed by a mock MCP tool server

πŸ“˜ Demo Documentation:
https://intentusnet.com/docs/demos/deterministic-routing

πŸ“¦ Source Code:
https://github.com/Balchandar/intentusnet/tree/main/examples/deterministic_routing_demo

python -m examples.deterministic_routing_demo.demo --mode without
python -m examples.deterministic_routing_demo.demo --mode with
python -m examples.deterministic_routing_demo.demo --mode mcp

execution_replay_example

Demonstrates how model upgrades change live behavior while past executions remain replayable without re-running models.

πŸ“˜ Demo Documentation:
https://intentusnet.com/docs/demos/execution-replay

πŸ“¦ Source Code:
https://github.com/Balchandar/intentusnet/tree/main/examples/execution_replay_example


Operational Scope (Important)

IntentusNet is a deterministic execution runtime, not an autonomous agent framework.

Guarantees

  • Deterministic routing, fallback, and failures
  • Crash-safe execution recording
  • Deterministic replay or loud failure on divergence
  • Explicit contracts and typed failures
  • CLI-first operational control

Explicit Non-Goals

  • No task planning or reasoning
  • No evaluation of model outputs
  • No replacement for workflow engines
  • No distributed consensus in v1

Determinism Boundary

Determinism is enforced at the execution layer, not the model layer.
Non-deterministic model behavior is detected, recorded, and surfaced β€” never hidden.


Roadmap

Next

  • Python ergonomic SDK
  • C# SDK
  • TypeScript SDK
  • MCP adapter improvements
  • EMCL key rotation

Future (Optional)

  • Multi-agent planning layer (research)
  • Trust-scored routing

Author

Balachandar Manikandan


License

MIT License


Keywords

Deterministic execution runtime, intent routing, explicit fallback chains, replayable agent workflows, debuggable LLM systems, execution recording, WAL-backed recovery, MCP-compatible runtime, EMCL-secured agent communication, transport-agnostic AI infrastructure.