---
title: 'AI agents: choose a starting point'
description: 'Run a tool-using agent with .NET or Java and inspect its tool calls and results in Pipelogiq.'
category: 'Build AI agents'
---

Use the optional agent SDK when an application needs a model to choose tools and the team needs to inspect what those tools did. An agent run becomes a pipeline with planning, tool execution, optional approval and response stages. Your application supplies the tools, credentials and business rules.

The agent must be integrated through Pipelogiq; installing the server does not automatically capture agents running elsewhere. [Coding-assistant prompts](https://pipelogiq.com/docs-next/ai-prompts/) are a separate aid for integrating your repository.

## What the team can inspect

Open the agent's pipeline in the [dashboard](https://pipelogiq.com/docs-next/dashboard/) to inspect recorded stages, their input/output, logs and approval state. The history contains the plan and results emitted by the agent runtime, not a model's private internal reasoning.

Your tools connect the agent to your business systems. Pipelogiq does not include an HR connector, an accounting connector or an expense policy engine.

A successfully executed tool stage can contain a business failure. Check the tool's returned outcome before treating the agent's final answer as evidence that a record changed.

## Choose your SDK

| Application | Agent integration | First example |
| --- | --- | --- |
| .NET 8+ | `PipelogiqSDK.Agent`; the supplied agent registration uses the AMQP runner | [Ask an agent to calculate a discounted price](https://pipelogiq.com/docs-next/net/agents/) |
| Java 17+ | `pipelogiq-sdk-agent` with the worker facade; HTTP or AMQP transport | [Ask an agent to read the demo service status](https://pipelogiq.com/docs-next/java/agents/) |
| Another language | Build your own handlers using the [HTTP worker protocol](https://pipelogiq.com/docs-next/http-workers/) and [pipeline API](https://pipelogiq.com/docs-next/api/pipelines/) | This is a custom integration; these docs do not supply an agent SDK for that language |

Both SDKs support native tools and HTTP/OpenAPI tool definitions. Their provider, transport and configuration details differ; follow the guide for the SDK you select rather than copying options between them.

## Choose how the agent decides

**Plan-and-execute** creates a plan of tool calls before executing it. Use it when the required operations can be planned upfront.

**ReAct** alternates a model decision with a tool result, so the next action can depend on what the previous tool found. The built-in critic and loading conversation history from previous runs are part of this path in the reviewed SDKs. They are optional features, not extra steps required for a first agent.

Conversation history uses an in-memory store by default. Configure the supported persistent store if history must survive worker restarts. Durable pipeline state and persistent conversation history are separate concerns; see the SDK guide for storage and concurrency limits.

## Start with a read-only tool

1. Follow the example for your SDK above: start a compatible server and an application worker with the agent handlers registered. Configure the chosen provider's model and credentials in the worker.
2. Submit one request and save its pipeline ID. Live provider calls can incur charges.
3. Inspect the tool input, returned outcome and final response for that run. Confirm delivery at the response destination separately: a completed pipeline can still contain a notification delivery failure.

Keep the first tool read-only, such as a local calculator or a lookup against demonstration data. Add real integrations only after their permissions, input validation and retry behavior are defined.

### Alternative: test without a model account

Use the [.NET harness](https://pipelogiq.com/docs-next/net/testing/) or [Java harness](https://pipelogiq.com/docs-next/java/agents/#test-a-tool-without-a-provider) to execute tools with scripted planner decisions. These tests need no server or provider account. They check handler behavior, including approval scenarios in the testing guides, but do not validate live model decisions or server dispatch. They are an alternative starting point, not a prerequisite for the live examples.

## Require approval before a change

For a mutating tool, configure confirmation, route the notification to your application, authenticate the reviewer and submit the decision through the [approval API](https://pipelogiq.com/docs-next/api/pipelines/). The dashboard shows waiting stages but has no general approval inbox. SDK-specific channel integrations are described in the agent guides.

Approval does not replace authorization. Check business permissions in the tool policy or handler immediately before the action, and use a stable business key for external writes. Test approved, rejected and repeated execution paths before allowing real mutations.

Model step limits and estimated token/cost budgets help bound a run; they do not guarantee an account-wide spending cap or correct decisions. Follow the provider-specific limitations in your SDK guide and the [execution guarantees](https://pipelogiq.com/docs-next/reliability/).
