Agent setup

Use Dench with your AI agent

Connect Codex, Claude Code, Cursor, or any terminal-based agent to shared memory, CRM tasks, approvals, and approved external tools.

connect agent
npx -y -p @dench.com/cli dench signin --kind codex --name "Codex - project"
Human approves the one-click sign-in link.
Agent loads workspace instructions.
Dench tracks memory, CRM work, and approvals.

Quickstarts

Pick the agent you are using, then run the command from the project terminal.

Agent discovery map

Codex

npx -y -p @dench.com/cli dench signin --kind codex --name "Codex - project"

Best for repo work, code review, implementation tasks, and persistent project memory.

Claude Code

npx -y -p @dench.com/cli dench signin --kind claude_code --name "Claude Code - project"

Best when Claude Code should coordinate CRM tasks, approvals, and reusable workspace rules.

Cursor

npx -y -p @dench.com/cli dench signin --kind cursor --name "Cursor Agent - project"

Run from the project terminal, then load Dench instructions into the active agent context.

Generic

npx -y -p @dench.com/cli dench signin --kind other --name "Agent - project"

Works for any terminal-based agent that can run commands and read markdown instructions.

What agents can do

Dench gives agents a shared operating layer: memory, structured work, approval gates, and tool access that follows workspace policy.

Remember project context

Save durable decisions, preferences, and operating rules that future agents can search.

Use CRM tasks

List objects, create task entries, update fields, and coordinate follow-up work.

Request approvals

Ask a human before risky actions and keep evidence attached to the decision.

Connect external tools

Use Dench-brokered tool connections for services like GitHub, Gmail, Stripe, and Linear.

Safety and approvals

  • Start with read-only orientation commands.
  • Do not change production data without approval.
  • Do not send external email without approval.
  • Do not spend money, deploy, or merge without approval.
  • Let Dench gate non-read-only external tool actions.