Developer Portal

Welcome to the Fivo Developer Portal. Here you'll find setup manuals, API guides, and integration schemas for routing prompts, learning programming taste, and masking sensitive client data.

VPC-Native Architecture

Fivo and its modules run natively in transit with **zero-payload persistence**. Your raw prompts, trade secrets, keys, and API payloads are processed completely in-flight and are never stored or logged by Fivo.

1-Line Quickstart

Integrating Fivo into your active code base is as simple as updating your client's `base_url` or `baseURL` pointer. Point your existing API calls at Fivo and configure your custom API key.

# Install official OpenAI client: pip install openai
import openai

client = openai.OpenAI(
    api_key="ps_live_your_key_here",  # Fivo Workspace key prefix
    base_url="https://api.fivo.live/v1/compat/openai/v1"  # Point directly to Fivo Gateway!
)

response = client.chat.completions.create(
    model="deepseek-v4-pro",  # Optimized next-gen model class
    messages=[{"role": "user", "content": "Optimize this binary search algorithm..."}]
)

print(response.choices[0].message.content)
// Install official OpenAI client: npm install openai
const { OpenAI } = require('openai');

const openai = new OpenAI({
  apiKey: 'ps_live_your_key_here',
  baseURL: 'https://api.fivo.live/v1/compat/openai/v1' // Point directly to Fivo Gateway!
});

async function run() {
  const response = await openai.chat.completions.create({
    model: 'deepseek-v4-pro',
    messages: [{ role: 'user', content: 'Optimize this binary search algorithm...' }],
  });
  console.log(response.choices[0].message.content);
}

run();
curl -X POST https://api.fivo.live/v1/compat/openai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "x-fivo-api-key: ps_live_your_key_here" \
  -d '{
    "model": "deepseek-v4-pro",
    "messages": [{"role": "user", "content": "Optimize this binary search algorithm..."}]
  }'
package main

import (
	"context"
	"fmt"
	"log"

	"github.com/sashabaranov/go-openai"
)

func main() {
	config := openai.DefaultConfig("ps_live_your_key_here")
	config.BaseURL = "https://api.fivo.live/v1/compat/openai/v1"

	client := openai.NewClientWithConfig(config)
	resp, err := client.CreateChatCompletion(
		context.Background(),
		openai.ChatCompletionRequest{
			Model: "deepseek-v4-pro",
			Messages: []openai.ChatCompletionMessage{
				{
					Role:    openai.ChatMessageRoleUser,
					Content: "Optimize this binary search algorithm...",
				},
			},
		},
	)

	if err != nil {
		log.Fatalf("ChatCompletion error: %v\n", err)
	}

	fmt.Println(resp.Choices[0].Message.Content)
}
use reqwest::Client;
use serde_json::json;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Client::new();
    let response = client
        .post("https://api.fivo.live/v1/compat/openai/v1/chat/completions")
        .header("Content-Type", "application/json")
        .header("x-fivo-api-key", "ps_live_your_key_here")
        .json(&json!({
            "model": "deepseek-v4-pro",
            "messages": [{"role": "user", "content": "Optimize this binary search algorithm..."}]
        }))
        .send()
        .await?
        .json::<serde_json::Value>()
        .await?;

    let content = &response["choices"][0]["message"]["content"];
    println!("Response: {}", content);
    Ok(())
}

Fivo Gateway: Intelligent Routing

Fivo Gateway operates as an in-transit secure router sitting directly between your applications and 8+ major next-generation model architectures.

Every incoming prompt is instantly evaluated for semantic caching availability and provider latency baseline. When Fivo detects a repetitive developer workload–”such as structural parsing, automated code analysis, or database query generation–”it serves the response directly from our local memory caching tier in less than 50ms.

This bypasses the model provider entirely, retaining 99%+ quality while reducing expenditures up to 25x.

Inherited Security Compliance

