Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/agentvault/session_endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ var (
// Under the 30 seconds agent-vault run waits for skills, so its own message about the wait wins. The wait for a
// free slot, and passing the answer on, count against it too.
sessionForwardTimeout = 25 * time.Second
// Infisical caps one skill at 1 MB, and a bundle holds at most 25.
// Infisical caps one skill at 1 MB, and a session gets at most 25 through its access bundle and 20 it names, while
// the skills sent with it share one 2 MB request.
sessionForwardMaxBytes int64 = 64 << 20
)

Expand Down
3 changes: 2 additions & 1 deletion packages/api/agent_vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,8 @@ type ListAgentVaultSessionSkillsResponse struct {
Skills []AgentVaultSessionSkill `json:"skills"`
}

// Infisical caps one skill at 1 MB, but not how many a session can reach.
// Infisical caps one skill at 1 MB, and a session at 25 skills through its access bundle and 20 it names, while the
// skills sent with it share one 2 MB request.
const agentVaultSessionSkillsResponseLimit = 64 << 20

// CallListAgentVaultSessionSkills asks Infisical for the session's skills. includeBuiltin=false leaves out the built-in
Expand Down
4 changes: 2 additions & 2 deletions packages/cmd/agent_vault_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ The proxy says which Infisical it works with, and the agent gets that Infisical'
Through the proxy, the agent lists the services its session reaches at
$INFISICAL_AGENT_VAULT_URL/api/v1/agent-vault/session/services, with no credential of its own.

The skills in the session's access bundle, plus infisical-agent-vault, which tells the agent how to work behind
the proxy, are fetched through the proxy and installed when the agent starts, into
The session's skills (its access bundle's, the ones it names and the ones sent with it), plus infisical-agent-vault,
which tells the agent how to work behind the proxy, are fetched through the proxy and installed when the agent starts, into
~/.agents/skills, where Codex, OpenCode and OpenClaw find them. A proxy too old to pass skills on is skipped and
Infisical asked directly. Pass --no-agent-vault-skill to leave out infisical-agent-vault. If ~/.claude (or $CLAUDE_CONFIG_DIR) or
~/.hermes (or $HERMES_HOME) exists, each skill is also linked into its skills folder for Claude Code or
Expand Down
Loading