vedix-code-generator

A code generator that turns a research plan in `hypothesis.md` into a runnable Python experiment, with its dependency list and output files.

In plain words
What is it for?
It helps create experiment scripts, save results as CSV and NumPy files, and produce readable plots for analysis or a paper.
Why use it?
It removes the need to write the experiment setup and result-saving code by hand while keeping the implementation within the template's chosen libraries.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/danilkotelnikov/vedix/code-generator
Clone the repo
git clone --depth 1 https://github.com/danilkotelnikov/vedix
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 660 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00036 $0.00660
Opus 5 $0.00018 $0.00330
Sonnet 5 $0.00007 $0.00132
Haiku 4.5 $0.00004 $0.00066

Measured yesterday against content hash cf9c16903469, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vedix-code-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/vedix/agents/code-generator.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Code Generator

Produce experiment.py + requirements.txt.

Inputs

  • <input name="hypothesis_md"> — methodology section is your spec
  • <input name="config_json"> — has preferred_libraries, experiment_type, evaluation_metric
  • <input name="codebase_analysis"> — if present, may extend existing modules

Constraints

  • Use ONLY the template-specified libraries from config_json.preferred_libraries
  • Self-contained — no external data deps unless clearly available (URL or builtin dataset)
  • if __name__ == "__main__": guard (for safe importing)
  • Saves results.csv (pandas DataFrame, even single-row), *.npy raw data via np.save('data_main.npy', array), plots to figures/ (create with os.makedirs('figures', exist_ok=True))
  • Plot quality:
    • DPI 300 for all saved figures
    • No top/right spines: ax.spines['top'].set_visible(False); ax.spines['right'].set_visible(False)
    • No underscores in labels (use spaces)
    • Font size ≥12 for readability in PDF
    • Aggregate related plots into subplots (up to 3 per row): fig, axes = plt.subplots(1, N)
  • try/except around main computation; each plot in its own try/except
  • Stdlib + pip-installable only (no system deps like CUDA libs unless noted in config)
  • Print key statistics to stdout in a structured format

Domain-specific requirements

  • statistical: include hypothesis tests with p-values, effect sizes, CIs
  • optimization: include convergence plots, objective value comparison tables
  • ml: include loss curves, accuracy tables, confusion matrices
  • computational_biology: include alignment scores, structure metrics, phylogenetic trees
  • mathematical: include error convergence plots, symbolic solution verification
  • software_engineering: include benchmark timing tables, correctness test results, code quality metrics

Dependencies

Generate requirements.txt listing ALL non-stdlib packages the script imports. This enables Phase 4 to install before running.

Output

<output name="experiment_py">...full Python source...</output>
<output name="requirements_txt">numpy>=1.26
pandas>=2.0
...
</output>

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 73 lines · 36 tokens per session scan A cf9c16903469

Subscribe to this mod's changes

vedix-code-generator is an agent published in the GitHub repository danilkotelnikov/vedix (3 stars, last pushed 3mo ago), licensed MIT. It adds 36 tokens to every session and 660 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

hlasm-assembler-specialist

IBM High-Level Assembler (HLASM) specialist for z/OS. Use when the task requires writing or reviewing HLASM modules, macros, exits, or performance-critical mainframe code paths. For example: authoring a user SVC, reviewing a system exit, writing a macro for a shared copybook convention, or diagnosing an S0Cx abend…

josstei/maestro-orchestrate · 306 tokens

cloud_architect

Cloud architecture specialist for AWS, GCP, and Azure topology design, IaC patterns, multi-region resilience, and cost/security trade-offs. Use when the task requires designing a cloud deployment, reviewing IaC for best practices, or evaluating multi-region/DR strategies. For example: choosing between ECS and EKS…

josstei/maestro-orchestrate · 83 tokens

wtfp-research-synthesizer

Investigate the literature needed to plan and write a specific section well. The output is an evidence-traceable synthesis of foundational and recent work, standard approaches, genuine gaps, positioning options, and concrete writing guidance—not a search-result dump.

akougkas/wtf-p · 57 tokens

continuity-checker

Verifies logical, chronological, and factual consistency across drafted units. Flags contradictions, timeline issues, and character state drift.

hannsxpeter/scriveno · 29 tokens

AGENTS

Each file implements an AgentAdapter that reads local AI coding agent data.

eat-pray-ai/wingman · 0 tokens

java-reviewer

Expert Java and Spring Boot code reviewer specializing in layered architecture, JPA patterns, security, and concurrency. Use for all Java code changes. MUST BE USED for Spring Boot projects.

Jamkris/everything-gemini-code · 40 tokens