> For the complete documentation index, see [llms.txt](https://docs.peoplelogic.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.peoplelogic.dev/guides/getting-started-with-the-talent-agent-sdk/shipping-your-agents.md).

# Shipping your agents

And now we get to the fun part - actually shipping your agent!&#x20;

This will usually depend heavily on your specific use case, but there are a few typical ways to ship your agents:

### Locally with a single jar

Here you'll just distribute the combined jar file that the build process creates.  You can choose to wrap it in an Operating System specific script or just instruct your users to run it directly if its meant to be used from the CLI.

### Docker container

Docker is often the most preferred way to deploy applications built on the Talent Agent SDK.  We provide a sample `Dockerfile` inside the resources folder of the SDK. &#x20;

```
FROM openjdk:22-jdk-slim
WORKDIR /app
COPY libs/sampleagent-@@applicationVersion@@.jar /app/sampleagent-all.jar
ENTRYPOINT ["java", "-Dnetworkaddress.cache.ttl=0", "-Dnetworkaddress.cache.negative.ttl=0", "-Dspring.profiles.active=prod,aws", "-Xmx2g", "--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED", "--add-opens=java.base/java.lang=ALL-UNNAMED", "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED", "--add-opens=java.base/sun.reflect.annotation=ALL-UNNAMED", "-jar", "/app/sampleagent-all.jar"]
EXPOSE 8080
```

To use this file, and get all the properties replaced and setup, you'll want to add the following to your `build.gradle` file:

```docker
build {
    copy {
        from('Dockerfile') {
            filter { it.replaceAll('@@applicationVersion@@', version) }
        }
        into 'build'
    }
}

```

Once this is done, you'd typically run something like docker buildx to build your container stack:

```bash
docker buildx build --platform=linux/amd64 -t $CONTAINER_NAME:$VERSION build
```

Obviously, the exact specifics will depend on your setup and how you intend to deploy.

### Elastic Beanstalk or Similar

With platforms like Elastic Beanstalk from AWS, or the similar services from Azure, you can choose to either have it use a Docker container or the single large jar file.  Either way, these types of services can provide a low maintenance way of hosting your agents without the hassle of server maintenance.

### Hosting with the Talent Cloud

You can also choose to host your agents in our enterprise Talent Cloud.  We'll take care of all the hosting and scaling of your agents.  This is a great option if you're also using the [Composable Talent Platform](/guides/getting-started-with-the-composable-talent-platform.md).  If you're interested in this option, please reach out at <support@peoplelogic.dev>.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.peoplelogic.dev/guides/getting-started-with-the-talent-agent-sdk/shipping-your-agents.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
