Use cases

# Your agent problem. *One page, one fix.*

Each page starts with a problem in your words. Then the fix, the proof and the product that does it.

[Get started free](https://console.context-mode.com/login) [See solutions](https://context-mode.com/solutions)

Pick a job

Save Remember Control Insight

- [Analyze large files “My agent opened a 7 MB JSON and the window filled before it found the answer.”](https://context-mode.com/use-cases/analyze-large-files)
- [Failing test output “My agent runs 600 tests, 1 fails, and I pay for all 600 lines on every later call.”](https://context-mode.com/use-cases/failing-test-output)
- [Keep the prompt cache warm “I trimmed tokens and my bill went up. Why?”](https://context-mode.com/use-cases/prompt-cache)

- [All-day session “At hour six my agent compacts and loses the details from hour one.”](https://context-mode.com/use-cases/all-day-session)
- [Onboard a new engineer “A new engineer's agent knows nothing about our deploy target, our tools or our rules.”](https://context-mode.com/use-cases/onboard-new-engineer)
- [Resume on another machine “I started on my laptop. Now I am at my desktop and the agent knows nothing.”](https://context-mode.com/use-cases/resume-on-another-machine)
- [Search past sessions “We fixed this bug last week. Which session, which command, what output?”](https://context-mode.com/use-cases/search-past-sessions)
- [Share skills “Our best agent skills live on one laptop.”](https://context-mode.com/use-cases/share-skills)

- [Agent rules “I paste the same rules into every session.”](https://context-mode.com/use-cases/agent-rules)
- [Block destructive commands “One wrong rm -rf or terraform destroy from my agent, and a day is gone.”](https://context-mode.com/use-cases/block-destructive-commands)
- [Block .env and secrets “I am afraid my agent will cat .env and send my keys to the model.”](https://context-mode.com/use-cases/block-env-secrets)
- [Control agent network access “My agent fetched a paste site with our code in the URL.”](https://context-mode.com/use-cases/control-agent-network)
- [Protect main “My agent pushed straight to main.”](https://context-mode.com/use-cases/protect-main-branch)
- [One team policy “Every engineer set their own agent permissions. Nobody knows what is allowed.”](https://context-mode.com/use-cases/team-agent-policy)

- [Track agent spend “I see one big model bill and no idea where it went.”](https://context-mode.com/use-cases/agent-spend-tracking)

Save

## Spend less *on what the model reads.*

**[Analyze large files](https://context-mode.com/use-cases/analyze-large-files)**

“My agent opened a 7 MB JSON and the window filled before it found the answer.”

**[Failing test output](https://context-mode.com/use-cases/failing-test-output)**

“My agent runs 600 tests, 1 fails, and I pay for all 600 lines on every later call.”

**[Keep the prompt cache warm](https://context-mode.com/use-cases/prompt-cache)**

“I trimmed tokens and my bill went up. Why?”

Remember

## Keep what *your agent learned.*

**[All-day session](https://context-mode.com/use-cases/all-day-session)**

“At hour six my agent compacts and loses the details from hour one.”

**[Onboard a new engineer](https://context-mode.com/use-cases/onboard-new-engineer)**

“A new engineer's agent knows nothing about our deploy target, our tools or our rules.”

**[Resume on another machine](https://context-mode.com/use-cases/resume-on-another-machine)**

“I started on my laptop. Now I am at my desktop and the agent knows nothing.”

**[Search past sessions](https://context-mode.com/use-cases/search-past-sessions)**

“We fixed this bug last week. Which session, which command, what output?”

**[Share skills](https://context-mode.com/use-cases/share-skills)**

“Our best agent skills live on one laptop.”

Control

## Decide what *your agent may run.*

**[Agent rules](https://context-mode.com/use-cases/agent-rules)**

“I paste the same rules into every session.”

**[Block destructive commands](https://context-mode.com/use-cases/block-destructive-commands)**

“One wrong rm -rf or terraform destroy from my agent, and a day is gone.”

**[Block .env and secrets](https://context-mode.com/use-cases/block-env-secrets)**

“I am afraid my agent will cat .env and send my keys to the model.”

**[Control agent network access](https://context-mode.com/use-cases/control-agent-network)**

“My agent fetched a paste site with our code in the URL.”

**[Protect main](https://context-mode.com/use-cases/protect-main-branch)**

“My agent pushed straight to main.”

**[One team policy](https://context-mode.com/use-cases/team-agent-policy)**

“Every engineer set their own agent permissions. Nobody knows what is allowed.”

Insight

## See where *the spend goes.*

**[Track agent spend](https://context-mode.com/use-cases/agent-spend-tracking)**

“I see one big model bill and no idea where it went.”

## Fix one problem. *Start free today.*

*npx @context-mode/cli* connects your agents. 1,000 requests free, no card.

[Get started free →](https://console.context-mode.com/login) [Read the quick start →](https://context-mode.com/docs/quick-start)
