npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@mind-merge-ai/mind-merge

v0.8.4

Published

Mind-Merge is a copilot that will let you build an army of agents designed for your project and code then work with them

Downloads

193

Readme

Mind Merge - Agent Creation Guide

This README provides guidelines on how to create and structure agent files for the Mind Merge application. Agents are AI assistants that can perform various tasks and interact with users through chat interfaces.

Table of Contents

  1. Agent File Structure
  2. Creating an Agent
  3. Agent Properties
  4. Agent Content
  5. Using Agents in Chats
  6. Advanced Agent Features

Agent File Structure

Agent files are stored in the ai/prompts/agents/ directory. Each agent has its own subdirectory named after the agent, containing a {agent-name}.md.liquid file.

Example:

ai/prompts/agents/test-agent/test-agent.md.liquid
ai/prompts/agents/secret-agent/secret-agent.md.liquid
ai/prompts/agents/symfony-learner/symfony-learner.md.liquid

Creating an Agent

To create a new agent:

  1. Create a new directory in ai/prompts/agents/ with the agent's name.
  2. Create a Markdown Liquid file named {agent-name}.md.liquid inside the new directory.
  3. Add the necessary content to the file (see Agent Properties and Agent Content).

Agent Properties

Agent files use YAML front matter to define properties. The basic structure is:

---
name: agent-name
provider: openai
model: gpt-4
---
  • name: The unique identifier for the agent.
  • provider: The AI provider (e.g., "openai").
  • model: The specific model to use (e.g., "gpt-4").

Additional properties can be added as needed, such as referencedFiles for including external files in the agent's context.

Agent Content

After the YAML front matter, add the agent's content. This typically includes:

  1. A brief description of the agent's role or purpose.
  2. Any specific instructions or guidelines for the agent's behavior.
  3. Optional sections for handling different types of interactions or tasks.

Example:

You are a test agent

Here are the referenced files in this conversation:
{% for referencedFile in referencedFiles %}
#### {{referencedFile.path}}
`````````{{referencedFile.markdownFormat}}
{{referencedFile.content}}
`````````
{% endfor %}

Using Agents in Chats

To use an agent in a chat:

  1. Create a chat file in the ai/chats/ directory with the .md extension.
  2. Add the agent reference in the YAML front matter of the chat file:
---
agent: agent-name
provider: openai
model: gpt-4
---
  1. Start the conversation with a user message.

Example:

---
agent: test-agent
provider: openai
model: gpt-4
---
# User
Hello, AI assistant!

Advanced Agent Features

Referenced Files

Agents can access referenced files specified in their properties or chat files. Use the referencedFiles property to include external files:

---
name: test-agent
provider: openai
model: gpt-4
referencedFiles:
  - ai/chats/gherkin-tests/docs/agent-referenced-doc.md
---

Message Caching

You can cache specific messages in the agent file to improve performance:

# System
---
cache: true
---

You are a test agent

# User
---
cache: true
---

This is an agent generated user message

Guest Agents

You can invite guest agents to a chat by mentioning them with an @ symbol:

# User
@test-guest-agent Hello, AI assistant!

This concludes the basic guide for creating and structuring agent files in the Mind Merge application. For more detailed information on specific features or advanced usage, please refer to the application's documentation or contact the development team.