Skip to content
Medium

Medium

A publication for sharing projects, ideas, codes, and new theories.

towardsdev.com
MediumMedium
MOBILE APP DEVELOPMENT

Software Development Kit vs Agent Development Kit: What Sets Them Apart

#### If you’ve spent any time building software, you’ve run into the term SDK. You install one to build an iOS app, another to use AWS, another for integration. But what actually is an SDK, and how is it different from a library or an API? The terms get thrown around so loosely that it’s easy to nod along without really knowing. Let’s break it down from the ground up. AI Generated Imgae ### Start With a Library A library is a collection of reusable code that solves a specific problem, so you don’t have to write it yourself. Python’s Pandas library, for example, handles tabular data: import pandas as pd df = pd.read_csv("users.csv") You didn’t write the CSV-parsing logic. Pandas already did. That’s the whole point of a library: it hands you working code for a common task. Libraries are narrow by design. Pandas doesn’t know or care what platform you’re deploying to, it just processes data. ### Then Comes the API An API (Application Programming Interface) is a defined way for one piece of software to talk to another. If a third party wants your app to interact with their service, they expose an API i.e a set of rules for what requests you can send and what responses you’ll get back. The problem is, talking to a raw API directly is a hassle. You’d need to handle: - HTTP requests and responses - Authentication tokens - JSON formatting - Errors and retries - Pagination for large results Doing all of that by hand, every time, for every service you use, gets old fast. ### Client Libraries Bridge the Gap A client library is a library built specifically to make talking to one API easier. Instead of constructing raw HTTP requests to BigQuery, Google gives you a Python package: pip install google-cloud-bigquery from google.cloud import bigquery client = bigquery.Client() results = client.query("SELECT * FROM users").result() One method call client.query() replaces a whole pile of manual HTTP handling. The library takes care of authentication, request building, and response parsing behind the scenes. You just get clean Python objects back. This is the pattern behind most of what people casually call “SDKs.” ### So What Is an SDK, Really? An SDK (Software Development Kit) is broader than a single library. It’s a full toolkit for building on a particular platform or service, and it can include: - One or more client libraries - Authentication utilities - Data models and type definitions - Command-line tools - Configuration helpers - Sample code and documentation Think of a library as a single tool and an SDK as the whole toolbox. The AWS SDK, for instance, doesn’t just give you a way to talk to S3; it bundles together libraries for dozens of AWS services, plus shared authentication and configuration logic that ties them all together. A quick caution on terminology: companies aren’t consistent about this. Someone might say “install the BigQuery SDK” when they technically mean the BigQuery client library. In everyday conversation, “SDK” and “client library” get used interchangeably all the time. Rather than getting stuck on the label, ask a more useful question: what does this package actually let my app do? ### A Practical Example: Building on Google Cloud Say you’re building an app that needs to use BigQuery, Cloud Storage, and Pub/Sub. Google provides a separate client library for each: google-cloud-bigquery google-cloud-storage google-cloud-pubsub Your app ends up looking like this: Your Application | +---------+---------+ | | | BigQuery Storage Pub/Sub Client Client Client | | | BigQuery GCS Pub/Sub API API API Each client library talks to its own API, and together they form part of what’s loosely called “the Google Cloud SDK” though in practice you’re usually just installing the individual pieces you need. ### And What About ADK? Once SDKs make sense, ADK (Agent Development Kit) is easy to place: it’s the same idea, specialized for building AI agents. A traditional SDK is built around a service like BigQuery, S3 and gives you a clean way to send requests and get responses back. An ADK is built around a reasoning loop. Instead of “call this function, get this data back,” you’re wiring up a system that can decide for itself what to do next, potentially across multiple steps, tools, and even other agents. ### What an ADK Typically Provides - Agent definitions: a way to describe an agent’s role, instructions, and the tools it’s allowed to use - Tool integration: a standard way to plug in functions, APIs, or other client libraries as “tools” the agent can call - Orchestration logic: the machinery that lets an LLM decide which tool to use, in what order, and how to interpret the results - Session and state management: memory of what’s happened so far in a conversation or task - Multi-agent support: the ability for one agent to delegate work to another, sub-agent style - Observability tools: logging and tracing so you can see why an agent made the decisions it did ### A Concrete Example Let’s say you’re building a Data Engineering Agent whose job is to investigate a failed data pipeline. Rather than writing a hardcoded script that always checks logs, then Dataflow, then BigQuery in that order, you give the agent access to all three as tools and let it reason about which one to use first: Data Engineering Agent | +---------+---------+ | | | Logs Dataflow BigQuery Tool Tool Tool If the failure looks like a permissions issue, the agent might check logs first. If it looks like a data quality issue, it might jump straight to querying BigQuery. That branching, adaptive behavior is exactly what an ADK is designed to support, it’s not something a conventional SDK’s request/response model handles well. ### How This Differs From Just Using an LLM API Directly You could, in theory, call an LLM API yourself and manually parse its output to decide what to do next. People did this before ADKs existed, and many still do for simple cases. But once you need multiple tools, multi-turn state, retries, or agent-to-agent handoffs, you end up reinventing the same scaffolding an ADK already provides session tracking, tool-call parsing, error handling for failed tool calls, and so on. An ADK exists so you don’t have to rebuild that plumbing from scratch every time. In short: an SDK gives you scaffolding for talking to a service. An ADK gives you scaffolding for building a decision-making system that talks to services on your behalf. ### Putting It All Together 1. Library Reusable code for a specific task 2. API A defined way to communicate with a service 3. Client Library A simplified wrapper around a specific API 4. SDK A full toolkit for building on a platform 5. ADK A toolkit specialized for building AI agents If you remember one sentence, make it this one: a library gives you reusable code, an API gives you a way to talk to a service, an SDK bundles everything you need to build on a platform, and an ADK is an SDK purpose-built for AI agents. Once that distinction clicks, terms like “AWS SDK,” “Android SDK,” “Stripe SDK,” and “Google ADK” stop being jargon and start being exactly what they sound like: toolkits, scoped to a purpose, meant to save you from reinventing the wheel. --- Software Development Kit vs Agent Development Kit: What Sets Them Apart was originally published in Towards Dev on Medium, where people are continuing the conversation by highlighting and responding to this story.
GOOGLE
MediumMedium
DATABASES AND DATA ENGINEERING

