AgenticTime
Runtime and Install Sync
How AgenticTime installation, runtime detection, and file resolution work together.
How AgenticTime installation, runtime detection, and file resolution work together.
Install Flow
The installer (scripts/install.sh) performs these steps:
- Detect platform (OS + architecture)
- Validate install profile (desktop/terminal/server)
- Download release binary or build from source
- Install MCP launcher entrypoint
- Merge MCP config into detected clients (desktop/terminal profiles only)
- Print completion summary with verification steps
MCP Launcher Entrypoint
The installer creates a launcher script at ~/.local/bin/agentic-time-mcp-agentra that:
- Resolves the project root (git root, env var, or cwd)
- Locates the
.atimefile using the resolution chain - Passes the resolved file path to the actual
agentic-time-mcpbinary - Enforces auth token in server mode
File Resolution Chain
The .atime file is resolved in order:
ATIME_FILEenv varAGENTRA_ATIME_PATHenv var<repo_root>/.agentra/<slug>.atime<repo_root>/.timeline.atime$PWD/.timeline.atime$PWD/timeline.atime$HOME/.timeline.atime$HOME/.agentra/time/default.atime
If no file is found, a new one is created at option 3.
Profile Behavior
| Profile | Binary | MCP Config | Auth Gate |
|---|---|---|---|
| desktop | ~/.local/bin/ | Auto-merged | None |
| terminal | ~/.local/bin/ | Auto-merged | None |
| server | ~/.local/bin/ | Untouched | Required |
Runtime Modes
- Desktop: Full MCP server with auto-session lifecycle
- Terminal: CLI-focused, no auto-session
- Server: Token-gated, no desktop config changes
- Minimal: Core tools only, no auto features
Sync Guarantees
- Install is idempotent: re-running updates the binary without breaking config
- MCP config merge is additive: existing servers are never removed
- File resolution is deterministic: same project always resolves to the same
.atime - Project isolation: same-name folders in different paths get different
.atimefiles