A workspace, with agency.

Good work starts
with a conversation.

A coding agent that works where you do. Explore a codebase, make changes, and review the work—with the model and permissions you choose.

Open sourceLocal-firstModel-flexible
01 / Inside your terminalYour code. Your models. Your decisions.
Interactive preview
agent — my-project
›How does authentication work in this repo?
ThinkingTracing the credential flow before suggesting changes.
glob src/auth/**/*.ts
read src/auth/session.ts
grep refreshToken src/

The auth layer resolves environment credentials first, then the local store. Refresh happens before an expired token reaches a provider.

›
Plancodex/gpt-6.1-sol

An example session. Real files, tools, and results depend on your project.

One agent. Your whole workflow.Explore & editControl accessResume & branchDelegate & review

From a question
to a working change.

Keep the feedback loop close. Read the reasoning your model supplies, inspect tool output, and decide what happens next.

Give it room.
Keep the controls.

Start in Ask, allow workspace edits with Auto-edit, or explore in read-only Plan mode. Permissions are checked when a tool runs, including calls from workers.

readAllowed
editAsk first
bashAsk first
Understand permissions

Pick up where you left off.

Sessions save continuously. Resume a conversation, fork a different approach, or inspect the complete transcript.

Explore sessions

More context. Less juggling.

Give an explorer, coder, or reviewer a bounded task. Follow its progress and bring the report back into your conversation.

Meet the workers

A different model.
The same workspace.

Connect API providers or use an existing CLI login. Switch models between turns without starting the conversation over.

OpenAI, in your terminal.

Use an OpenAI API key. The provider adapter normalizes streamed responses into the shared event format.

OPENAI_API_KEY
agent --model openai/your-model
Replace your-model with a model available to your account. Use /model to browse.

Your tools connect, too. Add local or remote MCP servers, reusable skills, lifecycle hooks, and your own TypeScript extensions.

Explore connections

Make yourself
at home.

Build from source, connect a provider, and open your project. The agent runs locally; model requests go to the provider you select.

  • Node.js 24 or newer
  • pnpm 11.25.0 and Git
  • A provider key or supported CLI sign-in
Full installation guide
Install from source
# Clone, build, and install the command
git clone https://github.com/lakshyakumar90/cli-agent.git
cd cli-agent
pnpm install
pnpm --filter @cli-agent/cli build
cd packages/cli
npm pack
npm install -g ./cli-agent-cli-0.1.0.tgz
agent

Windows, macOS, and Linux. Bun is optional for a standalone binary.

Nothing behind the curtain.

Learn how the providers, agent loop, permissions, and terminal fit together. Follow the diagrams. Find the file. Make it yours.

Read the build guide

A few good questions.

Does Agent come with a model subscription?

No. Agent is the local client. Provider access, quotas, and costs belong to the account you connect. Free model availability can change.

Can I use my existing Codex or OpenCode sign-in?

Yes. The Codex adapter can import an existing CLI credential when an agent credential is missing. The OpenCode bridge uses your locally installed OpenCode CLI and its connections.

Does my code stay on my machine?

Tools run locally, but the conversation and relevant code context are sent to the selected model provider. Connected MCP services may also receive tool arguments. Review each provider’s policies.

Is Full access a sandbox?

No. Permission modes are application policy. Full access permits tool calls subject to explicit deny rules and operating-system restrictions. Use a separate environment when you need isolation.