Maximize Productivity with AI Agents

Bookmark
Rate this content

In this talk, we will explore how to offload work to large language models and automate away most "busy work" in order to maximize and enhance productivity on a daily basis. We will do so mainly by exploring how LLMs can callfunctions.

This talk has been presented at Productivity Conf for Devs and Tech Leaders, check out the latest edition of this Tech Conference.

FAQ

Agency in AI refers to the ability to choose tools and produce specific outcomes, similar to the concept of free will or freedom to choose.

In AI, an agent acts on behalf of a user or a group, taking an active role or producing a specified effect, similar to the broader definition of an agent.

Language models use tools by generating structured output, such as JSON, which is then processed by an orchestration layer or application.

Langflow is an open-source diagramming tool that helps understand AI agent workflows by connecting models and tools using a visual interface.

AI agents can increase productivity by automating tasks, integrating with tools and services like Google Calendar, and providing intelligent assistance for scheduling and information retrieval.

MCP is a protocol that makes functions available to AI models over standard input/output or HTTP, allowing models to be extended with new capabilities.

The orchestration layer organizes and manages the interaction between language models and tools, enabling structured task execution.

Tejas Kumar is a web developer with over 20 years of experience, having worked at companies like Brasel, Spotify, and Zeta.

AI agents are AI systems that act on behalf of a person or group, taking an active role or producing a specified effect. They can choose tools to achieve specific outcomes.

Developers can use AI agents to automate coding tasks, manage repositories, and integrate with development tools, enhancing their productivity and efficiency.

Tejas Kumar
Tejas Kumar
25 min
27 Mar, 2025

Comments

Sign in or register to post your comment.
Video Summary and Transcription
I'm Tejas Kumar, a software developer with over 20 years of experience. AI agents are defined as entities that act on behalf of users or groups to produce specific effects. Agents consist of an orchestration layer, a language model, and tools represented as JSON functions. Langflow is an open-source tool that allows users to build their own AI agents by connecting language models and tools. Composio is a tool that enhances agent capabilities by offering integrations and apps, such as Google Calendar integration. MCP (Model Context Protocol) is a way to share context with models and extend their capabilities. It allows functions to be made available to models over standard input/output or an HTTP endpoint. MCP can be used with GitHub to perform various tasks like searching and fixing code issues. The Talk covered the basics of AI agents, building agents with Langflow and enhancing them with Composio, and using MCP with GitHub. The speaker encouraged audience questions and exploration of these concepts.

1. Introduction to AI Agents

Short description:

I'm Tejas Kumar, and I've been building on the web for over 20 years at places like Brasel, Spotify, Zeta, and more. Let's just define what an agent even is. An agent is someone who acts. Let's take a look at another definition called agency. These words are important as we discuss agents, because that's fundamental to understanding AI agents. What is an AI agent? It's when an AI acts on behalf of you or a group or takes an active role or produces a specified effect. Large language models or neural networks simulate our brains, our neural networks. If a human brain has agency to choose tools, so does a language model or an LLM. What is agency? It's the ability to choose a tool to achieve an outcome or producing a particular effect. Now let's zero in on the agency definition in the context of language models.

I'm Tejas Kumar, and I've been building on the web for over 20 years at places like Brasel, Spotify, Zeta, and more. And a lot of this building has been enabled by AI agents. This was the big trending topic in 2025, AI agents. So in our time together today, let's talk about agents, and let's talk about it assuming zero knowledge, and go from there.

To begin with, let's just define what an agent even is. And to do that, we can just go on Google and type define agent, right? And so what we see is it's a person who acts on behalf of another person or group, a person or thing that takes an active role and or produces a specified effect. And so what we can see is an agent is someone who acts. That's literally the thing. Either here in the first definition, acts on behalf or takes an active role. Let's take a look at another definition while we're here called agency. And this is interesting because it's a noun, which is a business or organization providing a particular service on behalf of another person like a travel agent or something. Or the second one, action or intervention by producing a particular effect. And so these words are important as we discuss agents, because that's fundamental to understanding AI agents. So it notice it says a business or person previously. And when we take these definitions and apply them to AI, we get AI agents. So what is an AI agent? It's when an AI acts on behalf of you or a group or some or when an AI takes an active role or produces a specified effect.

Agency, if we look at that other definition, if we look at agency, it says a business or organization providing a particular service, or this one, action or intervention by producing a particular effect. Canals carved by the agency of the water. There's more definitions here, which we can get into the etymology and all of this. But one of the definitions of agency is also just free will or freedom to choose. For example, if you ask me to multiply two very large prime numbers, I could, using my agency, try to do it in my head, probably get it wrong, or using my agency, pick a tool to use like the calculator and get it right. So tool use and choosing the tool is a tenet of an agent, either human AI or otherwise or business. And so that's like agent 101. What does this mean for AI? Basically the same thing. Large language models or neural networks are algorithms that simulate our brains, our neural networks. They're literally the representation of a human brain. So if a human brain has agency to choose tools, so does a language model or an LLM, because it's ultimately just a neural network, a transformer based neural network, if you're interested. And so I hope that becomes clear. So what is agency? It's the ability to choose a tool to achieve an outcome or, in the case of this slide, producing a particular effect. Now let's zero in on the agency definition in the context of language models.