How Graph Databases Actually Store Data

#### A deep dive into how nodes, relationships, and index-free adjacency actually work under the hood. I used to think a graph database was just a database that draws pretty node and edge pictures. Then I asked myself a more interesting question: how is that graph actually stored under the hood? That question sent me down a rabbit hole and changed how I think about data modeling entirely. AI generated image ### The Core Idea Graph databases represent data with three building blocks: nodes, relationships, and properties. Take a simple online store. You have a customer, Alice, and a product, Laptop. In a relational database, you’d need a Customer table, a Product table, and a Purchase table joining them by foreign keys. In a graph model, you just write: Alice —[PURCHASED]→ Laptop Alice and Laptop are nodes. PURCHASED is the relationship connecting them and here's the part that hooked me: the relationship isn't a side effect of the schema, it's a first-class citizen of the data model. Nodes carry properties, just like a row would: Customer ---------------- name: Alice age: 30 And relationships can carry properties too: PURCHASED ---------------- date: 2026-09-07 That last bit matters more than it looks. In a relational database, “when did Alice buy this?” lives in a join table you have to remember to query. In a graph, it’s just sitting on the edge itself. Here’s what that looks like in Neo4j’s query language, Cypher: CREATE (c:Customer {name: "Alice", age: 30}) CREATE (p:Product {name: "Laptop", price: 1200}) CREATE (c)-[:PURCHASED {date: "2026-09-07"}]->(p); Three things get created: a Customer node, a Product node, and a PURCHASED edge between them. ### Is This Even “Non-Relational”? This confused me at first. Graph databases are usually filed under NoSQL, alongside document stores and key-value stores. But graph databases are obsessed with relationships so why call them “non-relational”? The answer: “relational” here is a technical term referring to the table/row/column model, not to whether relationships exist. A graph database can be soaked in relationships and still be non-relational, because its primary structure isn’t rows in tables but it’s nodes connected by edges. ### Why This Model Exists At All Relational databases are great until your data looks less like a spreadsheet and more like a web. Take a social network. Users follow users, like posts, join groups, follow companies, and have friends who have their own friends. Now try to answer: > “Find friends of my friends who are interested in the same products as me.” In SQL, that’s a chain of joins across User, Friendship, Interest, and Product tables and it gets uglier with every extra hop. In a graph, it's just a walk: Alice → FRIEND_OF → Bob → PURCHASED → Laptop This is called graph traversal, and it’s the whole reason graph databases exist: some problems are naturally about paths, not tables. ### Where Graphs Actually Shine - Social networks — friends, follows, groups, all naturally nodes and edges. - Recommendations — “people who bought this also bought that” is a two-hop traversal. - Fraud detection — if five “different” accounts all connect to the same device or IP, that pattern jumps out in a graph in a way it doesn’t in a table scan. - Knowledge graphs — Einstein → WORKED_AT → Princeton → LOCATED_IN → New Jersey. Search engines and AI systems lean on exactly this structure to connect facts. None of this means graphs are “better” than relational databases, they’re optimized for a different shape of problem. A payroll system with employees, salaries, and monthly deductions is still happiest in a relational database. A social network where the connections are the product is happiest in a graph. ### So How Is It Actually Stored? This is the question that started this whole exploration, and the honest answer is: it depends on the engine, but the general idea is this. The graph you see in a diagram isn’t a picture stored somewhere but it’s a view the database generates. Underneath, each node is stored with direct, physical pointers (or pointer-like references) to its relationships, and each relationship stores pointers to the nodes it connects, plus its own properties. This is what’s sometimes called index-free adjacency: instead of using a global index to look up “who is Alice connected to?” (the way a relational database would use a foreign key + index), each node already knows its neighbors directly. Traversing from Alice to Bob to Charlie doesn’t require searching an index at every hop, you just follow the pointer that’s already sitting there. That’s why multi-hop queries stay fast in a graph database even as the traversal gets deeper, while the equivalent chain of SQL joins tends to get slower. The exact physical implementation of how nodes and relationship pointers are laid out on disk, how properties are indexed and varies by database. But the conceptual shape is consistent: Node ├── Properties └── Relationships ├── Type ├── Target Node └── Properties ### The Bigger Shift What changed for me wasn’t just learning a new query language, it was a shift in the starting question. With a relational database, you start by asking: what tables do I need? With a graph database, you start by asking: what entities exist, and how are they connected? People connect to people. People connect to products. Products connect to categories. Transactions connect all of them. Once you start looking at data this way, you realize a lot of real systems were graphs all along — we were just forcing them into tables. --- How Graph Databases Actually Store Data was originally published in Towards Dev on Medium, where people are continuing the conversation by highlighting and responding to this story.