supertag-cli icon indicating copy to clipboard operation
supertag-cli copied to clipboard

[FEATURE] Tana API

Open harjot1singh opened this issue 5 months ago • 1 comments

Problem Statement

I want to connect to Tana with agents that run non-locally.

E.g. A Claude Code remote environment cannot see into Tana. Limits my usage to wherever Tana is able to run.

Proposed Solution

A way of standing this up in 2 parts:

  • A "self-hosted" API that can run on a VPS or something like that. Uses the Input API to write (maybe even with the requester's key/credentials). The supertag API can just be setup for RPC.
  • CLI that can operate in remote-mode, making it friendly for agents

Alternatives Considered

  • Not using Tana
  • Standing up a custom API on a VPS that does exactly this (input for writes, forwards local Tana API for reads)
# Example of how the feature might work
supertag new-command --flag value

Additional Context

Add any other context, screenshots, or examples about the feature request here.

Are you willing to contribute?

  • [ ] I'd be willing to submit a PR for this feature
  • [ ] I'd be willing to help test this feature
  • [ ] I'm just suggesting, no capacity to contribute right now

harjot1singh avatar Jul 01 '26 10:07 harjot1singh

For what it's worth — I built a standalone companion tool that might be useful reference (or a starting point) for this: tanastream, a durable single-writer write queue for Tana's Local API. It's write-only (doesn't overlap with supertag-cli's indexing/search side) — a SQLite outbox with crash durability, idempotent retries via a visible marker child, and pacing to avoid stalling other readers on the same API. Direct HTTP//mcp, no dependency on supertag-cli itself. Happy to answer questions if it's useful, or feel free to ignore if it's off-target for what this issue is asking for.

ryan-baum avatar Aug 02 '26 15:08 ryan-baum