Skip to content
 
 

Repository files navigation

Offside.AI logo

offsidepi

An agent harness for accomplishing extraordinary tasks — agnostic of the underlying model.

Built with care by Offside.AI · github.com/offsideAI

offsidepi Agent Harness

offsidepi is Offside.AI's agent harness, built with its own taste, vision, and care.

The goal: a harness that can accomplish extraordinary tasks regardless of which LLM powers it. Bring Anthropic, OpenAI, Google, or any other provider — the harness stays the same.

offsidepi is part of the Offside.AI open-source stack for agentic AI and enterprise workflow orchestration, alongside Offside.AI's agent orchestration, Spatial AI/ML Ops, and production execution platforms.

You can also ask the agent itself — offsidepi can explain and extend its own features.

All Packages

Package Description
@offsideai/offsidepi-ai Unified multi-provider LLM API (OpenAI, Anthropic, Google, etc.)
@offsideai/offsidepi-agent-core Agent runtime with tool calling and state management
@offsideai/offsidepi-coding-agent Interactive coding agent CLI
@offsideai/offsidepi-tui Terminal UI library with differential rendering

Permissions & Containerization

offsidepi does not include a built-in permission system for restricting filesystem, process, network, or credential access. By default, it runs with the permissions of the user and process that launched it.

If you need stronger boundaries, containerize or sandbox offsidepi. See offsidepi-src/packages/coding-agent/docs/containerization.md for three patterns:

  • Gondolin extension: keep offsidepi and provider auth on the host while routing built-in tools and ! commands into a local Linux micro-VM.
  • Plain Docker: run the whole offsidepi process in a local container for simple isolation.
  • OpenShell: run the whole offsidepi process in a policy-controlled sandbox.

Contributing

See CONTRIBUTING.md for contribution guidelines and AGENTS.md for project-specific rules (for both humans and agents).

Development

npm install --ignore-scripts  # Install all dependencies without running lifecycle scripts
npm run build        # Build all packages
npm run check        # Lint, format, and type check
./offsidepi-src/test.sh            # Run tests (skips LLM-dependent tests without API keys)
./offsidepi-src/offsidepi-test.sh  # Run offsidepi from sources (can be run from any directory)

Supply-chain hardening

We treat npm dependency changes as reviewed code changes.

  • Direct external dependencies are pinned to exact versions. Internal workspace packages remain version-ranged.
  • .npmrc sets save-exact=true and min-release-age=2 to avoid same-day dependency releases during npm resolution.
  • package-lock.json is the dependency ground truth. Pre-commit blocks accidental lockfile commits unless PI_ALLOW_LOCKFILE_CHANGE=1 is set.
  • npm run check verifies pinned direct deps, native TypeScript import compatibility, and the generated coding-agent shrinkwrap.
  • The published CLI package includes offsidepi-src/packages/coding-agent/npm-shrinkwrap.json, generated from the root lockfile, to pin transitive deps for npm users.
  • Release smoke tests use npm run release:local to build, pack, and create isolated npm and Bun installs outside the repo before tagging a release.
  • Local release installs, documented npm installs, and offsidepi update --self use --ignore-scripts where supported.
  • CI installs with npm ci --ignore-scripts, and a scheduled GitHub workflow runs npm audit --omit=dev plus npm audit signatures --omit=dev.
  • Shrinkwrap generation has an explicit allowlist for dependency lifecycle scripts; new lifecycle-script deps fail checks until reviewed.

About Offside.AI

Offside.AI is an agentic AI company for enterprise workflow orchestration — building systems that automate business workflows, connect tools and data, and move teams from AI experiments to measurable execution. offsidepi is Offside.AI's model-agnostic agent harness and is proudly open source, like the rest of the Offside.AI stack.

License

MIT — see LICENSE.

Offside.AI
offside.ai

About

AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages