modify-agent

Modify agent code, integrate MCP servers, and update model configurations.

183|146|Updated Jun 6, 2024
One-click install
npx skills add https://github.com/databricks/app-templates --skill modify-agent-databricks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modify-agent
Source: https://github.com/databricks/app-templates/tree/main/agent-openai-agents-sdk/.claude/skills/modify-agent
Command: npx skills add https://github.com/databricks/app-templates --skill modify-agent-databricks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows you to modify and enhance existing AI agents by adding new tools, changing their core instructions, or updating their underlying models, streamlining agent development and customization.

Core Features & Use Cases

  • Code Modification: Directly edit agent logic in agent_server/agent.py.
  • Tool Integration: Add new MCP servers (e.g., for data access or external APIs) to an agent.
  • Configuration Updates: Easily change the agent's foundational model or its conversational instructions.
  • Use Case: You have a customer support agent that needs to access real-time inventory data; you would use this skill to add an MCP server that connects to your inventory database.

Quick Start

Modify the agent's instructions to act as a data analyst.

Frequently Asked Questions about modify-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I customize an AI agent to use external tools and data sources?

To customize an AI agent, you can modify its Python code in agent.py and integrate MCP servers for external data access. This allows you to add new tools, change core instructions, and update underlying models for enhanced agent functionality.

How do I add an MCP server to an existing Databricks AI agent?

Adding an MCP server to a Databricks AI agent involves modifying the agent's code to include the server definitions. This integration enables the agent to connect to external APIs or inventory databases, expanding its tool access and real-time data capabilities.

Do I need to know Python and the Databricks Agent Framework to modify agent instructions?

Yes, modifying agent instructions requires understanding Python scripting, the Databricks Agent Framework, and MLflow. These prerequisites are necessary to edit agent logic in agent.py and adjust foundational model configurations effectively.

Can I change the foundational LLM model of my agent after deployment?

Yes, you can change the foundational LLM model of your agent through configuration updates. This Skill supports adjusting model configurations and conversational instructions, allowing you to switch the underlying model to better suit your agent's specific use case.

What is the best way to update conversational instructions for a customer support agent?

The best way to update conversational instructions is through direct code modification of the agent's logic. By editing the Python scripts, you can redefine the agent's behavior to act as a data analyst or handle specific support scenarios.

Why does my agent logic modification require MLflow?

Agent logic modification requires MLflow because it is part of the Databricks Agent Framework ecosystem. MLflow manages the model configurations and lifecycle, ensuring your custom instructions and integrated MCP servers function correctly within the deployed agent.