Because Fivo Gateway operates purely in-transit, your prompt data is never stored or persisted. It inherits your secure local servers or private virtual cloud bounds automatically, simplifying audits and allowing security teams to implement optimized routing from day one.

Next-Gen Model Support

Fivo routes incoming requests dynamically across high-performance next-generation models from major providers, ensuring the lowest latency and optimal cost.

Model Class Provider Core Avg savings Ideal For
Claude Opus 4.8 Anthropic Engine 4.5x savings Complex system architecture and deep reasoning
GPT-5.5 (Ultra) OpenAI Suite 6.0x savings Highly structured output and enterprise analysis
DeepSeek V4 Pro DeepSeek Cluster 25.0x savings High-speed, massive repeat programming and scripts
Gemini 3.5 Flash Google AI Labs 12.0x savings Low-latency, long-context audio and video analysis
Llama 4.3 (OSS) Meta Open Source 15.0x savings Fast offline generation and utility parsing tasks

Fivo Cell: CLI Installation

Fivo Cell is a tiny local daemon designed to learn your coding taste, style preferences, and structure patterns. It runs 100% offline, free forever, with zero dependencies on third-party cloud engines.

Setup the Cell CLI via npm in less than 30 seconds:

# Install Cell globally via npm
npm i -g fivocell

# Initialize Fivo Cell configuration
cell init

# Boot up the offline daemon
cell daemon start
# Query the active daemon states and metrics
cell status

🧠 FIVO Cell Status
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Daemon:        βœ… Running (localhost:9876)
VS Code:       βœ… Installed
Cursor:        βœ… Installed
Windsurf:      βœ… Installed
Claude Code:   βœ… MCP configured (5 tools)
Codex CLI:     βœ… MCP configured
Shell Hook:    βœ… Active
Copilot Sync:  βœ… Active
Modules:       40 loaded
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# Turn cloud telemetry sync OFF (enforces 100% offline local-only mode)
cell cloud off

# Re-enable cloud aggregate telemetry sync anytime
cell cloud on

# Completely uninstall the global daemon and purge local caches
npm uninstall -g fivocell
rm -rf ~/.fivo/cell

Fivo Cell CLI Commands Reference

Manage your local learning daemon, custom preferences, and synchronization channels using the Fivo Cell CLI utility.

Command Arguments Description
cell init None Initialise workspace, scanning structure and creating a default cell.json.
cell daemon start None Boot up the offline learning daemon running on localhost:9876.
cell daemon stop None Shut down the local background learning daemon.
cell status None Verify integration hooks across VS Code, Cursor, Windsurf, and Claude Desktop.
cell cloud on None Enable snapshot synchronization with the companion Cell Cloud.
cell cloud off None Force offline-only SQLite execution, blocking external telemetry.
cell sync push None Force-push local style vector index snapshot to Cell Cloud.
cell sync pull None Fetch and overwrite local parameters with Cell Cloud style configurations.
cell rules list None Display all extracted coding guidelines and preferences.
cell rules add --rule "description" Manually append a coding taste parameter to the local index.
cell rules remove --id "rule_id" Remove a learned style rule from local database storage.
cell purge None Wipe local SQLite datasets, purge learning caches, and reset daemon configuration.

Cell Taste Learning Profile

As you write and edit code, Fivo Cell monitors simple workflow events–”such as diff accepts, edits, and retries–”across your IDE surfaces (VS Code, Cursor, Windsurf, or Claude Code). It learns how you organize and refine AI-generated solutions.

Cell organizes these preferences into a secure local style index stored completely on your workstation. When you invoke AI prompts in any connected tool, Cell dynamically overlays these stylistic preferences onto your outgoing requests in transit.

This guarantees that your unique taste and formatting preferences are maintained consistently across all coding assistants, automatically.

IDE Extensions & MCP Configuration

Fivo Cell exposes standard Model Context Protocol (MCP) integrations to extend your taste profile straight to modern CLI tools.

