Skip to main content

⚡ Zymis

PyPI version License Python Version Viento Mesh Direct Lane Security Gate

  _____           _     
 |___  /_   _ _ __ (_)___ 
    / /| | | | '_ \| / __|
   / /_| |_| | | | | \__ \
  /____|\__, |_| |_|_|___/
        |___/             

The Autonomous, Direct-Lane AI Engineering Engine with Upstream Viento Mesh & Modular Engineering Constitutions.

Zymis is a modern, headless, CLI-first software engineering agent system. It equips AI models with 39 native repository tools, multi-domain model awareness constitutions, zero-trust workspace confinement, and direct integration with the Viento P2P mesh network.


🎯 What Zymis Does

Traditional coding tools either run shallow single-shot edits or get bogged down in slow, bloated multi-agent consensus committees.

Zymis runs on One Direct Lane. The agent works directly on the target workspace using rich native tools, adhering to domain-specific engineering constitutions, validating every edit via AST diagnostics and test execution before claiming completion. When heavy delegation is required, running with --production authorizes the agent to spawn dedicated subagents.

Key Pillars:

  1. One Direct Lane Execution: No slow 12-stage consensus committee. The agent directly navigates, inspects, edits, tests, and verifies code using native tools.
  2. Upstream Viento Mesh Core: Native integration with viento (vnt_*, AsyncVientoClient), featuring peer-to-peer mesh routing (X-Viento-Mesh-Routing: p2p) and seamless OpenAI fallbacks.
  3. Multi-Domain Model Awareness Constitutions: Injects domain-specific rules (Operational Workflow, Security, Core Engineering, Website Generation, Architecture, Refactoring) directly into model awareness.
  4. 39 Native Agent Tools: Workspace-confined tools spanning Code Intelligence, Web & Headless Browser Automation, Git & Safety Checkpoints, Memory & Task Planning, and Isolated Python Sandboxes.
  5. Production Subagent Authority: By default, runs single-agent. When running with --production (-production), the agent is granted the authority to spawn and delegate tasks via spawn_subagent.

🛠️ Native Agent Tool Suite (39 Tools)

Zymis arms models with tools modeled after Cursor, Claude Code, and Antigravity:

1. Code Intelligence & AST Navigation

  • codebase_search: Queries vector embeddings and semantic intent of repository files.
  • get_file_outline: Fast AST structural outline of classes, functions, and imports without reading full files.
  • get_symbols: Extracts declared classes, functions, and symbols from a file.
  • go_to_definition: Resolves exact definition locations of functions/classes across the workspace.
  • find_references: Finds all call sites and usages of a symbol across files.
  • read_lints: Instant in-process syntax checks and AST diagnostics without running full builds.

2. Browser & Visual Verification

  • browser_navigate: Navigates headless browser to a local dev server (localhost:3000) or web URL.
  • browser_click, browser_type, browser_scroll: Interacts with UI elements, forms, and pages.
  • take_screenshot: Captures screenshots for visual layout verification.
  • read_console_logs: Reads browser console logs and JavaScript errors.
  • inspect_network: Inspects network requests, responses, and HTTP status codes.

3. Web & Documentation Retrieval

  • web_search: Searches live internet for up-to-date APIs, library docs, and error messages.
  • fetch_url: Scrapes web pages or indexed documentation into clean, token-efficient text.

4. Git & Safety Checkpoints

  • create_checkpoint / revert_to_checkpoint: Creates safe workspace snapshots before edits and rolls back instant failures.
  • validate_syntax: Fast in-process AST check immediately after modifying a file.
  • git_status_and_diff: Clean status and unstaged diff summaries for self-review.
  • git_blame / git_log_file: Line-by-line commit blame and recent history.

5. Background Process Management

  • start_background_process: Launches long-running dev servers (npm run dev, uvicorn) in the background without blocking execution.
  • read_process_logs: Reads latest stdout/stderr buffer to check for server crashes.
  • kill_process: Cleanly terminates background processes and servers.

6. Agent Orchestration, Memory & Sandbox

  • todo_write: Structured task planning and implementation checklist.
  • spawn_subagent: Spins up isolated subagents for delegated research or testing (authorized via --production).
  • update_memory / save_artifact: Persists user preferences, architecture decisions, and walkthrough artifacts.
  • ask_user: Interactive multiple-choice prompts for human-in-the-loop decisions.
  • notebook_scratchpad: Transient in-memory key-value scratchpad for long tasks.
  • compress_context: Compacts previous tool traces to preserve context window tokens.
  • execute_python_sandbox: Runs quick Python scripts in an isolated temporary sandbox.
  • view_image: Loads local UI mockups and error screenshots into vision context.

📜 Model Awareness Constitutions (aiswarm/constitution/)

