hukix

agent
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Basarisiz
  • eval() — Dynamic code execution via eval() in tests/selftest.py
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Nexvora — a terminal coding agent that builds complete, SEO-ready websites and apps from one prompt, with the Loophalt security scanner built in

README.md

Nexvora

One prompt in — a complete, working, SEO-ready website or app out.

Nexvora is a terminal coding agent (Claude Code-style) built around one
headline job: give it a single prompt and it plans the project, picks a
scaffold, writes the files, runs the build, fixes its own errors, scans
the result with Loophalt — the
zero-dependency security scanner — and only then calls the job done.
It also reads the live web: hand it any URL and it will profile the site
(tech stack, SEO signals, sitemap, contacts) before it writes a line.

Zero dependencies. Python 3.9+ standard library only. Bring your own
model key — Anthropic, any OpenAI-compatible endpoint, or a local model
via Ollama with no key at all.

Nexvora is the agent shell of a bigger programme: every tool in the
Loophalt org (scanner, SEO suite, MergeGate) feeds its data into this
agent, and that data is being distilled into a house-trained model.
The end state is one platform where all of it lives inside one agent.

Install

git clone https://github.com/loophalt/nexvora
cd nexvora
pip install .

For the built-in scanner, also install Loophalt (or point
LOOPHALT_SCANNER at a loophalt.py):

pip install loophalt

Configure a model

export ANTHROPIC_API_KEY=...        # Anthropic (default model: claude-sonnet-4-5)
# or
export OPENAI_API_KEY=...           # OpenAI (default model: gpt-4.1)
export OPENAI_BASE_URL=...          # optional: any OpenAI-compatible endpoint
                                    # (OpenRouter, NVIDIA NIM, Ollama, LM Studio…)
export NEXVORA_MODEL=...            # optional: override the model name

No key at all — run a local open-weight model. Install
Ollama, pull a coding model, and the agent runs
entirely on your own machine:

ollama pull qwen2.5-coder
nexvora --provider ollama

Use it

cd your-project
nexvora                                       # interactive session
nexvora "build a landing page for a bakery"   # one-shot: plan → scaffold → build → scan
nexvora --plan "redesign the checkout flow"   # plan mode: read-only, no writes
nexvora --resume my-session                   # pick a saved session back up
nexvora --automate "check PRs every 15m"      # design + save an automation (see below)
nexvora --run-automations                     # run every due automation once (for cron)

Inside a session: /help lists the commands — /plan, /scan,
/undo (checkpoint rollback), /save / /resume, /model, /clear.
Custom slash commands live in .nexvora/commands/*.md ($ARGUMENTS
is substituted). Project memory is read from NEXVORA.md (or
AGENTS.md / CLAUDE.md) and injected into every session.

What it does on a build

  1. Plans — a visible todo list (todo_write) before any file is touched
  2. Scaffolds — deterministic templates (plain HTML, Flask, FastAPI,
    Express, Next.js); the HTML scaffold ships SEO-ready: unique
    title/meta per page, Open Graph, canonical, JSON-LD, sitemap.xml,
    robots.txt
  3. Writes + builds — runs the real build/tests; failures are parsed
    and fed back into a fix loop
  4. Scans — Loophalt checks the generated code; critical/high
    findings go back through the fix loop, never silently passed
  5. SEO pass — for site work it profiles first with site_info,
    then builds to the checklist; after the build site_check audits
    the generated pages (titles, meta, H1, alt text, links, oversized
    assets) and findings go back through the fix loop like scan findings

Tools

Tool What it does
read_file / read_many_files / write_file / edit_file / delete_file / move_file File work, confined to the project root; deletes and moves are undoable. read_many_files reads several files (each optionally a line range) in one call, with a per-file error section for missing or unreadable files
list_files / grep Project navigation and regex search
run_shell Shell commands — approval first unless allowed by config
scaffold_project Deterministic project templates (html/flask/fastapi/express/nextjs)
read_url Fetch a web page as clean text
web_search Search the web via the Yep Search API (Ahrefs index); key from YEP_API_KEY
site_info Profile any site: title/meta/OG, tech stack, headings, sitemap, robots, contacts
site_check Audit generated HTML pages: titles, meta, H1, alt text, internal links, oversized assets
todo_write The agent's visible plan
loophalt_scan Security-scan code with Loophalt and return findings
make_automation Create a scheduled automation (spec in .nexvora/automations/)
list_automations List automations with schedule, last run and next due
remove_automation Delete an automation by name

Automations

Nexvora can create its own recurring jobs. Ask in plain words — in a
session ("check for new PRs every 15 minutes and merge the verified
ones") or in one shot:

nexvora --automate "check for new PRs every 15 minutes, verify each one, merge the green ones and report"

The model designs the job (name, schedule, task) and it is saved —
through the same validation as the make_automation tool — as a JSON
spec in .nexvora/automations/<name>.json:

{"name": "pr-watch", "schedule": "15m", "task": "Check for new PRs…",
 "enabled": true, "created_at": "2026-12-04T09:00:00", "last_run": null}

A schedule is an interval (15m, 1h, 2h, 1d) or a daily
local time
(09:30) — a deliberately tiny language, not cron syntax.
Names are slug-safe (pr-watch, seo-crawl).

Nexvora does not daemonise. Point cron, Task Scheduler or a systemd
timer at the runner; each invocation executes every due job once
through the normal agent loop, appends a line to
.nexvora/automations/logs/<name>.log, and stamps last_run (also on
failure, so a broken job cannot hot-loop):

*/15 * * * *  cd /path/to/project && nexvora --run-automations

Disabled jobs never run. With no model provider configured,
--automate and --run-automations fail with a clear error and save
nothing — an automation is never fabricated.

Sessions auto-save (last) and can be named; writes/edits snapshot to
a checkpoint stack (/undo); .nexvora.json configures provider,
model, shell allowlist prefixes and after-write hooks. It also declares
MCP servers (mcp_servers: command, env, and an optional per-call
timeout in seconds, default 60); a crashed server is restarted once
automatically, and a server that crashes again is marked down and its
tools withdrawn, with its stderr kept in a per-server temp log. Long sessions
are protected by a context guard that trims stale tool output instead
of dropping messages, and provider calls retry with backoff on
429/5xx.

The family

  • loophalt/loophalt — the
    security scanner (113 checks), standalone, GitHub Action, MCP server
  • loophalt/mergegate — PR
    triage for maintainers: slop scoring, duplicate-PR detection
  • loophalt/seo-agent-tools
    — the SEO analyzer suite whose data trains this agent
  • Nexvora (this repo) — the agent that uses all of it

Development

python3 -m unittest tests.selftest   # 98 tests, no network or API key —
                                     # a scripted mock provider drives the
                                     # real loop and tools end to end

Roadmap

  • Dataset mining from verified merged PRs → LoRA fine-tune of an
    open-weight coder base (the house model)

License

MIT

Yorumlar (0)

Sonuc bulunamadi