opencode

Connect OpenCode to Perplexity

Give an AI agent Perplexity as a tool and it can look things up for itself instead of guessing. It can search the web, run cited chat completions, pull academic papers, and search SEC filings mid-task, then feed the answers straight back into whatever it is working on. When it needs a clean object rather than prose it can request structured JSON output, and it can generate embeddings to compare or rank text.

Loading preview…
Opens a workflow with 15 tools ready to use.

Tools OpenCode gets

Pick the operations you want and each becomes a tool the agent can call directly while it works.

Perplexity

15 tools
Create Chat Completion

Generate a search-grounded model answer for a chat conversation.

Create Async Chat Completion

Submit a long-running (e.g. deep-research) completion as a background job.

List Async Chat Completions

List all async chat-completion jobs for the account.

Get Async Chat Completion

Poll the status and retrieve a specific async completion job.

Search the Web

Get raw, ranked web search results (title, URL, snippet).

Create Agent Response

Run a frontier model with Perplexity web-search tools and filters.

Create Embeddings

Generate vector embeddings for text.

Create Contextualized Embeddings

Generate context-aware embeddings (document + surrounding context).

List Models

List the models available to the account.

Generate Auth Token

Programmatically create a new API key/token for the account.

Revoke Auth Token

Revoke an existing API key/token (rotation).

Computer Usage Analytics

Retrieve account usage/analytics data.

Academic Search (Chat)

Chat completion grounded in scholarly sources (search_mode: academic).

SEC Filings Search (Chat)

Chat completion grounded in SEC filings (search_mode: sec).

Structured JSON Output (Chat)

Chat completion with a JSON schema response_format for validated output.

What you can build

When a new lead lands in your CRM, ask Perplexity to research the company from live web results and write a short briefing before your team follows up.
Every morning, run a web search for news about your competitors and post a cited summary to Slack.
Pass an incoming support ticket through a chat completion with structured JSON output so the reply comes back as tagged fields you can route on.
On a schedule, run an SEC filings search for a ticker and flag any new risk-factor language in a report.
Turn a research question into an academic search, then summarize the top papers into a digest for the team.
Create embeddings for each incoming document so a downstream node can match it against your existing knowledge base.

About OpenCode

OpenCode is an open, model-agnostic command-line coding agent. In NoClick it runs hosted and gains your apps as tools, so it can act on real systems rather than just edit files. Wire an integration into the agent and OpenCode can use that app’s operations directly while it works. It is a flexible choice when you want an open agent with broad model support and real tool access.

Open and model-agnostic
Flexible across many underlying models
Good general-purpose tool use
Lightweight to point at a focused task

Frequently asked questions

Open your OpenCode agent in one click

NoClick runs OpenCode for you with Perplexity wired in as tools. Connect your account and run.