Architectural User Experience for governed AI agents. Identity contracts, MCP governance, Blueprint lifecycle, CORTEX memory, and verifiable evidence.
pip install arqux==0.8.2 Copy PIP instructions
Most teams are trying to build critical AI operations on top of temporary chat conversations.
ArqUX is not a platform. It's governance infrastructure for your platform. You already have your agent stack — LangChain, CrewAI, Codex, Hermes. ArqUX goes underneath all of them. It decouples agent intelligence from agent governance, so any agent, with any model, on any framework, can operate under the same architectural control.
But enterprise environments cannot rely on agents that:
ArqUX introduces a governed layer between the user, the agent, the model, and the workspace.
The model reasons. The agent acts. ArqUX governs. Core pipeline [ User Intention ] │ ▼ [ Architectural Governance ] │ ▼ [ Agent Identity ] │ ▼ [ Behavioral Contract ] │ ▼ [ Blueprint Lifecycle ] │ ▼ [ Execution with Evidence ] │ ▼ [ Persistent Institutional Memory ] ArqUX decouples agent intelligence from agent governance.
The language model is not the center of the system. The governed architecture is.
This is what happens when an agent joins an ArqUX workspace.
arqux init A .arqux/ directory appears. Inside it: AGENTS.md (every agent reads this first), brain.cortex (persistent memory), identities/ (agent contracts), cycles/ (work organized in cycles), evidence/pulse.jsonl (every action, timestamped). No server. No API key. A directory.
Any agent entering the workspace reads AGENTS.md. It learns which project it's in, what cycle is active, which identity to assume, and what rules constrain its behavior. The agent doesn't guess. It reads.
No more "build this feature" directly from chat. Every piece of work becomes a Blueprint — a structured 18-section document that captures the problem, the solution, the acceptance criteria, and the execution plan. Blueprints are decision maps. They prevent architecture-by-accident.
An executor claims a task. When done, evidence is recorded — test output, file changes, decisions made. No task is "done" until it leaves a trace.
When something goes wrong, the lesson isn't lost in chat scrollback. It's recorded in the agent's identity and elevated to the project brain. The next agent won't repeat the same mistake. The organization keeps the knowledge.
Codex. OpenCode. Hermes. Gemini CLI. z.ai. Qwen. They don't share a runtime. They don't share a model. They share .arqux/.
The hexagon is the structural symbol of ArqUX.
It represents the six boundaries required for enterprise-grade agent operation:
[ 1. Identity ] Who is acting? ▲ │ [ 3. Context ] ◀── ⬡ ArqUX ──▶ [ 2. Contract ] From which state? Under what limits? │ ▼ [ 5. Execution ] What is being changed? [ 6. Evidence ] [ 4. Decision ] How is it verified? What is determined? Boundary Question Identity Who is acting? Contract Under which behavioral limits? Context From which memory and state? Decision What is being determined? Execution What is being changed? Evidence How is the action verified? The agent is the interface. The hexagon is the contract. ArqUX is the governance layer. What ArqUX provides Capability Description Governed agent identities Agents operate through specialized roles instead of generic behavior. Behavioral contracts Each identity is constrained by explicit AXM, LIM, and FCS rules. Hot identity handoff Switch between identities through natural invocation or explicit request. Blueprint lifecycle Design decisions are captured in structured 18-section Blueprints. CORTEX memory Decisions, lessons, state, and evidence are persisted in .cortex artifacts. MCP governance layer ArqUX exposes governance operations through MCP handlers. Evidence trail Actions, transitions, approvals, and lessons can be traced. Learning elevation Knowledge can move from behavioral to contextual to procedural layers. Agent identities ArqUX replaces the idea of “one assistant” with a team of specialized identities.
Each identity is not just a persona. It is an operational contract.
"Hello Jarvis" # Activates the technical executor. "Switch to Seshat" # Transfers the session to the documentation identity. "Back to Alfred" # Returns to governance mode. Identity handoff prevents role confusion.
When the operating responsibility changes, the active identity must change with it.
It prevents agents from jumping directly from intention to execution by forcing architectural reasoning before operational mutation.
A governed Blueprint captures a design decision across 18 sections:
§1 Problem §2 Objective §3 Preconditions §4 Guiding Principle §5 Context §6 Scope §7 Rules §8 Technical Design §9 Operational Design §10 Contracts §11 Work Procedure §12 Acceptance Criteria §13 Validations §14 Tasks §15 Risks §16 Blocking Rule §17 Expected Output §18 Quality Blueprints are designed to make agent work explicit, reviewable, and traceable.
ArqUX uses .cortex artifacts to preserve governed memory across sessions, projects, and identities.
It is a structured memory layer for agents operating under governance.
ArqUX treats learning as a governed pipeline.
The goal is not only to make the agent remember. The goal is to prevent the organization from losing operational knowledge every time a session ends.
[ Individual Lesson ] │ ▼ [ Behavioral Record ] │ ▼ [ Contextual Knowledge ] │ ▼ [ Procedural Skill ] │ ▼ [ Reusable Institutional Capability ] A lesson that is not retained will be paid for again.
MCP gives agents access to external capabilities.
ArqUX uses MCP as a governance channel: not only to expose tools, but to help agent clients interact with identity state, handoff rules, Blueprint lifecycles, CORTEX memory, and evidence records.
MCP is the integration channel. ArqUX is the governance layer. Two protocols. One governance layer. ArqUX exposes governance through two complementary protocols.
Level 1 — File system. The universal protocol. Any agent that can read and write files can participate. No SDK, no library, no API key. Just read AGENTS.md and write to .cortex files. Every agent starts here.
Level 2 — MCP. The structured protocol. Agents that speak the Model Context Protocol get full governance: create blueprints, claim tasks, record evidence, sync brain state. MCP is the integration channel. ArqUX is the governance layer.
Level 1 (universal): Agent reads AGENTS.md, writes brain.cortex Level 2 (structured): Agent calls MCP handlers for full lifecycle Quick start Install ArqUX:
arqux init Any agent can now join. Point your agent to the workspace:
# Example: OpenCode agent joining an ArqUX workspace opencode --instructions "$(cat .arqux/AGENTS.md)" The agent reads the governance contract. It discovers its identity, the active cycle, and the rules. It reads brain.cortex for context. It's ready to work under governance — without installing any ArqUX SDK.
- Without ArqUX: - User: "Build this feature." - Agent: Implements directly from chat context. - Result: Fragile memory, unclear decision path, weak auditability. + With ArqUX: + User intention + → Blueprint + → Identity assignment + → Behavioral contract + → Task execution + → Evidence + → CORTEX memory + → Reusable learning + + Result: The organization keeps the decision, the reason, the execution trace, and the lesson. A temporary conversation becomes a governed operational cycle.
ArqUX does not celebrate uncontrolled autonomy.
A task is not valid only because it can be executed.
It must be executed under the correct behavioral contract.
A task is not complete until it leaves verifiable evidence.
A lesson that is not retained will be paid for again.
When the operating role changes, identity must change explicitly.
ArqUX is the layer that makes agent work governable.
ArqUX converts AI agents into governed infrastructure — agnostic of model, framework, or transport.
ArqUX is a governance layer for AI agents, combining identity contracts, MCP operations, Blueprint lifecycles, CORTEX memory, and verifiable evidence. It works through two protocols: file system (universal) and MCP (structured).
ArqUX enables organizations to operate AI agents in production without losing control, traceability, or institutional memory. Any agent, any stack.
The future of agents is not a smarter chat. It is a more accountable architecture. And it works with the agents you already have.
git clone https://github.com/FidelErnesto03/arqux.git cd arqux Install development dependencies:
pytest License ArqUX is released under the Apache License 2.0.
See SECURITY.md for information on reporting vulnerabilities.
See CONTRIBUTING.md for guidelines on how to contribute to ArqUX.
The file is the protocol. The hexagon is the contract. ArqUX is the governance layer. Edge Cases See docs/reference/edge-cases/ for documentation on edge cases and extreme scenarios.
ai-agents governance mcp agent-orchestration cortex llm
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.




