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:
- DIY mode - this is where your agent (e.g. Grok) uses the CLI to:
- Learn how to use IML/ImandraX via
doccommand (e.g.codelogician doc --help) - Synthesizes IML code and uses the
evalcommand to evaluate it - If there're errors, use
codelogician doc view errorscommand to study how to correct the errors and re-evalute the code
- Agent/multi-agent mode - CodeLogician IML Agent is a Langgraph-based agent for automatically formalizing source code into Imandra Modeling Language (IML).
- With
agentcommand you can formalize a single source code file (e.g.codelogician agent PATH_TO_FILE) - With
multiagentcommand you can formalize a whole directory (e.g.codelogician agent PATH_TO_DIR)
- Server
- This is a "live" and interactive version of the
multiagentcommand - 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.21.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| codelogician-2.21.0.tar.gz | 147.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| codelogician-2.21.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 343.1 kB
Release files / codelogician-2.21.0.tar.gz
| Download URL | codelogician-2.21.0.tar.gz |
|---|---|
| Size | 147.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
702c6a97fb597944b807eeafdee5c67ed9d51e58523d7f55491e034fef1aee88
|
|
BLAKE2b-256 checksum How to use checksums |
ee47c41e1eefbf1dbb6df26cc8920ace39dcc9eb22a8f938a2848c2a2e5eac3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / codelogician-2.21.0-py3-none-any.whl
| Download URL | codelogician-2.21.0-py3-none-any.whl |
|---|---|
| Size | 195.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6aba62ae6f27ba0ad027a2a10c3dc50eda6a91184d14d1ae14d798b8a4fb438
|
|
BLAKE2b-256 checksum How to use checksums |
f2f97f833bad9f09b7cd76b570bd6f94361ba26fc37d14033df158d0f3a9e2b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|