Claude Desktop Config

Add the Fivo Cell MCP handler by inserting this block into your standard `~/.claude/claude_desktop_config.json` configuration:

mcp_config.json
{
  "mcpServers": {
    "fivo-cell": {
      "command": "cell",
      "args": ["mcp", "start"]
    }
  }
}

Fivo Cell Cloud: Connection

Fivo Cell Cloud serves as the managed sync engine for your local Fivo Cell daemon. Connect your workstation to sync coding preferences, style templates, and context profiles across all your development machines.

Local Authentication Setup

Follow these 3 simple steps to authenticate your local daemon with the Fivo Cell Cloud:

# Start your local daemon (ensure it is running)
cell run

# Authenticate using your cloud account access token
cell login tokens_cl_prod_abc123

πŸ”“ Authenticated successfully with Fivo Cell Cloud!
Profile: developer@fivo.live
Sync status: Ready
# Stream local developer taste updates to the cloud in real-time
cell watch start

πŸ“‘ Cell watch started. Monitoring editor files...
πŸ”„ Local SQLite snapshot synced to cloud database.
[Active Session] 14 diff adjustments captured.

Under the Hood: Taste Sync Security

Fivo Cell Cloud synchronizes coding preferences using a zero-knowledge local-first architecture. It compiles abstract style attributes into secure signatures encrypted on your workstation before transfer, ensuring that raw code content is never transmitted.

Cell Cloud 12-Page Dashboard

Once connected, Fivo Cell Cloud provides a comprehensive 12-page web dashboard to manage, visualize, and review your AI memory and coding vibe profiles.

Dashboard Page Functionality & Metrics Displayed Key Actions Available
Overview Aggregated developer status, active tokens, sync rate, and overall cache hit metrics. Quick stats view, reload metrics.
Memory Semantic memory log containing key coding practices and syntax guidelines learned from your edits. Edit rules, purge memories, search.
Vibe Profile Dynamic AI coding preferences analysis (tabs vs spaces, comment styling, framework tastes). Override style preferences, export profile.
Projects Directory of git repositories connected to Fivo Cell, with project-specific rules. Bind new directory, customize rules.
Pattern Search Searchable database of coding patterns and repeated templates matched from your codebase. Query patterns, delete matched templates.
Sessions List of active developer workspace sessions and historical timeline log. Terminate session, view logs.
Handoffs Logs of code context handoffs between different editor workspaces and tools. Compare workspaces, download bundle.
Connected AI List of connected IDE editors and CLI agents (Cursor, VS Code, Windsurf, Claude Desktop). Disconnect editor, trigger sync test.
Intelligence Deep model routing and performance stats showing model accuracy index on your custom tasks. View model matrix, fine-tune filters.
Profile User account, developer bio details, billing level, and personal tier configuration. Update profile, change tiers.
Connect Fivo Connect service state, active obfuscation filters, and HIPAA BAA status indicators. Configure PII filters, download BAA.
API Keys Workspace developer key management for authenticating gateway clients and external proxies. Generate ps_live_ keys, revoke active keys.

Sync & Telemetry Rules

Fivo Cell Cloud prioritizes local-first privacy. Your workstation's local SQLite database is the primary source of truth, and data is only synced to the cloud if explicitly authorized.

Telemetry & Sync Privacy Guard

Cell Cloud only syncs metadata, style parameters, and aggregated coding parameters. **Raw code blocks, secret keys, and prompt inputs never leave your local workspace.**

Controlling Telemetry States

Toggle sync behavior directly from your command line:

Sync CLI Commands
# Disable all cloud sync telemetry (forces 100% offline local-only SQLite mode)
cell cloud off

# Enable aggregate sync telemetry anytime
cell cloud on

# Force manual snapshot push to cloud companion
cell sync push

