AI agents

Connect Pyxida to your agent

Use the pyxida CLI or MCP with Claude Code, Copilot CLI, Codex, Cursor, Claude or VS Code. They share Ask Pyxida's tool catalog and standing instructions. Reads work by default. Writes need Allow changes and an active trial, key or license.

Install without opening a window: macOS/Linux curl -fsSL https://pyxida.dev/install | sh or Windows PowerShell irm https://pyxida.dev/install.ps1 | iex. Downloads are checked against release SHA-256 checksums; missing checksums stop installation. After setup, try pyxida today.

CLI setup

  1. Install Pyxida from a terminal. pyxida setup creates or reuses a workspace without opening the app.
  2. The installer connects detected agent clients. Or use pyxida setup --agents claude,copilot,cursor,vscode to select them. pyxida setup --no-agents skips connections.
  3. macOS/Linux: ~/.local/bin/pyxida. Windows: %LOCALAPPDATA%\Pyxida\bin. Restart your terminal.
  4. Run pyxida --json status, then pyxida help agents.
  5. Copy Agent instructions for any repository into your agent instructions file. Add workspace-specific rules in Pyxida/Agent/*.md or selected notes and folders.
  6. For writes, explicitly use pyxida setup --allow-changes. Reads work with it off. pyxida setup --status checks connections; pyxida setup --undo disconnects without deleting files.

Optional background startup: pyxida background on. The tray menu can open the window, sync now and quit. pyxida background off removes login startup; pyxida open brings up the window.

Platforms

Read first

pyxida today
pyxida --json agenda --day tomorrow
pyxida --json tasks list --today --area work
pyxida --json history list Notes/Meeting.md

Write and undo

pyxida task add "Call Ana" --day tomorrow --repeat weekly --remind 10m
pyxida task move TASK_ID --position bottom
pyxida task move TASK_ID --position nest --relative-to PARENT_ID
pyxida areas add Studio --slug studio --color '#226699'
pyxida --approve areas delete studio --move-to work
pyxida event add "Tuesday 3pm dentist"
printf 'Follow-up context\n' | pyxida note append Notes/Meeting.md -

Areas sync with your workspace. Use areas list|add|rename|delete|move to customize them; deleting one moves its tasks to another area. Task move positions before, after and nest can change the parent. Subtasks inherit their parent's area. Read current task IDs first. MCP agents use move_task with id, position and relative_to. Writes still require Allow changes.

--json prints {"now": {...}, "result": ...}. Exit 3 means writes are off. Exit 4 means not found.

Use --workspace PATH for another workspace. The CLI works even when the desktop app is closed.

Commands cover agenda, tasks with descriptions, events, notes, project-linked notes, money entries, budgets, categories, goals, holdings, meeting notes, history, weather and capture. NO_COLOR disables colors.

pyxida --json tool list shows all tools and schemas. English and Greek date phrases work.

Ordinary changes apply directly and return an Undo id. Use pyxida tool undo_last_change or pyxida tool undo_change --args '{"id":"CHANGE_ID"}' before a later edit changes the same file. Use --approve only after the user confirms a deletion, archive, history replacement or batch. MCP uses approved: true after confirmation.

For meetings, find a slot with find_free_time, create an event with a Join link, create a meeting note from its id, then turn its Action items into linked tasks with bulk approval. Other tools cover sketches, money CSV, attachments, Sync status and conflicts, settings, calendar feeds and backups. Provider keys, passphrases and Vault stay in user-only controls.

Google uses only its approved calendar.events permission. It can read and edit the primary calendar, add guests and request a Meet link; it does not discover secondary calendars because that would need another permission. Apple Calendar events use your Mac's own permission; inviting guests through EventKit is not supported.

Uninstall: click Uninstall command line tool in Settings.

The browser demo changes nothing on your computer.

Agent instructions

Copy this into AGENTS.md or your agent instructions file.

## Pyxida

For the user's schedule, tasks, notes, spending or learning,
use the installed `pyxida` CLI.
Start with `pyxida --json today`; use the returned `now` for relative dates.
Run `pyxida help agents` for the command guide and JSON shapes.
Get current ids before updates. Prefer `note append PATH -` with stdin for additions.
Writes require Settings > AI agents > Allow changes and an active trial or license.
Ordinary writes apply with Undo. Ask the user before destructive or bulk changes,
then pass `--approve`. Use `recent_agent_changes` for Undo ids.
On exit 3, explain that setting; on exit 4, refresh ids. Vault is inaccessible.
Report only changes confirmed by a successful command result.

Review agent edits

Ask Pyxida shows a short summary and Open note after editing a note. In the actual editor, review highlighted additions and removals, then Keep, Undo or dismiss. Edits from MCP and CLI are marked the next time the note opens. Settings > Recent agent changes also shows task and project edits. Review records stay on this device; the changed workspace files still sync.

Standing instructions

Open Settings > Ask Pyxida > Instructions for the assistant. Create Markdown files in Pyxida/Agent/ or choose existing workspace notes and folders. Edit files in Pyxida or your own editor, and toggle each file on or off.

Instructions and the extra/disabled lists in Pyxida/Agent/agent.json sync to your phone. Files load in path order, up to 16 KB each and 32 KB total, with a warning when truncated. Vault and hidden folders are excluded. Destructive and bulk changes still need approval.

Ask Pyxida reads instructions each turn. MCP includes them at initialization and exposes get_instructions to re-read them. CLI agents can run pyxida instructions or pyxida --json instructions at session start.

Privacy

Pyxida CLI and MCP send nothing to us. Your agent provider may receive what the agent reads. Vault is inaccessible. History restore keeps a recovery copy.