2. Agent Components and Tool Usage

Short description:

There's this great paper by Google published October of 2024, Agents, by Julia Wiesinger, Patrick Marlow and Vladimir Vuskovich. This ultimately is an agent. It is a runtime that contains three components, an orchestration layer, a model, usually a language model, and tools. Tools are nothing more than functions. Language models can generate structured output, which is JSON. Language models use tools by generating JSON output. For example, a language model can generate a tool called JSON object with arguments like the city. The application that consumes this output would then call the corresponding function in the orchestration layer.

There's this great paper by Google published October of 2024, Agents, by Julia Wiesinger, Patrick Marlow and Vladimir Vuskovich. And this paper goes on to outline, excuse me, it was September 2024. The paper goes on to outline what is an agent. And if we go to that section, there's some text and a diagram. This ultimately is an agent. It is a runtime that contains three components, an orchestration layer where things are, well, orchestrated or organized, a model, usually a language model and tools.

I think if we've had any exposure at all to something like chatGPT, we know what a language model is. We don't need to go into detail about that. But let's talk about tools and then the orchestration layer. Tools are nothing more than functions. That's how they're represented in the AI agent landscape. They're functions. And so some might think that a language model can call functions. That's not true. Language models can generate structured output. Because what is structured output? It's just language. It's JSON. And so how language models use tools is by generating JSON output.

Let me show you. So if we come to TL draw and just create our slides interactively, you can say, let's say the user is you and you say get the weather to the language model. A language model can then either say, I can't, right? If it can't. Or the language model will generate you a tool called JSON object. So it might generate you something like this. Tool name is get weather. And then args is complete. It's an array of arguments that's completely generated. And of course, args would be the city, for example. And then your application that consumes this output would read this. And then an application code or in the orchestration layer, you would do this. You would call get weather with Berlin, right? And then whatever the response is would go back to the LLM.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

AI and Web Development: Hype or Reality
JSNation 2023JSNation 2023
24 min
AI and Web Development: Hype or Reality
Top Content
This talk explores the use of AI in web development, including tools like GitHub Copilot and Fig for CLI commands. AI can generate boilerplate code, provide context-aware solutions, and generate dummy data. It can also assist with CSS selectors and regexes, and be integrated into applications. AI is used to enhance the podcast experience by transcribing episodes and providing JSON data. The talk also discusses formatting AI output, crafting requests, and analyzing embeddings for similarity.
Atomic Deployment for JS Hipsters
DevOps.js Conf 2024DevOps.js Conf 2024
25 min
Atomic Deployment for JS Hipsters
This Talk discusses atomic deployment for JavaScript and TypeScript, focusing on automated deployment processes, Git hooks, and using hard links to copy changes. The speaker demonstrates setting up a bare repository, configuring deployment variables, and using the post-receive hook to push changes to production. They also cover environment setup, branch configuration, and the build process. The Talk concludes with tips on real use cases, webhooks, and wrapping the deployment process.
Effective Performance Testing to your Server with Autocannon
TestJS Summit 2021TestJS Summit 2021
36 min
Effective Performance Testing to your Server with Autocannon
Top Content
Tamar is an experienced code writer and architect with expertise in Node.js. Performance testing can be confusing, but understanding terms like throughput and the 99th percentile is crucial. The 99th percentile is important for making commitments and ensuring customer satisfaction. AutoCanon is a powerful tool for simulating requests and analyzing server performance. It can be installed globally or used as a library in Node.js. Autocannon is preferred over Gatling for performance testing and can be integrated with end-to-end tests in Cypress.
Forget Bad Code, Focus on the System
React Summit US 2023React Summit US 2023
27 min
Forget Bad Code, Focus on the System
Top Content
Watch video: Forget Bad Code, Focus on the System
Setting up the system and separating concerns are important in software development. Modular construction and prefab units are a new trend that makes construction quicker and easier. Architectural complexity can lead to a drop in productivity and an increase in defects. Measuring architectural complexity can help identify natural modules in the code. Best practices for avoiding architectural complexity include organizing code by business domain and using prop drilling. Atomic design and organizing a monorepo are recommended approaches for managing architectural complexity.
Delightful Integration Tests With Testcontainers
TestJS Summit 2022TestJS Summit 2022
21 min
Delightful Integration Tests With Testcontainers
Top Content
Testing is crucial for development and production, with integration tests becoming more popular. Test containers is a library that integrates with Docker to create reliable test environments. It is flexible and can be used with various frameworks and test libraries. The IDE setup involves configuring the container and connecting it to the application. Test containers can be used for complex operations and allows running tests with real dependencies.
Confessions from an Impostor
JSNation 2022JSNation 2022
46 min
Confessions from an Impostor
Top Content
The Talk discusses imposter syndrome and reframes it as being a professional imposter. It emphasizes the importance of sharing and starting, embracing imposterism, and building inclusively for the web. The speaker shares personal experiences of being an imposter in various technical disciplines and highlights the significance of accessibility. The Talk concludes with the idea of building a collective RPG game to remove excuses for not making things accessible.

