Skip to content

[FEATURE]: a plugin feature for people to port their database / sql / customized rag / llm cache ? #3376

Closed

Description

@sprappcom

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

as titled. so people can save on inference, pre check on db / rag / llm cache etc

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Oct 23, 2025
  2. github-actions commented on Oct 23, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. rekram1-node commented on Oct 23, 2025

    @rekram1-node
    Contributor

    Can you explain what you would expect to happen here?

  4. sprappcom commented on Oct 23, 2025

    @sprappcom
    Author

    @rekram1-node a magical ai llm coder prompt that will get this done or a headstart on where i can get this done with a magical ai llm coder prompt.

    i would like standardization towards having this "database" layer and "storage" layer and "rag" layer so i can easily comfortably also create the plugin etc to fit opencode

  5. rekram1-node commented on Oct 23, 2025

    @rekram1-node
    Contributor

    a magical ai llm coder prompt that will get this done or a headstart on where i can get this done with a magical ai llm coder prompt.

    I'm not entirely following, okay so you wanna have a plugin that has access to a sql database? Have you tried custom tools should be pretty easy to setup:
    https://opencode.ai/docs/custom-tools/

  6. sprappcom commented on Oct 24, 2025

    @sprappcom
    Author

    i want to develop a plugin for speech to text
    and custom rag db storage (so this can use custom-tools)

    what about speech to text? or when it's done with llm processing, i can make it beep or play a sound?

  7. rekram1-node commented on Oct 24, 2025

    @rekram1-node
    Contributor

    @sprappcom yep you can, you can read about plugins here.

    This is an example of how to do that on macos (using say):

    export const NotificationPlugin = async ({ project, client, $, directory, worktree }) => {
      return {
        event: async ({ event }) => {
          if (event.type === "session.idle") {
            await $`say "done"`
          }
        },
      }
    }
    
  8. sprappcom commented on Oct 25, 2025

    @sprappcom
    Author

    @rekram1-node are there anything that limits the extensibility of opencode for now? i really much would like to have it do everything

  9. rekram1-node commented on Oct 25, 2025

    @rekram1-node
    Contributor

    you mean plugin wise? or what

  10. sprappcom commented on Oct 26, 2025

    @sprappcom
    Author

    plugin or custom tool wise etc. mcp integration etc etc

  11. rekram1-node commented on Oct 26, 2025

    @rekram1-node
    Contributor

    I think you can take current setup far but anything missing you want for extensibility we can add new hooks and things for you to extend off of

  12. ragavsathish commented on Oct 29, 2025

    @ragavsathish

    Hi,

    Firstly thanks for the amazing tool ❤️

    I’m exploring ways to preempt or override the default READ file tool with a custom search/indexing tool for a workspace query setup and use the result to READ relevant file

    Usage scenario:
    I’m trying to re-use the Roo Codebase Indexing for querying the workspace via OpenCode, so that I can use both Roo and OpenCode seamlessly.

    Is there a recommended way to hook into or override the READ behavior without defining it directly in agents.md ?
    Would love any guidance or best practices for extending this cleanly.

  13. rekram1-node commented on Oct 29, 2025

    @rekram1-node
    Contributor

    You could write your own tool called read and it will override the read tool. See here: https://opencode.ai/docs/custom-tools/

    Or you could give it it's own name too so u would have 2 different types of reads

  14. thdxr commented on Mar 25, 2026

    @thdxr
    Member

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionUsed for feature requests, proposals, ideas, etc. Open discussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions