Skip to main content

CodeLogician

CodeLogician is the neurosymbolic agentic governance framework for AI-powered coding.

It helps your coding agent think logically about the code it's producing and test cases it's generating. The fundamental flaw that all LLM-powered assistants have is the reasoning they're capable of is based on statistics, while you need rigorous logic-based automated reasoning.

  • Generated code is based on explainable logic, not pure statistics
  • Generated test cases are generated come with quantitative coverage metrics
  • Generated code is consistent with the best security practices leveraging formal verification

To run CodeLogician, please obtain an Imandra Universe API key available (there's a free starting plan) at Imandra Universe and make sure it's available in your environment as IMANDRA_UNI_KEY.

Three typical workflows:

  1. DIY mode - this is where your agent (e.g. Grok) uses the CLI to:
  • Learn how to use IML/ImandraX via doc command (e.g. codelogician doc --help)
  • Synthesizes IML code and uses the eval command to evaluate it
  • If there're errors, use codelogician doc view errors command to study how to correct the errors and re-evalute the code
  1. Agent/multi-agent mode - CodeLogician IML Agent is a Langgraph-based agent for automatically formalizing source code into Imandra Modeling Language (IML).
  • With agent command you can formalize a single source code file (e.g. codelogician agent PATH_TO_FILE)
  • With multiagent command you can formalize a whole directory (e.g. codelogician agent PATH_TO_DIR)
  1. Server
  • This is a "live" and interactive version of the multiagent command
  • It monitors the filesystem and fire's off formalization tasks on source code updates as necessary
  • You can start the server and connect to it with the TUI (we recommend separate terminal screens)

Learn more at CodeLogician!

To get started,

codelogician --help

Metadata

Release files for codelogician 2.18.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codelogician 2.18.1
File Size Uploaded
codelogician-2.18.1.tar.gz 112.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for codelogician 2.18.1
File Interpreter ABI Platform
codelogician-2.18.1-py3-none-any.whl Python 3 none any Details

Total release size: 263.1 kB

Release files / codelogician-2.18.1.tar.gz

Download URL codelogician-2.18.1.tar.gz
Size 112.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2ec1f0a482501547e26b4a1400cde8877671ba9111c9287e07a84e022f0e63ca
BLAKE2b-256 checksum
How to use checksums
991fe0d53cc4139dd7c8367ec619375b192df867fa3d3384cf98a8030e9ac1b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release files / codelogician-2.18.1-py3-none-any.whl

Download URL codelogician-2.18.1-py3-none-any.whl
Size 150.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0f32deec92e941229fe14606f7e3120b8bbad943aae7807ccad71afb5a38a10
BLAKE2b-256 checksum
How to use checksums
08febb152f5e10ef635b72fd66e15ab32016dda22db6ec817bb40072eff8a9ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release history Release notifications | RSS feed

2.22.0

2 release files

2.21.0

2 release files

This release

2.18.1 This release

2 release files

2.18.0

2 release files

2.17.0

2 release files

2.16.0

2 release files

2.15.3

2 release files

2.15.2

2 release files

2.15.1

2 release files

2.15.0

2 release files

2.14.0

2 release files

2.13.1

2 release files

2.13.0

2 release files

2.12.0

2 release files

2.11.1

2 release files

2.11.0

2 release files

2.10.1

2 release files

2.10.0

2 release files

2.9.4

2 release files

2.9.3

2 release files

2.9.2

2 release files

2.9.1

2 release files

2.9.0

2 release files

2.8.0

2 release files

2.7.3

2 release files

2.7.2

2 release files

2.7.1

2 release files

2.7.0

2 release files

2.6.1

2 release files

2.6.0

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page