Zymis automatically detects task intent and injects mandatory constitutional mandates:

Domain Rules & Mandates
Operational Workflow • Navigation Hierarchy: Prefer get_file_outline/codebase_search over read_file. Use go_to_definition/find_references over grep_search.
• Edit Safety Loop: Call create_checkpoint before multi-file edits; run validate_syntax/read_lints after every modification.
• Server Hygiene: Never block on dev servers; use start_background_process, read_process_logs, and kill_process.
• Browser Verification: Verify frontend edits by starting server and running browser_navigate, read_console_logs, take_screenshot.
Website Generation • Distinct Identity: Bespoke visual designs, custom color palettes, intentional typography — zero generic cookie-cutter pages.
• Accessibility & Responsiveness: Mobile/tablet/desktop responsive, WCAG AA compliance, semantic HTML.
• Rich Interactions: Tactile hover effects, skeleton loaders, and interactive state feedback.
Core Engineering • Minimal Diffs: Surgical modifications; no touching unrelated lines or formatting.
• Verify Before Done: Never claim completion without observing passing tests or build output.
• Zero Stubs/Mocks: Full implementation only — no TODO, FIXME, or dummy pass placeholders in production.
Security & Hardening • Zero Secret Leaks: Automated scrubbing of tokens/passwords in logs and outputs.
• Workspace Confinement: Strict resolution within workspace root; blocks traversal (../) and symlink escapes.
• Safe Subprocesses: Sandboxed execution with allowlists and timeouts.

🚀 Quickstart & CLI Usage

Installation

git clone https://github.com/abhinav00anand/zymis.git
cd zymis
pip install -r requirements.txt

Running Tasks

Standard Direct Lane (Single-Agent Tool Execution)

zymis run "Implement JWT authentication refresh token rotation" --provider viento

Production Mode (Authorizes Subagent Spawning)

zymis run "Redesign frontend landing page and audit security" --production --provider viento

Headless CLI Options

Usage: zymis run [OPTIONS] {title}

Options:
  --desc, -d          Task description
  --file, -f          Target file(s)
  --provider          Preferred provider (viento, openai, anthropic, gemini, etc.)
  --model, -m         Target model (e.g. vnt-deepseek-r1, gpt-4o)
  --production        Authorize agent to spawn and delegate to subagents
  --no-ollama         Disable Ollama auto-provisioning
  --wait / --no-wait  Wait for task completion (default: wait)

📦 Viento Mesh Integration

Zymis natively routes through the Viento P2P Mesh Network:

  • Environment variables: VIENTO_API_KEY (vnt_*), VIENTO_API_URL, VIENTO_BOOTSTRAP_KEY.
  • Headers: X-Viento-Node-Id, X-Viento-Mesh-Routing: p2p, X-Viento-Transport: stream.
  • Automatic fallbacks: If native Viento client encounters transport anomalies, requests fall back seamlessly to OpenAI-compatible endpoints without disrupting tasks.

🏛️ Legacy Swarm Archive

The original 8-critic consensus committee (architecture, documentation, maintainability, performance, reliability, security, style, testing) and legacy Host-1/Host-2 routers have been safely archived to aiswarm/legacy/. Their domain rubrics and prompt matrices are preserved and accessible when spawning subagents under --production.


🧪 Testing & Verification

Run the full test battery:

python -m pytest tests/unit/test_native_tools.py tests/unit/test_constitutions.py tests/unit/test_extended_tools.py tests/unit/test_llm_tool_calling.py tests/unit/test_viento_adapter.py -v

📄 License

Apache License 2.0. Copyright (c) 2026 Abhinav Anand.\n

Metadata

Release files for zymis 0.1.4

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

Source distribution (sdist)

Source distribution for zymis 0.1.4
File Size Uploaded Provenance Actions
zymis-0.1.4.tar.gz 203.5 kB Without provenance Details for zymis-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 487.9 kB

Release files / zymis-0.1.4.tar.gz

Download URL zymis-0.1.4.tar.gz
Size 203.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e0a755f084102772097bd3f17ff9f696dea54ce3c4f853cf2557c557c136a1c0
BLAKE2b-256 checksum
How to use checksums
df9f0b4734701f0b1a8bfaa3bb2997ac9a8576a306ac99e0328a73150225af5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / zymis-0.1.4-py3-none-any.whl

Download URL zymis-0.1.4-py3-none-any.whl
Size 284.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
899e6d39b8f03badc8cdcacf7f1b5608e64d2983d0778b27875ea5c7f6bfc350
BLAKE2b-256 checksum
How to use checksums
8873f9f59f85043ac6a0566f4981942204416ad5de44fb2da04c17defffb4551
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for zymis 0.1.4

Provenance

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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