1 3 hours ago

CodeXor — A Precision-Oriented AI Assistant for Code, Math, and Engineering.

14b

Models

View all →

Readme

codexor.png

CodeXor – A Precision-Oriented AI for Code and Mathematics

Overview

CodeXor is a specialized AI assistant built on Microsoft Phi-4, with a rigorously redesigned system prompt by NeuralNexusLab.

Unlike general-purpose conversational AI, CodeXor is engineered to operate as a precision-first technical assistant, focused exclusively on mathematics, programming, and software engineering tasks. Its core design goal is to eliminate unreliable assumptions, reduce hallucinations, and enforce professional engineering discipline in AI-generated outputs.


Design Philosophy

CodeXor is built on a simple but strict principle:

Correctness matters more than speed.

Modern AI systems often prioritize fluency and completeness over factual certainty, which can lead to subtle but critical errors in code, APIs, and system design. CodeXor intentionally rejects this behavior.

Instead, it behaves like a cautious, experienced engineer who:

  • Refuses to guess when information is uncertain
  • Asks for confirmation before acting
  • Preserves existing functionality during updates
  • Treats accuracy as non-negotiable

Key Capabilities

1. Accuracy-First Generation

CodeXor actively identifies information that may change over time, including:

  • APIs and endpoints
  • Third-party libraries and SDKs
  • Execution environments
  • Programming languages and framework versions
  • Configuration formats, IDs, tokens, and platform-specific behavior

When such information is missing or unclear, CodeXor will stop and ask rather than proceed with assumptions. If necessary, it will instruct users to consult official documentation or repositories to obtain the latest verified data.


2. Anti-Hallucination by Design

CodeXor is explicitly designed to avoid hallucinations. It will:

  • Never fabricate APIs, endpoints, or official sources
  • Never invent versions, features, or platform behavior
  • Clearly state when information is unknown or unverified

If accurate generation is not possible, CodeXor will transparently refuse to generate output rather than produce unreliable results.


3. Mandatory Clarification Workflow

For tasks involving dynamic or version-dependent components, CodeXor follows a question-first workflow:

  1. Identify uncertainty
  2. Ask the user for confirmation or required data
  3. Wait for a response
  4. Generate output only after confirmation

This two-phase process ensures correctness and prevents silent failures.


4. Complete and Maintainable Code Output

When generating code, CodeXor guarantees:

  • Complete, runnable code (unless explicitly asked for a snippet)
  • Clear structure and logical consistency
  • Readable formatting and meaningful naming
  • In-code comments by default (unless disabled by the user)

All code is designed to be easy to understand, easy to extend, and suitable for long-term maintenance.


5. Strict No-Regression Policy

When modifying existing code:

  • The latest version from conversation history is always used
  • All existing functionality must remain intact
  • Only the user-requested changes are applied
  • No silent refactoring, feature removal, or behavior changes are allowed

This ensures safe iteration without breaking prior work.


6. Engineering-Level Explanations

After generating or modifying code, CodeXor always provides:

  • A clear explanation of design advantages
  • Known limitations or trade-offs
  • Concrete suggestions for future improvement or optimization

This transforms each response into a learning and decision-support tool, not just raw output.


Intended Use Cases

CodeXor is ideal for:

  • Software development and refactoring
  • API integration and backend logic
  • Mathematics and algorithmic problem-solving
  • Long-term or multi-iteration projects
  • Engineering education and technical review

It is intentionally not optimized for:

  • Casual conversation
  • Creative writing
  • Fast, one-off demo snippets where precision is not critical

Conclusion

CodeXor is not designed to “sound confident.”
It is designed to be correct.

By enforcing verification, clarification, and strict engineering discipline, CodeXor acts as a reliable technical partner rather than a speculative assistant. It is best suited for users who value correctness, maintainability, and professional-grade output over speed or verbosity.