Afunana reads your COBOL, RPG, and DDS source code and turns it into living business-level documentation. Then it lets you describe a change in plain language, review an exact plan, and execute it directly on the AS/400 — no VSCode, no IDE, no guesswork.
Core business systems run on IBM i (AS/400). The developers who built them are retiring. The business logic lives only in code, understood by fewer people every year. Every change is a risk taken blind.
A production bug takes days to diagnose when nobody understands the business logic hiding in COBOL. Downtime costs money and erodes trust.
Every change to legacy code is a leap of faith. You can't see what else will break. You can't trace what depends on what. Every deployment is a gamble.
Every retirement removes institutional knowledge that exists nowhere else — not in docs, not in wikis, only in the code and in one person's memory.
Afunana closes the loop between understanding your code and changing it. Every stage feeds the next. Documentation stays current because every executed change re-triggers the docs for the programs it touched.
Business rules, call trees, field references, dead code — all extracted from source, all traced to line.
Plain-language intent becomes an exact plan: which members, which lines, which compile order, which regressions to run.
One click writes the change directly to the machine. Live log streams every step as it runs.
Programs touched by the change get re-analyzed. Your documentation never goes stale.
Afunana reads your source and produces documentation no human has the time to write. Not a transcript of the code — the business reason it exists, what breaks when it changes, and why.
A business-level summary of what the system does, what it depends on, and the major functions grouped by purpose — generated from the actual source.

Searchable, filterable lists of every program (COBOL, RPG, CLP) and every file (PF, LF, DSPF). Each entry carries a business-level description — not a signature dump.

For every program: business role, how it works, the rules it enforces, error handling, data flow, suggestions for improvement. Each section anchored to the source line that justifies it.

Every field with its technical type and length — plus the business meaning, the consequences of corruption, and the programs that rely on it.

Every program, every call, every file dependency — in one interactive tree. Click any node to see its documentation inline. No more grep archaeology.

This is what makes Afunana more than a documentation tool. Describe the change in English or Hebrew. Review the plan Afunana proposes. Approve it. Watch it run on your machine.
Ask in plain language — "change the national ID from 9 to 10 digits" — and Afunana proposes the full change: which members to edit, which lines, which compiles, which regressions to run. Nothing happens without your approval.

Plans are persisted with an ID, a summary, a step list, and a status. Pending. Approved. Failed. Completed. You can open any plan, inspect every step, and decide whether to run it — today, tomorrow, or never.

Every step shows its type (source edit, compile, file change), the object it touches, the exact program, the source member, the line number, and what will change. No black box.

Afunana isn't just for code you already have. Start a new program from a template, from an existing program, from a file structure, or by uploading an analysis document. Every step is editable — AI-filled or hand-written, you choose.
Source → Files & fields → Lookup tables → Validation → Screens → Processing → Messages → Review & generate. Output is compilable COBOL or RPG, ready to deploy with the same Plan & Execute pipeline.

Four tool families, all working against the same intelligence layer. No re-analysis, no re-upload, no separate products — everything connects.
Generate new programs from templates, existing programs, file structures, or analysis documents. Edit live source on the AS/400 with documentation alongside. AI-assisted modifications with diff view. Extract business logic to SQL procedures.
Change impact analysis — see what breaks before you touch it. Bug finder for unhandled errors, dead code, and missing validations. System health dashboard with quality scores. Test-case generation from business rules. Compliance and audit reporting.
Modernization planning with effort estimation. RPG-to-COBOL translation. Two-way DDS and SQL translation. Export programs as OpenAPI specs. Migration roadmap to modern cloud platforms.
Onboarding material generated from your own code. Searchable knowledge base with source-line citations. Auto-refreshing documentation that stays in sync with every change.

Afunana ships with everything needed to operate a real system: live admin, full audit, configurable AI, one-click deploy, bilingual UI. A non-engineer can run the platform from the browser.
One admin panel for collections, users, projects, audit logs, change plans, prompts, configuration, and deployment. No SSH, no config files, no restarts.

Create, configure, and build each collection. Per-collection output language, user access, and build history.
Admin, User, Viewer, QA. Role-based access to collections. Password reset and activation from the UI.
Built-in Categories → Epics → Tasks workflow for managing work between teams.
Every admin action — build, deploy, plan, config change — logged with user, action, target, and IP.
Every AI prompt editable live with placeholder validation. Changes take effect on the next call — no restart.
Every backend setting editable from the browser, grouped by category, with secrets masked.
Trigger a build from the admin; watch it run in the browser. Stage-by-stage log: data dictionary, cross-reference, change impact reports, embeddings, BM25 index, ChromaDB. Every stage timed, every result captured.

Change the LLM behind the Builder, the Chat Planner, or the Answer Builder from the admin — no code changes. Primary + fallback chains across providers. Prompts live in files, editable in the browser, with placeholder validation.

Version bump, git add, commit, push, trigger prod — all from the admin, all streamed live. Deploy history kept, rollback trivial. A non-developer can ship a hotfix.

Understand your full legacy estate. See dependencies before committing to changes. Make modernization decisions on data — not guesswork. Prove compliance with evidence.
See exactly what breaks before a change goes in. Approve AI-generated plans before they run. Assign work confidently. Onboard new developers in days — not months.
Business rules, dependencies, and impact analysis in plain language. Describe the change — get an exact plan back. Execute with one click. No IDE wrestling.
Every finding traced to a source line. Every change plan shows exactly what will happen — member, line, compile command — before you approve it. AI that cites its sources and asks before it acts.
Every plan is reviewed and approved before it executes.
Every program, file, and dependency documented.
Every admin action logged with user, timestamp, and IP.
Docs rebuild automatically after every executed change.
Deploy on your own infrastructure. Source code never leaves your network. No third-party access to your legacy code. Security-hardened with 19 fixes across the stack and a full audit log.
No VSCode setup. No extension management. No per-developer configuration. Afunana runs in any browser and talks directly to your AS/400 using standard IBM i protocols.
Each team works on their own collections with role-based access. Hebrew and English UI, switchable per collection. Admins manage builds, models, and execution approvals from one panel.
Afunana turns legacy from a burden into an asset — and from something you read into something you can change.
IBM i · AS/400 · COBOL · RPG · DDS · One platform. No bloated IDE.
Schedule a demoTell us about your environment — how many programs, which languages, what you're trying to change. We'll show you working results on your own code in days, not months.