Cloud Scaling & Limits

  • Encryption: Snapshot transport payloads are encrypted in-transit via TLS 1.3 and stored with AES-256 encryption.
  • API Throttling: Free personal accounts are capped at a rate of 60 requests/minute.
  • Offline Buffer: If your network disconnects, local Cell buffers snapshot updates and syncs them automatically once connectivity is restored.

Fivo Connect: Self-Hosted Service

Fivo Connect operates completely inside your secure server or private cloud boundary as a zero-dependency self-hosted service to run a high-throughput proxy local port.

Connect automatically scans your prompt bodies for credit card numbers, passwords, API tokens, patient names (HIPAA PHI), and financial identifiers, replacing them in-flight with **structured placeholders** before payloads reach public LLMs.

Boot and Execution Command

Launch the service on your host environment:

# Grant execution permissions and run
chmod +x fivo-connect-linux
./fivo-connect-linux --config fivo-connect.config.json

βœ… FIVO Connect listening on http://localhost:9090
# Launch the service securely via PowerShell
.\fivo-connect-win.exe --config fivo-connect.config.json

βœ… FIVO Connect listening on http://localhost:9090

Masking REST API

Interact with the Fivo Connect service programmatically using high-performance HTTP REST endpoints. Obfuscate source code or text via `/api/enhance`, and revert generated LLM responses via `/api/reverse`.

import requests

# Step 1: Mask the sensitive prompt body
payload = {"prompt": "Our secret token is 'API_KEY_123' and database is db_prod"}
mask_res = requests.post("http://localhost:9090/api/enhance", json=payload).json()
print(mask_res["enhanced"]) 
# Output: "Our secret token is '[MASKED_CRED_01]' and database is [MASKED_DB_01]"

# Step 2: Send safe masked prompt to the LLM (represented here)
llm_reply = "We validated [MASKED_CRED_01] connection on database [MASKED_DB_01] successfully."

# Step 3: Revert placeholder values to retrieve real values locally
revert_res = requests.post("http://localhost:9090/api/reverse", json={"text": llm_reply}).json()
print(revert_res["reversed"])
# Output: "We validated 'API_KEY_123' connection on database db_prod successfully."
// Step 1: Obfuscate
const maskRes = await fetch('http://localhost:9090/api/enhance', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ prompt: "Secret key: 'ACC_987654321' belongs to John Doe" })
}).then(r => r.json());

console.log(maskRes.enhanced);
// Output: "Secret key: '[MASKED_KEY_01]' belongs to [MASKED_USER_01]"

// ... Send obfuscated output to LLM and receive answer ...
const llmResponse = "Authorized key [MASKED_KEY_01] for profile [MASKED_USER_01] in-flight.";

// Step 2: Restore real text
const realRes = await fetch('http://localhost:9090/api/reverse', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ text: llmResponse })
}).then(r => r.json());

console.log(realRes.reversed);
// Output: "Authorized key 'ACC_987654321' for profile John Doe in-flight."

Compliance Boundaries & Data Transit

Traditional data masking tools rely on external third-party cloud engines, forcing sensitive source code or customer data to leave your network. Fivo Connect establishes a clean, local protection boundary.

Because Fivo Connect executes **entirely within your self-hosted infrastructure** (VPC, local workstation, or private node), all raw prompt content, passwords, and patient names are intercepted and masked before any external call is initiated. This zero-retention transit layout ensures that raw payloads never reach public AI systems, preserving your existing compliance parameters.

Fivo Mind: Reasoning Architecture

Fivo Mind is the next-generation ground-up reasoning model built directly into the Fivo local-first ecosystem. Designed for deep multi-step verification and self-correction, Fivo Mind provides extreme accuracy on complex programming and mathematical tasks while adhering strictly to zero-leak security principles.

Internal Evaluation Only

Fivo Mind is currently in private development. All metrics and capabilities presented are based on **Internal Evaluations** conducted by the Fivo research team and have not been independently audited. **Public access is not available yet.**

