Retrieved article excerpt
Open article · Retrieved 2026-11-13T19:21:57.322908+00:00
[Port of Contextpctxpctx · port of context](https://portofcontext.com/)
[Pricing](https://portofcontext.com/pricing)[Sign in](https://pctx.ai/login)
# Your context refinery built on MCP
The Context Layer Platform for regulated firms. Curate your firm’s context, deploy reliable agents, and do more with fewer tokens.
Paste into your favorite coding agent
- Claude Code
- Codex
- Cursor
- GitHub Copilot
`›Set up pctx.ai/onboard.md`
or book a demo
Your agent
emails14.2M
text messages8.6M
contacts482K
calendar events198K
meeting notes91,442
slack threads62,418
pdf attachments44,210
chat messages24,608
spreadsheets18,402
memos12,684
presentations9,408
handwritten notes8,420
contracts8,408
voicemails7,612
agreements5,712
recorded calls4,318
voice notes3,210
scanned signatures3,180
fax confirmations3,180
board minutes2,140
post-it photos2,108
model spreadsheets1,820
IC memos1,820
yellow legal pad scans1,612
whiteboard photos1,420
SEC filings1,408
expert call transcripts914
compliance attestations812
deal binders612
LP letters612
typewritten memos488
diligence files418
carbon-copy correspondence412
subscription agreements312
quarterly LP reports284
term sheets281
custodial backups210
pitchbooks196
side letters184
cap tables148
closing checklists142
paper deal binders96
microfiched press clippings92
predecessor-firm archives84
founder voicemails62
offsite tape recordings48
dictation cassettes30
napkin sketches18
emails14.2M
text messages8.6M
contacts482K
calendar events198K
meeting notes91,442
slack threads62,418
pdf attachments44,210
chat messages24,608
spreadsheets18,402
memos12,684
presentations9,408
handwritten notes8,420
contracts8,408
voicemails7,612
agreements5,712
recorded calls4,318
voice notes3,210
scanned signatures3,180
fax confirmations3,180
board minutes2,140
post-it photos2,108
model spreadsheets1,820
IC memos1,820
yellow legal pad scans1,612
whiteboard photos1,420
SEC filings1,408
expert call transcripts914
compliance attestations812
deal binders612
LP letters612
typewritten memos488
diligence files418
carbon-copy correspondence412
subscription agreements312
quarterly LP reports284
term sheets281
custodial backups210
pitchbooks196
side letters184
cap tables148
closing checklists142
paper deal binders96
microfiched press clippings92
predecessor-firm archives84
founder voicemails62
offsite tape recordings48
dictation cassettes30
napkin sketches18
Featured in
- [The New Stack](https://thenewstack.io/port-of-context-the-open-source-code-mode/)
- [The Drawdown](https://the-drawdown.com/article/port-of-context-launches-ai-context-platform)
- [The Linux Foundation](https://aaif.io/blog/how-port-of-context-eliminated-production-agent-failures/)
Live at
- Block
- goose
- Ontos
- Magic Hour
- Postalytics
- ScribePT
- Northern Nights Music Festival
- Block
- goose
- Ontos
- Magic Hour
- Postalytics
- ScribePT
- Northern Nights Music Festival
## Put stress-tested agents on top of the tools you already use.
The context layer connects the systems your firm already runs, and agents work inside them alongside your team.
ExcelOutlookSharePointTeamsSlack
BloombergSalesforceBoxDropbox
GmailDocuSignZoom
NotionSnowflake
Port of Context
Agents run on the model you choose
ClaudeChatGPTGeminiLlamaMistral
Code mode
## Agents on the context layer use a third of the tokens.
In the Agentic AI Foundation’s case study, each run went from 93.6k input tokens to 31.8k, at half the cost.
> “Code Mode doesn’t change what the agent does. It changes where the data lives during the run, and that single shift is what closes the cost and reliability gap.”
Agentic AI Foundation[Read the case study →](https://aaif.io/blog/how-port-of-context-eliminated-production-agent-failures/)
Observability
## Every run is traced, and agents speak up when something drifts.
The context layer records each tool call, retrieval, and reasoning step as it happens, with the reason behind it and what it cost. Replay any run, compare runs side by side, and trace every output back to the data it came from. It is all built on our open agent-observability spec, the [Agent Voyager Project (AVP)](https://agentvoyagerproject.com).
pctx
claude
1
gmail-mcp
arcade-gmail
filter
slack-mcp
done
pctx
pctx botvia avpre: gmail-mcplive
✦✦✦✦✦
observing·inbox triage·08:14:11 → live
observability powered by[avp |\ |\_\ |\_\_\ |\_\_\_\ |\_\_\_\_\ |\_\_\_\_\_\\\_\_\_\_\_\_\_\_\_\_\_\_\_\_/ \\_\_\_\_\_\_\_\_\_\_\_\_/](https://agentvoyagerproject.com)
Self-hosted
## The context layer deploys wherever your data already lives.
Run it in your own cloud account, in your data center, or on an air-gapped network.
- Bring your own models and keys
- You control what leaves your environment
- Open source and MIT-licensed
deploy target
Your cloudOn-premAir-gapped
$ pctx deploy --self-host
✓ running · your-vpc · us-east-1
your keys · your models · your data
Case study
How private equity firms made millions of CRM records and decades of data usable by agents.
Portfolio monitoring · Network intelligence
100+
portfolio evaluations with no hallucinated answers
<60 sec
to return a relationship brief for a target
$0.03
model input cost per complete portfolio update
[Read the case study](https://portofcontext.com/case-studies/private-equity-data-agents)[PCTX for Private Equity](https://portofcontext.com/private-equity)
Model-agnostic
## When a model fails, your agent keeps going.
The context layer holds your firm’s context independently of any model, so the same agent runs on Claude, GPT, Gemini, or open weights, switching between them automatically if one slows or goes down. You choose which models it runs on and can change them at any time.
pctx supervisor
rerouting…
openai
anthropic
gemini
live
uptime
## Map Port of Context to your environment.
We'll look at your infrastructure, models, and compliance constraints, then tell you honestly whether Port of Context fits. A real engineer follows up fast.
## FAQs
What is a context layer platform?
A context layer platform gives AI agents a working model of the firm they operate in. It connects the firm’s data and documents, the definitions and relationships that give them meaning, the tools an agent may call, and the rules for who can reach what, and it records what every agent run did and which sources it drew on. Port of Context is a context layer platform for regulated industries. It runs in your cloud, on-prem, or air-gapped, and works with any model.
How is a context layer different from a semantic layer?
A semantic layer defines business terms and metrics over a firm’s data so that every report computes them the same way. A context layer keeps those definitions and adds how the firm’s people, systems, documents, and decisions relate to one another, along with a running record of what each agent did and the sources it used. An AI agent needs that fuller picture before it can act on the firm’s data.
What is a self-hosted AI agent platform?
A self-hosted AI agent platform lets you deploy and run AI agents inside your own infrastructure instead of a vendor’s cloud. Port of Context runs in your cloud, on-prem, or air-gapped environment, so your data and your agents’ tool calls stay in your environment, and you control what leaves.
Is Port of Context model-agnostic?
Yes. The same agent runs on Claude, GPT, Gemini, or open-weight models, and you can switch between them without a rewrite. The model layer is abstracted, so a provider change, outage, or price move never forces you to rebuild your agents.
Can I run agents on-prem or air-gapped?
Yes. Port of Context is built to run entirely inside your own infrastructure, including on-prem and fully air-gapped networks. With local or open-weight models, an agent can run end to end with no external network calls. Nothing leaves the environment. This is why teams in finance, insurance, legal, healthcare, and government deploy it on their own hardware, where sensitive data stays in their environment and you control what leaves.
How is an agent’s tool access contained?
Every tool call runs in an isolated environment by default, rather than reaching directly into your systems. Nothing touches your data or services unless you allow it, which contains the agent and removes a common path for data leaks.
What does the platform observe about each run?
Every tool call, retrieval, and reasoning step is captured live. You can replay any session, compare runs side by side, and trace each output back to the source it came from, along with what the run did, why, and what it cost. Observability is built on AVP, our open agent-observability spec.
What is code mode?
Code mode is how Port of Context runs an agent’s tool calls: as code, with the heavy data handled outside the model’s context. The result is faster, cheaper runs that stay reliable even when an agent uses many tools.
How is this different from n8n, Lindy, or Zapier Agents?
Those tools run agents or workflows in a hosted environment you don’t control. Port of Context is self-hostable, model-agnostic, and isolated by default, with full observability of every run. It is built for teams that need agents in production on their own infrastructure, not for vendor-hosted automation.
Do I have to build my own infrastructure?
No. Operators describe an agent and deploy it without standing up a stack. Engineers can still open every layer when they want to: model choice, tool whitelists, isolation policy, and the eval harness. Same platform, progressive disclosure.
Is Port of Context open source?
Yes. The core is open source under the MIT license, so you can read it, run it, and self-host it without a commercial agreement. Engineers can inspect every layer, from model choice to isolation policy to the eval harness.
Does Port of Context work with MCP servers?
Yes. Any existing MCP server works unchanged. Port of Context aggregates your MCP servers behind one endpoint and exposes their tools to the agent as code, and your auth secrets never reach the model.
Does my data get sent to the model provider?
Only when you allow it. Port of Context runs inside your boundary and is not in your data path. An agent that calls a hosted model sends that request to the provider, and you control which calls are allowed, to which providers, and for which data. Run local or open-weight models air-gapped and nothing leaves your network.