# Build a pro-code agent with Continue You can use [Palantir MCP](../../palantir-mcp/overview/index.md) with [Continue ↗](https://www.continue.dev/) to build your agent directly from your editor using natural-language prompts. Continue can help with any part of building your agent, including managing the [Ontology SDK (OSDK)](../../ontology-sdk/overview/index.md) and [Ontology MCP (OMCP)](../../ontology-mcp/overview/index.md) attached to the agent without leaving your development environment. ![Using Continue to build an Agent in the code repository.](../../../assets/4127815f2cb7606b61ca455cf931c52ef08ca484736351a5cba229bb5700c9f5.webp) ## Capabilities Using Palantir MCP with Continue, you can perform the following: * Write and iterate on any part of your agent, such as updating the system prompt, defining arguments, or adding custom tools. * Manage the Ontology resources available to your agent through the OSDK and OMCP. * Publish your agent. ## Prerequisites Before you begin, ensure that you have the following: * An agent repository created using the [agent template](../agent-templates/index.md). See [Build a pro-code agent in Foundry](../create-agent/index.md). * [Palantir MCP](../../palantir-mcp/installation/index.md) installed in your editor. * The [Continue ↗](https://www.continue.dev/) extension installed in your editor. ## Build your agent Continue can help with any agent-building task. For example, prompt Continue to update your agent's behavior: ```text Update the system prompt so the agent summarizes results in two sentences. ``` For more information on the tools available through Palantir MCP, review the [Palantir MCP documentation](../../palantir-mcp/overview/index.md). ## Manage the SDK and OMCP scope Prompt Continue to add the Ontology resources your agent needs to the SDK. For example: ```text Add MyObjectTypeApiName to the SDK and install it here. ``` In response, Continue creates an [Ontology SDK](../../ontology-sdk/overview/index.md) if one does not exist. It then looks up the object type or action type, adds it to the SDK, generates a new SDK version, and installs it in your repository. Because the [Ontology MCP](../../ontology-mcp/overview/index.md) is created from the same SDK resources, the resources you add also become available as OMCP tools. ## Publish your agent When your agent is ready, prompt Continue to publish it: ```text Publish this agent. ``` For more detail on the publishing flow, review [Publish and call a pro-code agent](../publish-and-call/index.md). ## Next steps * [Build your first pro-code agent in Foundry.](../create-agent/index.md) * [Understand how the agent authenticates without client credentials.](../scoped-permissions/index.md) * [Learn more about the tools available through Palantir MCP.](../../palantir-mcp/getting-started/index.md)