Agnis Āriņš, Developer in Riga, Latvia
Agnis is available for hire
Hire Agnis

Agnis Āriņš

Verified Expert  in Engineering

Algorithms Developer

Riga, Latvia
Toptal Member Since
February 22, 2019

Agnis is an experienced software engineer with a demonstrated history of working in both the academic and industry sectors. He's an expert problem solver specializing in algorithms and mathematics. Agnis joined Toptal to share those skills on projects that involve complex and challenging tasks.


Freelance Client
PHP, Laravel, Vue, Mailgun,, RingCentral, Zapier, DocuSign...
University of Latvia
TensorFlow, C++, Python, MATLAB
Postfix, Amazon EC2, Amazon S3 (AWS S3), Algorithms, Amazon RDS, PHP, Node.js...




Preferred Environment

Linux, MySQL, C++, PHP

The most amazing...

...thing I've developed is an online learning platform spinning up VMs on the fly in a private cloud for students to take tests and be graded.

Work Experience

Senior Full-stack Developer

2022 - PRESENT
Freelance Client
  • Developed a CRM using Laravel and Vue with functionality for sales leads handling multiple agents in real-time.
  • Connected the CRM to multiple 3rd-party APIs for various services.
  • Supervised a small team of developers by giving tasks and development advice.
Technologies: PHP, Laravel, Vue, Mailgun,, RingCentral, Zapier, DocuSign, Socket.IO, MySQL


2014 - PRESENT
University of Latvia
  • Researched new efficient quantum algorithms that involved heavy maths.
  • Supervised student projects.
  • Worked as a teaching assistant in the following courses: Graph Theory, Computational Complexity, Applied Algorithms, and Quantum Computing courses.
  • Conducted numerical experiments.
  • Participated in scientific conferences.
Technologies: TensorFlow, C++, Python, MATLAB

Software Developer

2020 - 2023
  • Developed a commercial email management solution for compliance with Canada's CASL law, which also features anti-phishing and anti-malware capabilities.
  • Developed scalable software code in Node.js that interconnected multiple Postfix servers in a cloud computing environment.
  • Handled outgoing email flow according to RFC standards, dealt with different email formats and encodings, and handled mail delivery issues.
  • Developed admin portal and customer-facing forms using PHP and React.
  • Worked on email security tools for incoming email flow, extensive use of Node.js nodemailer and mailparser library.
Technologies: Postfix, Amazon EC2, Amazon S3 (AWS S3), Algorithms, Amazon RDS, PHP, Node.js, React, Email, Emailers, Encoding

Freelancer Web Developer

2019 - 2019
Client (via Toptal)
  • Refactored an existing lead management system written in Laravel, React, and Mithril.
  • Used Mailgun for routing incoming emails.
  • Implemented real-time events using Node.js and Redis.
  • Used the Google Geolocation and Distance API.
  • Handled the SEO on a WordPress landing page.
Technologies: WordPress, Payment Processing, Mailgun, Google APIs, Mithril.js, Node.js, React, Laravel, PHP

Freelancer Web Developer

2019 - 2019
Client (via Toptal)
  • Created a REST API for a large dating site.
  • Coded the back end for in-app purchases and push notifications.
  • Improved the existing site speed at least 5x.
  • Worked with third-party APIs.
  • Rewrote the messaging service in Redis/Node.js.
  • Implemented the PSD2 changes for the Chargebee integration.
  • Integrated the JWT authentication to work alongside with the password authentication.
Technologies: Amazon Web Services (AWS), Google Pay, Apple Pay, Chargebee, Mixpanel, ChartMogul, Stripe, Redis, Node.js, Symfony, PHP


2019 - 2019
Jack P Calvetti, LLC (via Toptal)
  • Converted existing MATLAB code to C++, gaining a 1000x performance boost.
  • Vectorized the code and took advantage of the microprocessor AVX instruction set.
  • Split the work across multiple threads to use all available CPU cores in parallel.
  • Wrote Visual Basic code in Excel to export input data for the program.
  • Profiled the code to find performance bottlenecks.
Technologies: Visual Basic, Microsoft Excel, C++, MATLAB

Senior Web Developer

2012 - 2018
  • Created web-based solutions while writing back-end and front-end programming with a focus on the back-end.
  • Led a small team of developers.
  • Configured web servers and optimized code performance issues.
  • Worked with all kinds of third-party APIs.
  • Met with clients, identified their needs, and offered solutions.
  • Set up a private Git server with custom permissions and hooks for internal use.