Key Architecture Features

  • Reasoning-First Verification: Evaluates logic paths, plans structures, and runs self-checks before returning code or mathematical tokens.
  • Zero-Leak VPC Bounds: Inherits Fivo Connect's masking architecture, meaning prompts and intellectual property are parsed locally inside your infrastructure.
  • Deep Fivo Tool Integration: Plugs directly into Fivo Gateway for prompt caching and Fivo Cell for developer-vibe alignment.

Join the Waitlist

We are currently selecting team pilots for private alpha integrations. To join the waitlist and gain early access to custom deployments, contact us at hello@fivo.live.

Fivo Mind: Internal Evaluation Benchmarks

During our internal testing cycles, Fivo Mind models demonstrated exceptional accuracy indexes compared to public models, particularly under maximum thinking configurations.

Benchmark Metric Fivo Mind Fivo Mind Pro Fable 5 Opus 4.8 GPT-5.5 GLM 5.2
SWE-bench Verified 89.0% 93.0% 95.0% 88.6% 58.6% β€”
Terminal-Bench 2.1 84.0% 88.0% 88.0% 85.0% 84.0% 81.0%
FrontierSWE 73.0% 78.0% β€” 75.1% 72.6% 74.4%
LiveCodeBench 86.0% 91.0% β€” 88.8% β€” β€”
GPQA Diamond 90.0% 94.0% 94.5% 91.3% 92.8% β€”
MATH500 98.5% 99.2% β€” β€” β€” β€”
HumanEval 88.0% 94.0% β€” β€” β€” β€”
OSWorld / Verified 80.0% 86.0% 85.0% 83.4% 78.7% β€”
HLE (with tools) 59.0% 66.0% 64.5% 57.9% 52.2% 54.7%

Speed, Latency & Cost Index Comparison

Reasoning verification increases latency but delivers significantly higher solution accuracy. Fivo Mind Pro targets mid-tier reasoning pricing, offering high-performance coding outputs at a lower cost than competitor frontier models.

Model Class Avg Latency (ms) Avg Speed (tok/s) Cost Index (GLM=100) Performance Index
Fivo Mind 8,200ms 32 tok/s 115 68
Fivo Mind Pro 12,800ms 20 tok/s 210 96
GPT-5.5 3,900ms 78 tok/s 260 72
Opus 4.8 6,100ms 55 tok/s 300 85
Fable 5 7,900ms 34 tok/s 500 88

API Reference Definition

Fivo's endpoints follow strict REST API designs. Standard structures for payload exchanges are outlined below.

1. Gateway Route: `/v1/compat/openai/v1/chat/completions`

Acts as a drop-in proxy replacement for OpenAI Chat Completions requests (authenticate using header x-fivo-api-key with your workspace ps_live_ key).

Request Payload Schema
{
  "model": "deepseek-v4-pro | claude-opus-4.8 | gpt-5.5-ultra | gemini-3.5-flash",
  "messages": [
    {
      "role": "system",
      "content": "System prompt..."
    },
    {
      "role": "user",
      "content": "User inquiry prompt..."
    }
  ],
  "temperature": 0.7,
  "max_tokens": 1024
}

2. Fivo Connect: `/api/enhance`

Send text containing raw PHI/PII/sensitive code, receive masked placeholder text.

Request / Response Schema
// POST http://localhost:9090/api/enhance
{
  "prompt": "Sensitive data to mask..."
}

// Returns HTTP 200 OK
{
  "status": "success",
  "enhanced": "Masked data [MASKED_VAR_01] here...",
  "tokens_replaced": 1
}

3. Fivo Connect: `/api/reverse`

Send text containing placeholders, receive the original sensitive values restored locally.

Request / Response Schema
// POST http://localhost:9090/api/reverse
{
  "text": "Response with placeholders [MASKED_VAR_01] to restore..."
}

// Returns HTTP 200 OK
{
  "status": "success",
  "reversed": "Original sensitive response restored successfully...",
  "tokens_restored": 1
}

