Skip to main content

VYN — local-first AI operator powered by the ARIA memory engine (OpenYF AI).

Project description

VYN by OpenYF AI

Building intelligent systems. One phase at a time.

VYN is an open source AI agent that lives on your machine, remembers everything you tell it, builds a knowledge graph of what it learns, improves itself over time, and works 24/7 — even while you sleep.

Not a chatbot. A cognitive agent with persistent memory, a world model, tool use, and a self-improvement loop. Built openly by YF as the first step toward general intelligence.

Powered by ARIA — the internal memory engine that manages VYN's knowledge graph, causal world model, and long-term memory.

PyPI License Python


What makes VYN different

Most AI tools forget you the moment the conversation ends. VYN doesn't.

  • Persistent memory — remembers everything across sessions, forever, stored locally on your machine
  • Knowledge graph — builds a causal map of what it learns, not just a list of facts
  • Self-improvement loop — critiques its own responses and retries when unsatisfied
  • Tool use — web search, file access, code execution, browser
  • Multi-agent debate — two instances argue opposing views to find truth
  • Telegram integration — lives in your phone, works while your laptop is closed
  • Your data, your machine — nothing leaves your device

Install

pip install openyfai-vyn
vyn setup

Open http://127.0.0.1:8000 and start talking.

Windows users: If vyn is not recognized after install, close and reopen your terminal. If blocked by Device Guard, run python -m scripts.cli web instead.


The roadmap

VYN is being built in 7 phases, in public, with full documentation of every decision.

Phase What it builds Status
01 Cognitive core + persistent memory ✅ Complete
02 World model — causal knowledge graph ✅ Complete
03 Self-improvement loop ✅ Complete
04 Multi-agent debate ✅ Complete
05 Tool use + embodiment ✅ Complete
06 Transfer + generalization ✅ Complete
07 Recursive self-improvement 🔄 In progress

Full roadmap: docs/planning/ROADMAP.md


More ways to run

Path When to use
Web UI (vyn web) Default: finish setup in the browser.
Terminal agent (vyn after setup) Keyboard-first use.
CLI setup only (vyn setup) You prefer not to use the web wizard.
Docker Deploy to a server or share on a LAN. See docs/quickstart.md.

Provider support

Gemini, OpenAI, Anthropic, OpenRouter, DeepSeek, Mistral, Groq, Ollama, and local OpenAI-compatible endpoints. Choose your provider during vyn setup or change it anytime in settings.


Skills

Add a Markdown file under ~/.vyn/skills/, restart VYN, and the agent can use that workflow without touching Python.


Safe defaults

VYN ships locked down. Nothing runs without your approval.

  • Tool approvals are on
  • Terminal execution is off
  • Direct code writes are off
  • Background actions are off
  • Remote web access requires an API key
  • Telegram is deny-by-default until paired from Operator

Read SECURITY.md before exposing VYN beyond localhost.


Requirements

  • Python >=3.11
  • Node 20+ — only if you rebuild aria-ui/ from source (not needed for pip install)
  • Docker — optional

Contributing

VYN is built in public. Every decision is documented, every phase is open. Contributors welcome — see CONTRIBUTING.md and the seeded issues in docs/planning/launch-issue-backlog.md for good first tasks.

Follow the journey on X: @openyfai


Repository guide

Path What lives here
aria/core/cognitive_loop.py Core cognitive pipeline (ARIA engine)
aria/llm/ LLM providers
aria/memory/ Memory store + retrieval (ARIA engine)
aria/world/ Knowledge graph + hypotheses (ARIA engine)
scripts/web_server.py Web backend (FastAPI)
scripts/cli.py CLI entrypoint (vyn commands)
scripts/telegram_bot.py Telegram integration
aria-ui/src/ Web UI (Next.js)

Development

git clone https://github.com/openyfai/vyn.git && cd vyn
pip install -e ".[dev]"
python -m pytest tests
ruff check .

To rebuild the web UI from source:

cd aria-ui && npm install && npm run build && cd ..

Project docs


Migrating from openyfai-aria

If you were using the old package:

pip uninstall openyfai-aria
pip install openyfai-vyn

Your existing data in ~/.vyn/ (or your old data/ folder) will be detected and migrated automatically on first run.


License

Apache-2.0. See LICENSE.


OpenYF AI — building intelligent systems, in public.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openyfai_vyn-1.2.1.tar.gz (631.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openyfai_vyn-1.2.1-py3-none-any.whl (649.7 kB view details)

Uploaded Python 3

File details

Details for the file openyfai_vyn-1.2.1.tar.gz.

File metadata

  • Download URL: openyfai_vyn-1.2.1.tar.gz
  • Upload date:
  • Size: 631.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openyfai_vyn-1.2.1.tar.gz
Algorithm Hash digest
SHA256 725e26ae771af391fb4b1ecc8afb9ab7b755cc46a7d35606791620cd125e3e13
MD5 d8b03198b4315f47e421cd2ac58d058c
BLAKE2b-256 1112f7accda5aa286d1d64eff5c5a02c23c49df951a62a8d19e9140e975b7e87

See more details on using hashes here.

File details

Details for the file openyfai_vyn-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: openyfai_vyn-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 649.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openyfai_vyn-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b5df76dbd3fee64dd722c6e1d58aa32ee894493fe6a84adcfb29711fed37364e
MD5 42cf6e03fc6932969b1bb5f199fed14e
BLAKE2b-256 814b6b3d4b5dc5e1f4353539bd65a7d64dadba6127916b12ea23f49bcd5a566f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page