Technologies: Bootstrap, Sass, REST, CSS, HTML5, Angular, React, JavaScript, MongoDB, MySQL, Yii 2, PHP, Linux

Senior Software Developer

2007 - 2018
  • Led a team of junior developers and interns.
  • Consulted on optimal configuration and architecture of the client systems to meet technical and business goals.
  • Developed an online learning platform for MikroTik network training courses.
  • Built a platform for monitoring a network of electric charging stations.
  • Created a type of software as a service (SaaS) for tracking a worker's time in rural construction projects with mobile app check-ins that are allowed only in specified areas of the map.
  • Developed a CRM and connected it with EWS.
  • Constructed a platform for controlling internet connections on a fleet of long-distance coaches.
  • Used PHP to read Excel files exported from old accounting software and built a web dashboard for further data analysis.
  • Maintained old codebases for clients.
  • Created lotteries using the Phaser JS library for animations.
  • Optimized WordPress websites for speed.
  • Developed a web-based admin interface for a Postfix mail server.
Technologies: Postfix, WordPress, REST, iOS, Android, Bash, Windows, PHP, MySQL, Apache, Linux

C++ Developer

2012 - 2014
  • Worked on a client/server app for factory production line control (e.g., issuing device serial numbers) using C++, AngelScript, PostgreSQL, SQLite, RouterOS, and low-level network programming.
  • Created custom RouterOS modules.
  • Worked on a type of routerboard installation software.
  • Looked for memory leaks using Valgrind.
  • Wrote code for different types of architecture.
Technologies: RouterOS, SQLite, PostgreSQL, AngelScript, C++

Real Estate Portal
This is a real estate agency portal written in vanilla PHP and Ajax with automatic object data export to ad portals using third-party APIs.

eCommerce Site

This is an eCommerce site using a self-made engine based on vanilla PHP with a front end that was built with elements from an Angular 2 JavaScript framework.

Responsive Version of a Travel Agency Portal

I added a responsive version for an already existing travel agency portal. Basically, I reshaped an already existing, poorly written codebase to meet the project's goal.

Web-based Admin Interface for a Postfix Mail Server

The user account credentials, spam filter rules, and configuration for email routing were stored in the MySQL database. It needed to easily create and disable mailboxes, have built-in rate limits and account auto-locking, and be able to block incoming email domains and IP addresses.
2013 - 2018

PhD (in Progress) Degree in Computer Science

University of Latvia - Riga, Latvia

2011 - 2013

Master's Degree in Computer Science

University of Latvia - Riga, Latvia

2007 - 2011

Bachelor's Degree in Computer Science

University of Latvia - Riga, Latvia


Codility Golden Award (Strontium 2019)



Advanced Linux: The Linux Kernel



Neural Networks and Deep Learning


JULY 2012 - JULY 2015

MikroTik Certified Network Associate



jQuery, Google APIs, Standard Template Library (STL), React, Facebook API, Stripe, TensorFlow, Vue, Node.js,, Socket.IO


Postfix, Git, MATLAB, Apache, Microsoft Excel, RingCentral, Zapier


Angular, Yii 2, Bootstrap, Laravel, Symfony, Redux, Mithril.js, React Native, Kohana, FuelPHP, CakePHP, AngularJS, Express.js


PHP, C++, JavaScript, CSS, SQL, HTML5, AngelScript, Sass, Bash, Visual Basic, Python, TypeScript


REST, Object-oriented Programming (OOP), Agile


RouterOS, Linux, Windows, iOS, WordPress, Mixpanel, Mailgun, Amazon Web Services (AWS), Android, Exchange Web Services, Amazon EC2, Docker


MySQL, Memcached, MongoDB, PostgreSQL, Redis, SQLite, SQL Server 2017, Azure Cloud Services, Amazon S3 (AWS S3)


Algorithms, Mathematics, Payment APIs, Networks, Artificial Intelligence (AI), ChartMogul, Chargebee, Apple Pay, Google Pay, Payment Processing, Amazon RDS, Email, Emailers, DocuSign, Encoding

Collaboration That Works

How to Work with Toptal

Toptal matches you directly with global industry experts from our network in hours—not weeks or months.


Share your needs

Discuss your requirements and refine your scope in a call with a Toptal domain expert.

Choose your talent

Get a short list of expertly matched talent within 24 hours to review, interview, and choose from.

Start your risk-free talent trial

Work with your chosen talent on a trial basis for up to two weeks. Pay only if you decide to hire them.

Top talent is in high demand.

Start hiring