praxo_core

Embeddable MIT-licensed agent framework for Nim: tools, policy, events, memory, middleware, and an agent loop


Keywords
agents, llm, framework, tool-calling, ai, agent-framework, nim
License
MIT
Install
nimble install praxo_core

Documentation

PRAXO-CORE for Nim

Native Nim Core for the PRAXO-CORE agent framework. This repository is the Nimble/nimpkgs source package; the main contract and cross-language sources live in axisvela/praxo-core.

  • SPEC_VERSION: 0.2.0
  • Core version: 0.1.1
  • Package: praxo_core
  • Import: import praxo
  • License: MIT

Install

nimble install praxo_core

Scope

The Core implements all eleven conformance vector groups: toolcall, JSON Schema, plugin, memory, event, stream, checkpoint, policy, context, middleware, and the agent loop. It includes the native agent loop, context compaction, memory store, path policy, checkpoint allowlist, tool-call parsing, and opt-in tool selection, PII redaction, structured output, and call limits.

The Core does not call Go or another language runtime. Provider adapters and plugin hosts remain outside the declared Core scope.

API

import praxo

let call = parseToolCall("""<tool_call name="echo">{"text":"hi"}</tool_call>""")
assert call.isSome
assert call.get().name == "echo"

Links