Free and open source on NetAnalysis.co.uk
AGNA
Applied Graph and Network Analysis Open Source is a desktop and CLI software for social network analysis, sociometry, and sequential analysis. It is designed as a user-friendly application intended for researchers, teachers, and students who want to create, visualize, and analyze networks without programming.
Current stable release: AGNA 2.2.1 (14 November 2026)Build networks
Create and edit directed, undirected, binary, and valued networks through matrices, tables, and graphical views.
Explore structure
Inspect density, components, distances, centrality, sociometric patterns, and other network properties.
Visualize relations
Use an integrated visual editor to arrange, inspect, and export readable network diagrams.
Teach and learn
Work with small examples that make nodes, ties, matrices, and measures easier to understand.
Who is AGNA for?
AGNA is particularly suited to small and medium research networks: communication, collaboration, affiliation, interaction, behavioral, institutional, historical, and other relational data. It can be used in sociology, anthropology, communication research, psychology, education, organizational research, animal-behavior studies, and the humanities.
At a glance
| Component | Purpose | Primary audience | Licence |
|---|---|---|---|
| AGNA Desktop | Graphical network creation, visualization, and analysis | Researchers, students, teachers | Apache-2.0 |
| AGNA Core | Java library for network models, analysis, transformations, layouts, and formats | Developers and research-software projects | Apache-2.0 |
| AGNA CLI | Command-line analysis, reproducible workflows, and diagram generation | Advanced users, scripts, automation | Apache-2.0 |
Source, licensing, and reproducible workflows
AGNA Desktop, AGNA Core, and AGNA CLI are free and open-source software released under the Apache License, Version 2.0. The licence permits use, modification, distribution, and commercial use, subject to preservation of applicable copyright, licence, and notice material. It also includes an explicit patent licence. Read the full Apache License 2.0.
The projects share a common architecture: AGNA Desktop provides the graphical interface; AGNA Core provides the reusable engine; and AGNA CLI makes core functions available for command-line, scripted, and reproducible work.
AGNA Desktop ──────► AGNA Core ◄────── AGNA CLI (graphical UI) (engine) (command line)
Browse source code · Read the contribution guide · Report a bug or propose an improvement · Report security vulnerabilities privately
Build from source
git clone https://github.com/baeckett/AGNA.git
cd AGNA
mvn verify # requires JDK 17 and Maven
The repository builds with Maven against JDK 17; the full test suite (230 tests) runs with mvn verify.
Use AGNA Core
AGNA Core is available as a release JAR. Browse the AGNA Core module for source and build information. Generate API documentation locally with mvn javadoc:javadoc.
Installation
Download AGNA
The desktop installers bundle the Java runtime, so Java is not necessary to be installed separately. The standalone native CLI binaries do not require Java at all (sub-10ms startup, single executable). The plain cross-platform desktop JAR requires Java 17 or newer.
Release date: 14 November 2026
Software licence: Apache License 2.0
| System | Desktop GUI Installer | Native CLI Binary (Zero Java) | Notes |
|---|---|---|---|
| Windows | Windows .msi installer · .exe setup | agna-windows-amd64.exe · .zip archive | Desktop installer bundles Java; native CLI runs standalone (~7ms startup). |
| macOS | macOS .dmg installer | agna-macos-arm64.tar.gz · binary | Drag AGNA to Applications; native CLI built for Apple Silicon. |
| Linux | Debian/Ubuntu .deb · Fedora/RHEL .rpm · portable x64 tar.gz | agna-linux-amd64.tar.gz · binary | Desktop packages bundle Java; native CLI runs standalone. Install with sudo apt install ./...deb or sudo dnf install ./...rpm. |
Install AGNA Desktop
Windows
- Download the Windows installer (.msi or .exe).
- Open it and follow the installation steps.
- Start AGNA from the Start menu.
macOS
- Download the macOS disk image (.dmg).
- Drag AGNA to Applications.
- See the one-time Gatekeeper bypass guide below on first launch.
Linux
- Download the .deb or .rpm package or the portable x64 archive.
- Install with your package manager or extract the archive.
- Start AGNA using the launcher supplied in the extracted directory or application menu.
Note for macOS Users: Opening AGNA for the First Time
When opening AGNA.app on macOS for the first time, Gatekeeper may display a prompt stating: “Apple could not verify ‘AGNA.app’ is free of malware that may harm your Mac or compromise your privacy.” This is standard macOS protection for community open-source software distributed outside the Mac App Store without an annual Apple Developer certificate.
How to open (only required once):
- Method 1 (System Settings — Recommended on macOS Sequoia & Sonoma): Click Done on the malware prompt. Open System Settings ▸ Privacy & Security, scroll down to the Security section where it says “AGNA.app was blocked from use because it is not from an identified developer”, and click Open Anyway (confirm with Touch ID or password).
- Method 2 (Right-Click in Finder): In Finder, go to
/Applications, Right-Click (or Control-Click) onAGNA.app, choose Open, and click Open in the confirmation box. - Method 3 (Terminal One-Liner): Clear the browser's download quarantine flag:
xattr -cr /Applications/AGNA.app
Once confirmed, macOS permanently whitelists AGNA and it opens normally on standard double-click.
System requirements
- Supported systems: AGNA runs on Windows, macOS, and Linux. The native CLI binaries run directly with zero dependencies. The plain desktop JAR requires Java 17 or newer; the GUI installers bundle a compatible Java runtime.
- Memory: 512 MB minimum (native CLI operates under 15 MB RSS); 2 GB recommended for large desktop graphs.
- Disk space: about 150–250 MB installed for Desktop; ~95 MB for standalone native CLI.
- Internet connection: not required for normal analysis after installation.
Advanced & developer downloads
| Component | For whom? | Download / installation |
|---|---|---|
| AGNA CLI (Native) | AI agents, scripts, and high-performance automation | Windows .exe · macOS tar.gz · Linux tar.gz · Agent & CLI guide |
| AGNA CLI (Java JAR) | Cross-platform reproducible JVM workflows | Download CLI JAR · CLI guide |
| AGNA Desktop (JAR) | Custom Java 17+ desktop runtime | Download Desktop JAR |
| Source code (.zip) | Archival, contributors, and offline builds | Download Source ZIP · Zenodo archive (DOI: 10.5281/zenodo.24226451) |
| GitHub Repository | Version control and issue tracker | Browse source code on GitHub · v2.2.1 source tag |
Read the full AGNA 2.2.1 release notes and verify downloads with SHA-256 checksums.
First steps
Quick Start
This short exercise introduces a small directed communication network. It is intended to help a new user open data, inspect a graph, calculate basic measures, and save results. See the full Quick Start guide.
1. Download the example data
Download the six-person communication example. The file should contain either an adjacency matrix or an edge list, depending on the version of AGNA you release.
2. Open the network
- Start AGNA Desktop.
- Select File → Open.
- Choose the example file.
- Confirm whether ties are directed, and whether values are binary or weighted.
3. Inspect the network
Open the graph view. Each node represents a person, and each arrow represents a directed communication tie. Drag a node to improve readability if necessary. Notice which people receive or send several ties and whether any are isolated.
4. Calculate basic measures
- Run the network description command to obtain the number of nodes, ties, density, and components.
- Run degree centrality to inspect who has the most incoming or outgoing relations.
- Run shortest-path or distance analysis to examine how easily actors can reach each other through the network.
5. Save and export
- Save the AGNA project under a new name.
- Export any table needed for later work.
- Export the graph image or vector graphic for a presentation or paper.
- Record the AGNA version and the analytical choices used.
Continue with the documentation for importing data, working with different tie types, interpreting measures, and exporting results.
Screenshots
Screenshot of the AGNA Desktop application on MacOS Tahoma:
Manual and learning resources
Documentation
AGNA documentation is organized around research tasks and reproducible workflows.
Getting started
- Quick Start guide
- Install AGNA
- Your first network
- Nodes, ties, graphs, and matrices
- Open, save, and export projects
Working with data
- Create a network by hand
- Import an adjacency matrix
- Import an edge list
- Directed, undirected, binary, and valued ties
- Missing data and absent ties
Analysis
- Size, density, and components
- Degree, closeness, and betweenness
- Geodesic distance and paths
- Sociometric analysis
- Sequential analysis
- Interpreting results responsibly
Visualization and exchange
Examples and teaching materials
Browse example networks and teaching exercises. Each example should include a small data file, a research question, expected output, and interpretive notes.
Need help?
See the support page, search the issue tracker, or report a reproducible problem using the information requested there. Please remove confidential network data before attaching example files to a public issue.
Research use
Cite AGNA
If you use AGNA in research, teaching, a thesis, or a publication, please cite the software version used.
Preferred software citation
Bența, M. I. (2026). AGNA: Applied Graph and Network Analysis Open Source (Version 2.2.1) [Computer software]. AGNA Open Source. https://doi.org/10.5281/zenodo.24226451
BibTeX
@software{benta_2026_agna,
author = {Bența, Marius I.},
title = {{AGNA}: Applied Graph and Network Analysis Open Source},
version = {2.2.1},
year = {2026},
publisher = {AGNA Open Source},
doi = {10.5281/zenodo.24226451},
url = {https://github.com/baeckett/AGNA}
}
View the BibTeX citation file · View the Citation File Format record · Zenodo deposit (Concept DOI: 10.5281/zenodo.22708198)
Historical paper
For historical background on AGNA 2.1, see Studying Communication Networks with AGNA 2.1.
Version history
Releases
Every release includes a version number, release notes, source tag, downloadable artifacts, and checksums. Record the version you use in research outputs.
AGNA 2.2.1 — Random Graph Generation, Scalability & Symmetrization Update
Released: 14 November 2026
- Populate with Random Edge Values: Added interactive network tie generation and randomization (
Network ▸ Populate with Random Edge Values...& CLIagna randomize) with 8 theoretical SNA random graph models: Erdős–Rényi $G(n, p)$, Erdős–Rényi $G(n, m)$, continuous weighted ties, Watts–Strogatz small-world, Barabási–Albert scale-free, random connected (0 isolates), degree-preserving Maslov–Sneppen permutation, and weight shuffling. - Centrality Battery Defaults: Bavelas-Leavitt Centrality is now enabled by default across Centrality battery dialogues and the Standard Centralities preset.
- Scalable Node Addition: Allows adding up to 250 nodes (or 500 total actors) immediately without warning prompts, supporting up to 5,000 nodes with performance safety confirmations. Synchronized identically between main table and Network Viewer.
- Symmetrization Bug Fix: Fixed sociomatrix state synchronization issue in GUI Symmetrize rules, ensuring tie symmetries are accurately computed and immediately reflected on the Network Viewer canvas.
- Export Table & Betweenness Refinements: Resolved table export dialog redraw issues and improved Brandes betweenness path evaluation on disconnected components.
AGNA 2.2.0 — High-Performance Native CLI, AI Agent & MCP Release
Released: 14 November 2026
- Standalone Native CLI Binaries: Built with GraalVM Native Image for Windows, Linux, and macOS (Apple Silicon). Instant ~7ms execution startup, zero Java runtime requirement, and ~15 MB RSS memory footprint.
- Native Model Context Protocol (MCP) Server: Built-in
agna mcpstandard JSON-RPC 2.0 stdio server, turning Agna into an AI agent tool provider for Claude Desktop, Cursor, Antigravity, and Copilot. - Pedagogical & Advisory CLI: Added
agna explain(37 metric topics with pedagogical explanations and cautious sociological interpretations),agna advise(topology-driven recommendations), andagna narrative(plain-English synthesis). - Archetypes & Hypothesis Testing: Added
agna archetype(Small-World, Scale-Free, and Core-Periphery classification),agna test-null(Monte Carlo permutation testing), andagna validate(pre-flight structural verification). - Packaging & Archiving: Native installers for Windows (.msi / .exe), macOS (.dmg), and Linux (.deb / .rpm / .tar.gz), plus shaded cross-platform JARs and Zenodo archiving.
Release notes and downloads · Source tag · Zenodo record (DOI: 10.5281/zenodo.24226451)
AGNA 2.1.3 — Stable Open-Source Release
Released: 14 September 2026
- First public open-source release of AGNA Desktop, AGNA Core, and AGNA CLI.
- This release revives the original AGNA Desktop under the Apache License 2.0 and adds AGNA Core, the reusable Java engine, and AGNA CLI with more than 30 commands for headless, reproducible analysis and diagram generation. The codebase is modernized for Maven, JDK 17, FlatLaf, and UTF-8, and is covered by 230 tests. Import and export support includes GraphML, GML, GraphSON, Pajek, Excel, and text-based workflows.
Known issues
No critical known issues are currently listed. See the release notes and issue tracker for current limitations.
Verify downloads
Advanced users can compare the SHA-256 checksum of a downloaded installer, archive, or native binary with the values published for the release. This helps confirm that the file matches the released artifact.
# Example only — adapt to the user’s operating system sha256sum agna-linux-amd64.tar.gz
Project history
About AGNA
AGNA—Applied Graph and Network Analysis Open Source—was developed as a free application for social network analysis, sociometry, and sequential analysis by Marius Ion Bența, currently a Sociology Researcher with George Barițiu History Institute and Guest Lecturer with the Babeș-Bolyai University in Cluj.
From its beginning, AGNA was intended for researchers, teachers, and students who needed accessible network editing and vizualization tools rather than a programming environment. Ease of use, direct visual interaction, and clarity of output were central priorities.
AGNA today
AGNA 2.2.1 is the result of an independent project and is a stable open-source release. It preserves the Desktop application while separating the reusable computational engine as AGNA Core and providing AGNA CLI with standalone zero-runtime native binaries and MCP support for reproducible command-line and AI agent workflows.
The project’s long-term aim is reasonable and practical: to keep accessible network analysis available to researchers who work with relational data and to provide an open foundation for teaching, scholarship, and future development.
With limited resources, development and support are offered on a best-effort basis, and constructive feedback, bug reports, and contributions are warmly welcome.
Acknowledgements
The author gratefully acknowledges the researchers, teachers, students, and early users whose feedback helped shape AGNA’s design and its emphasis on accessibility for non-programming social scientists and humanists.
The author also extends many thanks to Prof. Alina S. Rusu for her research and educational collaboration in the AGNA project.
Third-party software, libraries, icons, fonts, and other materials are listed separately in THIRD_PARTY_NOTICES.md.
The story of AGNA
Marius, the author of AGNA, started working on this software in the 90s as a student in sociology in Cluj city, as he was learning about social network analysis and sociometry from Professor Achim Mihu and from the works of Claude Flament and Alex Bavelas. Initially, there were just code snippets written in Turbo Pascal that would perform computations related to social network analysis and sequential analysis. Later, they turned into a desktop application developed in Delphi that could run on Windows. Around the year 2000, the software was rewritten in Java, given the write-once-run-anywhere promise of this programming language, and was distributed as a free desktop application. Over the years, AGNA was used in hundreds of research and education projects worldwide. However, given that this was an independent project, around the year 2005 maintenance had to be halted as the author had to be involved in other activities and jobs.
In 2026, the code was revised, which led to significantly better peformance and stability. On September 14th 2026, AGNA was published as an open source project on GitHub under the Apache 2.0 Licence. AGNA was released in the form of three separate components—a desktop application that can be installed on any operating system, a core library that can be integrated in other software, and a command-line interface for those who prefer performing automated computations without a graphical user interface—with the hope that this new configuration and this new version would be more useful and would better suit the needs of the scientific community in research and teaching.
The author is grateful to everyone from the academic world, from business, and from various institutions who have used AGNA in their projects, to all the people who took their time to provide precious comments and feedback, and to God for making this possible.
Contact information
- General contact: contact@netanalysis.co.uk
- Source code and issue tracker: https://github.com/baeckett/AGNA
- Private security reports: contact@netanalysis.co.uk
Privacy and security
AGNA Desktop and AGNA CLI process network data locally on the user’s computer. They do not upload project files, node labels, edge information, or analysis results to AGNA servers.
For ordinary questions, documentation corrections, feature suggestions, and reproducible bug reports, please use the AGNA issue tracker. Please do not include confidential research data in public issue reports. To report a potential security vulnerability privately, please contact contact@netanalysis.co.uk before disclosing it publicly.