Troubleshooting A-Z

Encountering issues during deployment, client handshakes, or response parsing? Review our comprehensive troubleshooting matrix for Fivo Gateway, Cell, and Connect modules.

1. Fivo Gateway (Intelligent Routing Proxy)

Observed Issue Possible Root Cause Recommended Solution
401 Unauthorized or Invalid Key Missing or incorrect Fivo API token, or your downstream provider key is expired/invalid. Verify that your authorization header is formatted as Bearer fivo_live_.... Check that your downstream credentials (OpenAI/Anthropic) are active and provisioned inside your dashboard.
504 Gateway Timeout during heavy loads Primary fallback models are congested or experiencing localized network outages. Fivo automatically races connections to identify active paths. If timeouts persist, check your local infrastructure firewalls to confirm that outbound traffic to api.fivo.live is allowed.
Intelligent Cache Misses on identical lookups The query contains highly dynamic context parameters (like moving timestamps, UUIDs, or shifting tokens). Exclude volatile identifiers (such as date values or session keys) from your core prompt block, passing them instead as custom tags in structured API metadata to optimize cache hitting.

2. Fivo Cell (Local developer CLI daemon)

Observed Issue Possible Root Cause Recommended Solution
cell: command not found after global installation Your global npm executable binaries directory is missing from your system's environment variables PATH. Run npm prefix -g in your shell to find the global npm root directory. Add the bin folder location to your operating system's environment PATH array.
IDE extension link failed or sync timing out The Fivo Cell daemon is offline, or your editor workspace has locked folder handles. Run cell daemon start in your shell. Verify the listener port status using cell status, and restart your active VS Code/Cursor window to force extension linking.
MCP servers missing in Claude Desktop workspace The configuration array in claude_desktop_config.json is missing, or contains malformed syntax. Open your ~/.claude/claude_desktop_config.json in an editor. Validate the structure with a JSON parser to verify that no commas or curly brackets are misplaced.

3. Fivo Connect (Self-Hosted Data Masking)

Observed Issue Possible Root Cause Recommended Solution
Permission Denied (Execution Error) Insufficient execute permissions set on the local system service files. Open a terminal on your hosting server and run chmod +x ./fivo-connect-linux (or -macos) to grant execution flags before launching.
Tokens not restored in response body Casing was altered, or downstream markdown formatting modified the structured brackets (e.g. [MASKED_VAR_01]). Ensure that LLM response strings are passed raw into the /api/reverse payload. Connect requires exact, unaltered bracket strings to reverse values successfully.
Service Crash under concurrent traffic spikes Your hosting OS ran out of open file descriptor allocation pools. Increase the system open files ceiling by running ulimit -n 65536 in your active terminal session before starting the Fivo Connect service daemon.

Frequently Asked Questions

Quick answers to the most common questions about Fivo.

How do I install Fivo Gateway?

Change your OpenAI base URL to https://gateway.fivo.live and add your API key. Most customers integrate in under 10 minutes. Full SDK examples at /docs.html.

How do I install Fivo Connect?

Download the Fivo Connect binary for your platform, configure your LLM provider base URL, and run fivo-connect start. Self-hosted, no dependencies.

How do I install Fivo Cell?

Run: npm i -g fivocell, then cell run, then cell watch start to enable Fivo Cell Cloud sync. Works on Linux, macOS, and Windows.

Do you have SDK examples?

Yes. JavaScript, TypeScript, Python, Go, and Rust examples at /docs.html. Plus LangChain, LlamaIndex, and Vercel AI SDK integrations.

Is there a self-hosted option?

Yes. Fivo Cell is fully open source. Fivo Gateway and Fivo Connect have self-hostable components. The managed cloud is a paid tier with zero ops.

How do I get support?

Free tier: GitHub Issues and Discord. Pro and Team tiers: email support with 24-hour response. Enterprise: dedicated Slack channel and named support engineer.