Workshops on related topic

Automated accessibility testing with jest-axe and Lighthouse CI
TestJS Summit 2021TestJS Summit 2021
85 min
Automated accessibility testing with jest-axe and Lighthouse CI
Workshop
Bonnie Schulkin
Bonnie Schulkin
Do your automated tests include a11y checks? This workshop will cover how to get started with jest-axe to detect code-based accessibility violations, and Lighthouse CI to validate the accessibility of fully rendered pages. No amount of automated tests can replace manual accessibility testing, but these checks will make sure that your manual testers aren't doing more work than they need to.
Utilising Zapier's Built-in AI Capabilities and AI Tool Integrations
Productivity Conf - Practical AI in MarketingProductivity Conf - Practical AI in Marketing
57 min
Utilising Zapier's Built-in AI Capabilities and AI Tool Integrations
Workshop
Kelly Goss
Kelly Goss
How to supercharge your no-code automation building and reduce build time with Zapier's latest AI features and functionality. I'll also cover AI tools that natively integrate with Zapier to bring a whole new level to productivity.
Automated Testing Using WebdriverIO
TestJS Summit 2022TestJS Summit 2022
163 min
Automated Testing Using WebdriverIO
Workshop
Kevin Lamping
Kevin Lamping
In this workshop, I cover not only what WebdriverIO can do, but also how you'll be using it day-to-day. I've built the exercises around real-world scenarios that demonstrate how you would actually set things up. It's not just "what to do," but specifically "how to get there." We'll cover the fundamentals of Automated UI testing so you can write maintainable, useful tests for your website and/or web app.
JS Security Testing Automation for Developers on Every Build
TestJS Summit 2021TestJS Summit 2021
111 min
JS Security Testing Automation for Developers on Every Build
Workshop
Oliver Moradov
Bar Hofesh
2 authors
As a developer, you need to deliver fast, and you simply don't have the time to constantly think about security. Still, if something goes wrong it's your job to fix it, but security testing blocks your automation, creates bottlenecks and just delays releases...but it doesn't have to...

NeuraLegion's developer-first Dynamic Application Security Testing (DAST) scanner enables developers to detect, prioritise and remediate security issues EARLY, on every commit, with NO false positives/alerts, without slowing you down.

Join this workshop to learn different ways developers can access Nexploit & start scanning without leaving the terminal!

We will be going through the set up end-to-end, whilst setting up a pipeline, running security tests and looking at the results.

Table of contents:
- What developer-first DAST (Dynamic Application Security Testing) actually is and how it works
- See where and how a modern, accurate dev-first DAST fits in the CI/CD
- Integrate NeuraLegion's Nexploit scanner with GitHub Actions
- Understand how modern applications, APIs and authentication mechanisms can be tested
- Fork a repo, set up a pipeline, run security tests and look at the results
Security Testing Automation for Developers on Every Build
GraphQL Galaxy 2021GraphQL Galaxy 2021
82 min
Security Testing Automation for Developers on Every Build
Workshop
Oliver Moradov
Bar Hofesh
2 authors
As a developer, you need to deliver fast, and you simply don't have the time to constantly think about security. Still, if something goes wrong it's your job to fix it, but security testing blocks your automation, creates bottlenecks and just delays releases, especially with graphQL...but it doesn't have to...

NeuraLegion's developer-first Dynamic Application Security Testing (DAST) scanner enables developers to detect, prioritise and remediate security issues EARLY, on every commit, with NO false positives / alerts, without slowing you down.

Join this workshop to learn different ways developers can access NeuraLegion's DAST scanner & start scanning without leaving the terminal!

We will be going through the set up end-to-end, whilst setting up a pipeline for a vulnerable GraphQL target, running security tests and looking at the results.

Table of contents:
- What developer-first DAST (Dynamic Application Security Testing) actually is and how it works
- See where and how a modern, accurate dev-first DAST fits in the CI/CD
- Integrate NeuraLegion's scanner with GitHub Actions
- Understand how modern applications, GraphQL and other APIs and authentication mechanisms can be tested
- Fork a repo, set up a pipeline, run security tests and look at the results